diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2002-11-07 01:43:59 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2002-11-07 01:43:59 +0000 |
commit | b6d987a923440dae42c44f9969bd5023307fb192 (patch) | |
tree | dd8c8814d51311bd449d2d19379fb9e9b658bbef /gdb/mi | |
parent | 0efbe725224326408cebacd733918e694adbb2fe (diff) | |
download | gdb-b6d987a923440dae42c44f9969bd5023307fb192.tar.gz |
2002-11-06 Jeff Johnston <jjohnstn@redhat.com>
* mi-cmd-var.c (mi_cmd_var_create): Change the function used to
parse the frame addr from parse_and_eval_address() to
string_to_core_addr(). This is a fix for PR gdb/494.
Diffstat (limited to 'gdb/mi')
-rw-r--r-- | gdb/mi/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/mi/mi-cmd-var.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog index 3c7e527b2a0..c59019f513e 100644 --- a/gdb/mi/ChangeLog +++ b/gdb/mi/ChangeLog @@ -1,3 +1,9 @@ +2002-11-06 Jeff Johnston <jjohnstn@redhat.com> + + * mi-cmd-var.c (mi_cmd_var_create): Change the function used to + parse the frame addr from parse_and_eval_address() to + string_to_core_addr(). This is a fix for PR gdb/494. + 2002-10-23 Jeff Johnston <jjohnstn@redhat.com> * mi-cmd-var.c: Change all remaining occurrences of ui_out_tuple_begin diff --git a/gdb/mi/mi-cmd-var.c b/gdb/mi/mi-cmd-var.c index ee65deb773f..990b2788ca1 100644 --- a/gdb/mi/mi-cmd-var.c +++ b/gdb/mi/mi-cmd-var.c @@ -81,7 +81,7 @@ mi_cmd_var_create (char *command, char **argv, int argc) else { var_type = USE_SPECIFIED_FRAME; - frameaddr = parse_and_eval_address (frame); + frameaddr = string_to_core_addr (frame); } if (varobjdebug) |