OLD | NEW |
1 /* nto-tdep.c - general QNX Neutrino target functionality. | 1 /* nto-tdep.c - general QNX Neutrino target functionality. |
2 | 2 |
3 Copyright (C) 2003-2004, 2007-2012 Free Software Foundation, Inc. | 3 Copyright (C) 2003-2004, 2007-2012 Free Software Foundation, Inc. |
4 | 4 |
5 Contributed by QNX Software Systems Ltd. | 5 Contributed by QNX Software Systems Ltd. |
6 | 6 |
7 This file is part of GDB. | 7 This file is part of GDB. |
8 | 8 |
9 This program is free software; you can redistribute it and/or modify | 9 This program is free software; you can redistribute it and/or modify |
10 it under the terms of the GNU General Public License as published by | 10 it under the terms of the GNU General Public License as published by |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 && ti->private->state < ARRAY_SIZE (nto_thread_state_str)) | 369 && ti->private->state < ARRAY_SIZE (nto_thread_state_str)) |
370 return (char *)nto_thread_state_str [ti->private->state]; | 370 return (char *)nto_thread_state_str [ti->private->state]; |
371 return ""; | 371 return ""; |
372 } | 372 } |
373 | 373 |
374 void | 374 void |
375 nto_initialize_signals (void) | 375 nto_initialize_signals (void) |
376 { | 376 { |
377 /* We use SIG45 for pulses, or something, so nostop, noprint | 377 /* We use SIG45 for pulses, or something, so nostop, noprint |
378 and pass them. */ | 378 and pass them. */ |
379 signal_stop_update (target_signal_from_name ("SIG45"), 0); | 379 signal_stop_update (gdb_signal_from_name ("SIG45"), 0); |
380 signal_print_update (target_signal_from_name ("SIG45"), 0); | 380 signal_print_update (gdb_signal_from_name ("SIG45"), 0); |
381 signal_pass_update (target_signal_from_name ("SIG45"), 1); | 381 signal_pass_update (gdb_signal_from_name ("SIG45"), 1); |
382 | 382 |
383 /* By default we don't want to stop on these two, but we do want to pass. */ | 383 /* By default we don't want to stop on these two, but we do want to pass. */ |
384 #if defined(SIGSELECT) | 384 #if defined(SIGSELECT) |
385 signal_stop_update (SIGSELECT, 0); | 385 signal_stop_update (SIGSELECT, 0); |
386 signal_print_update (SIGSELECT, 0); | 386 signal_print_update (SIGSELECT, 0); |
387 signal_pass_update (SIGSELECT, 1); | 387 signal_pass_update (SIGSELECT, 1); |
388 #endif | 388 #endif |
389 | 389 |
390 #if defined(SIGPHOTON) | 390 #if defined(SIGPHOTON) |
391 signal_stop_update (SIGPHOTON, 0); | 391 signal_stop_update (SIGPHOTON, 0); |
(...skipping 13 matching lines...) Expand all Loading... |
405 Set QNX NTO internal debugging."), _("\ | 405 Set QNX NTO internal debugging."), _("\ |
406 Show QNX NTO internal debugging."), _("\ | 406 Show QNX NTO internal debugging."), _("\ |
407 When non-zero, nto specific debug info is\n\ | 407 When non-zero, nto specific debug info is\n\ |
408 displayed. Different information is displayed\n\ | 408 displayed. Different information is displayed\n\ |
409 for different positive values."), | 409 for different positive values."), |
410 NULL, | 410 NULL, |
411 NULL, /* FIXME: i18n: QNX NTO internal | 411 NULL, /* FIXME: i18n: QNX NTO internal |
412 debugging is %s. */ | 412 debugging is %s. */ |
413 &setdebuglist, &showdebuglist); | 413 &setdebuglist, &showdebuglist); |
414 } | 414 } |
OLD | NEW |