mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 18:10:46 +00:00
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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user