summaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-06-29 22:46:42 +0000
committerDoug Evans <dje@google.com>2012-06-29 22:46:42 +0000
commit1fa401cbd559e8f03568cfce000e4c20703d20cf (patch)
treea07d2ba4e26408dd611f2e1b0cd859618d913473 /gdb/infcmd.c
parent5cf8dae85882acb4faf0eaaa1fef6cac46ff6d77 (diff)
downloadgdb-1fa401cbd559e8f03568cfce000e4c20703d20cf.tar.gz
* linespec.c: #include "stack.h".
(decode_line_with_current_source): Moved here from symtab.c and renamed from decode_line_spec. All callers updated. (decode_line_with_last_displayed): Moved here from breakpoint.c and renamed from decode_line_spec_1. All callers updated. * linespec.h (decode_line_with_current_source): Move declaration here from symtab.h and renamed from decode_line_spec. (decode_line_with_last_displayed): Move declaration here from symtab.h and renamed from decode_line_spec_1. * macrocmd.c: #include "linespec.h". * symtab.c: Remove #include "linespec.h".
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r--gdb/infcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index b7770ccfb90..475ac90e1cc 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -1140,7 +1140,7 @@ jump_command (char *arg, int from_tty)
if (!arg)
error_no_arg (_("starting address"));
- sals = decode_line_spec_1 (arg, DECODE_LINE_FUNFIRSTLINE);
+ sals = decode_line_with_last_displayed (arg, DECODE_LINE_FUNFIRSTLINE);
if (sals.nelts != 1)
{
error (_("Unreasonable jump request"));