diff options
author | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2011-03-04 20:07:22 +0000 |
---|---|---|
committer | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2011-03-04 20:07:22 +0000 |
commit | 63ffa6eea3815c2bbe36bf4df525315bc1c1b18f (patch) | |
tree | 5bb433e1bf75e0c1880f1c9583b0e9c2bc311a99 /gdb/linespec.c | |
parent | a17d146e2e387b160d4c331f7ce8268eb2e348d7 (diff) | |
download | gdb-63ffa6eea3815c2bbe36bf4df525315bc1c1b18f.zip gdb-63ffa6eea3815c2bbe36bf4df525315bc1c1b18f.tar.gz gdb-63ffa6eea3815c2bbe36bf4df525315bc1c1b18f.tar.bz2 |
* eval.c (parse_and_eval_address_1): Remove function.
* linespec.c (decode_indirect): Call parse_to_comma_and_eval
instead of parse_and_eval_address_1.
* value.h (parse_and_eval_address_1): Remove prototype.
Diffstat (limited to 'gdb/linespec.c')
-rw-r--r-- | gdb/linespec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linespec.c b/gdb/linespec.c index 5979c16..68859a8 100644 --- a/gdb/linespec.c +++ b/gdb/linespec.c @@ -980,7 +980,7 @@ decode_indirect (char **argptr) CORE_ADDR pc; (*argptr)++; - pc = parse_and_eval_address_1 (argptr); + pc = value_as_address (parse_to_comma_and_eval (argptr)); values.sals = (struct symtab_and_line *) xmalloc (sizeof (struct symtab_and_line)); |