aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2016-04-12 16:49:30 +0100
committerPedro Alves <palves@redhat.com>2016-04-12 16:55:52 +0100
commitda1e5f545cdb18a34d36f28350716246bc24958a (patch)
tree2e455b64dfcb9586cf57700dccbd4cb4c2e5d538 /gdb/main.c
parent0af679c6e0645a93d5a60ec936b94dc70a2f9e5c (diff)
Don't call clear_quit_flag in captured_main
This call seems pointless. For instance, a SIGINT handler is only installed later on. And if wasn't, I can't see why we'd want to lose a Ctrl-C request. Getting rid of this allows getting rid of clear_quit_flag. gdb/ChangeLog: 2016-04-12 Pedro Alves <palves@redhat.com> * main.c (captured_main): Don't clear the quit flag.
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/main.c b/gdb/main.c
index 93ed98f110..c149b708bf 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -505,7 +505,6 @@ captured_main (void *data)
dirarg = (char **) xmalloc (dirsize * sizeof (*dirarg));
ndir = 0;
- clear_quit_flag ();
saved_command_line = (char *) xstrdup ("");
instream = stdin;