From: Michael Snyder Date: Fri, 24 May 2002 01:25:52 +0000 (+0000) Subject: 2002-05-23 Michael Snyder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de530e8403a54d54467910510b693194efaffcb4;p=binutils-gdb.git 2002-05-23 Michael Snyder * cli/cli-dump.c (restore_command): Use parse_and_eval_long for input, rather than parse_and_eval_address. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b4dfe86085c..64314fe712a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-05-23 Michael Snyder + + * cli/cli-dump.c (restore_command): Use parse_and_eval_long + for input, rather than parse_and_eval_address. + 2002-05-23 Andrew Cagney * d10v-tdep.c: Include "gdb/sim-d10v.h" instead of "sim-d10v.h". diff --git a/gdb/cli/cli-dump.c b/gdb/cli/cli-dump.c index 1edcfe26d1b..36c1d2db2be 100644 --- a/gdb/cli/cli-dump.c +++ b/gdb/cli/cli-dump.c @@ -623,18 +623,16 @@ restore_command (char *args, int from_tty) /* Parse offset (optional). */ if (args != NULL && *args != '\0') data.load_offset = - parse_and_eval_address (scan_expression_with_cleanup (&args, - NULL)); + parse_and_eval_long (scan_expression_with_cleanup (&args, NULL)); if (args != NULL && *args != '\0') { /* Parse start address (optional). */ data.load_start = - parse_and_eval_address (scan_expression_with_cleanup (&args, - NULL)); + parse_and_eval_long (scan_expression_with_cleanup (&args, NULL)); if (args != NULL && *args != '\0') { /* Parse end address (optional). */ - data.load_end = parse_and_eval_address (args); + data.load_end = parse_and_eval_long (args); if (data.load_end <= data.load_start) error ("Start must be less than end."); }