diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b4dfe86085..64314fe712 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 1edcfe26d1..36c1d2db2b 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."); }