diff options
Diffstat (limited to 'gdb/event-top.c')
-rw-r--r-- | gdb/event-top.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/event-top.c b/gdb/event-top.c index b472694a347..823a3e1f68d 100644 --- a/gdb/event-top.c +++ b/gdb/event-top.c @@ -514,8 +514,10 @@ command_handler (char *command) (struct continuation_arg *) xmalloc (sizeof (struct continuation_arg)); arg1->next = arg2; arg2->next = NULL; - arg1->data.integer = time_at_cmd_start; - arg2->data.integer = space_at_cmd_start; + arg1->data.longint = time_at_cmd_start; +#ifdef HAVE_SBRK + arg2->data.longint = space_at_cmd_start; +#endif add_continuation (command_line_handler_continuation, arg1); } |