aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-09-07 21:55:12 +0000
committerAndrew Cagney <cagney@redhat.com>2004-09-07 21:55:12 +0000
commit1f04aa626601752ffbb4af60a478a1f1e8e0ad6b (patch)
tree0bee548f4850736784ff8f2be9d79c130c1367b0 /gdb/utils.c
parentada1953ecdd174aaad246792e88f09febe1e1106 (diff)
downloadgdb-1f04aa626601752ffbb4af60a478a1f1e8e0ad6b.zip
gdb-1f04aa626601752ffbb4af60a478a1f1e8e0ad6b.tar.gz
gdb-1f04aa626601752ffbb4af60a478a1f1e8e0ad6b.tar.bz2
2004-09-07 Andrew Cagney <cagney@gnu.org>
* vx-share/wait.h: Delete #ifdef USG. * utils.c (request_quit): Ditto. * tui/tui.c (tui_reset): Ditto. * remote.c: Ditto. * remote-sds.c: Ditto. * remote-rdi.c: Ditto. * mdebugread.c: Ditto. * m68klinux-nat.c: Ditto. * infttrace.c: Ditto. * infptrace.c: Ditto. * i386v-nat.c: Ditto. * exec.c: Ditto. * dbxread.c: Ditto. * core-aout.c: Ditto.
Diffstat (limited to 'gdb/utils.c')
-rw-r--r--gdb/utils.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/utils.c b/gdb/utils.c
index be99780..e350c25 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -974,9 +974,8 @@ void
request_quit (int signo)
{
quit_flag = 1;
- /* Restore the signal handler. Harmless with BSD-style signals, needed
- for System V-style signals. So just always do it, rather than worrying
- about USG defines and stuff like that. */
+ /* Restore the signal handler. Harmless with BSD-style signals,
+ needed for System V-style signals. */
signal (signo, request_quit);
if (immediate_quit)