diff options
author | Michael Snyder <msnyder@vmware.com> | 2010-05-14 18:35:11 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2010-05-14 18:35:11 +0000 |
commit | d7f9d729727b2b85ae3228785762f4d2e6a8742f (patch) | |
tree | 9ea7ff6c431b2a80d33908b5cb436e6545ccbcff /gdb/event-top.c | |
parent | 9a619af0d3152e742fbd290baeae96a32f0abf04 (diff) | |
download | gdb-d7f9d729727b2b85ae3228785762f4d2e6a8742f.zip gdb-d7f9d729727b2b85ae3228785762f4d2e6a8742f.tar.gz gdb-d7f9d729727b2b85ae3228785762f4d2e6a8742f.tar.bz2 |
2010-05-14 Michael Snyder <msnyder@vmware.com>
* elfread.c: White space.
* environ.c: White space.
* eval.c: White space.
* event-loop.c: White space.
* event-top.c: White space.
* exceptions.c: White space.
* exec.c: White space.
* expprint.c: White space.
Diffstat (limited to 'gdb/event-top.c')
-rw-r--r-- | gdb/event-top.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/event-top.c b/gdb/event-top.c index c7c206b..718e245 100644 --- a/gdb/event-top.c +++ b/gdb/event-top.c @@ -504,6 +504,7 @@ command_handler (char *command) { #ifdef HAVE_SBRK char *lim = (char *) sbrk (0); + space_at_cmd_start = lim - lim_at_start; #endif } @@ -556,7 +557,6 @@ command_line_handler (char *rl) char *nline; char got_eof = 0; - int repeat = (instream == stdin); if (annotation_level > 1 && instream == stdin) @@ -990,6 +990,7 @@ static void async_stop_sig (gdb_client_data arg) { char *prompt = get_prompt (); + #if STOP_SIGNAL == SIGTSTP signal (SIGTSTP, SIG_DFL); #if HAVE_SIGPROCMASK |