diff options
author | Michael Snyder <msnyder@vmware.com> | 2010-05-17 01:15:20 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2010-05-17 01:15:20 +0000 |
commit | 5d5021647dbce1a933576243b9d54281a88eb3b5 (patch) | |
tree | 9cc50cfe6d9329223b5830db2770152391c17b19 /gdb/top.c | |
parent | 3a6f1766e1c8ec54e2baa00f51d375c554ee63b3 (diff) | |
download | gdb-5d5021647dbce1a933576243b9d54281a88eb3b5.zip gdb-5d5021647dbce1a933576243b9d54281a88eb3b5.tar.gz gdb-5d5021647dbce1a933576243b9d54281a88eb3b5.tar.bz2 |
2010-05-16 Michael Snyder <msnyder@vmware.com>
* target.c: White space.
* target-descriptions.c: White space.
* target-memory.c: White space.
* thread.c: White space.
* top.c: White space.
* tracepoint.c: White space.
* trad-frame.c: White space.
* tramp-frame.c: White space.
* ui-file.c: White space.
* ui-out.c: White space.
* user-regs.c: White space.
* utils.c: White space.
Diffstat (limited to 'gdb/top.c')
-rw-r--r-- | gdb/top.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -370,6 +370,7 @@ execute_command (char *p, int from_tty) { #ifdef HAVE_SBRK char *lim = (char *) sbrk (0); + space_at_cmd_start = lim - lim_at_start; #endif } @@ -515,6 +516,7 @@ command_loop (void) { #ifdef HAVE_SBRK char *lim = (char *) sbrk (0); + space_at_cmd_start = lim - lim_at_start; #endif } @@ -538,6 +540,7 @@ command_loop (void) { #ifdef HAVE_SBRK char *lim = (char *) sbrk (0); + long space_now = lim - lim_at_start; long space_diff = space_now - space_at_cmd_start; @@ -785,6 +788,7 @@ static void gdb_rl_operate_and_get_next_completion (void) { int delta = where_history () - operate_saved_history; + /* The `key' argument to rl_get_previous_history is ignored. */ rl_get_previous_history (delta, 0); operate_saved_history = -1; |