diff options
author | Michael Snyder <msnyder@vmware.com> | 2002-05-24 01:25:52 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2002-05-24 01:25:52 +0000 |
commit | de530e8403a54d54467910510b693194efaffcb4 (patch) | |
tree | 3f01dfd3c9d26fe2939795676e1e2b4ba5b83f2b /gdb/cli | |
parent | 9f66665ac58ef8ccb2644ceaf7d2f7fefab9f7e6 (diff) | |
download | fsf-binutils-gdb-de530e8403a54d54467910510b693194efaffcb4.zip fsf-binutils-gdb-de530e8403a54d54467910510b693194efaffcb4.tar.gz fsf-binutils-gdb-de530e8403a54d54467910510b693194efaffcb4.tar.bz2 |
2002-05-23 Michael Snyder <msnyder@redhat.com>
* cli/cli-dump.c (restore_command): Use parse_and_eval_long
for input, rather than parse_and_eval_address.
Diffstat (limited to 'gdb/cli')
-rw-r--r-- | gdb/cli/cli-dump.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/cli/cli-dump.c b/gdb/cli/cli-dump.c index 1edcfe2..36c1d2d 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."); } |