aboutsummaryrefslogtreecommitdiff
path: root/gdb/linespec.c
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@br.ibm.com>2011-03-04 20:07:22 +0000
committerThiago Jung Bauermann <bauerman@br.ibm.com>2011-03-04 20:07:22 +0000
commit63ffa6eea3815c2bbe36bf4df525315bc1c1b18f (patch)
tree5bb433e1bf75e0c1880f1c9583b0e9c2bc311a99 /gdb/linespec.c
parenta17d146e2e387b160d4c331f7ce8268eb2e348d7 (diff)
downloadgdb-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.c2
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));