aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2003-12-17 22:21:02 +0000
committerJeff Johnston <jjohnstn@redhat.com>2003-12-17 22:21:02 +0000
commitbffe1ece0e72e008cdc9813e1f0a2517ef0ff2e7 (patch)
tree25328abb1b79dcd030ed711918a3b10ef38cf7c6 /gdb
parent68219205a773719f38e59154a711b6aed478404d (diff)
downloadgdb-bffe1ece0e72e008cdc9813e1f0a2517ef0ff2e7.zip
gdb-bffe1ece0e72e008cdc9813e1f0a2517ef0ff2e7.tar.gz
gdb-bffe1ece0e72e008cdc9813e1f0a2517ef0ff2e7.tar.bz2
2003-12-17 Jeff Johnston <jjohnstn@redhat.com>
* symtab.c (decode_line_spec): Change call to decode_line_1.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/symtab.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4878139..562ca3c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2003-12-17 Jeff Johnston <jjohnstn@redhat.com>
+ * symtab.c (decode_line_spec): Change call to decode_line_1.
+
+2003-12-17 Jeff Johnston <jjohnstn@redhat.com>
+
* linespec.h (decode_line_1): Add new not_found_ptr parameter.
* linespec.c (decode_line_1): Add new parameter. Pass on
new parameter to decode_variable and symtab_from_filename
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 6e35e84..1d7b396 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -3868,7 +3868,7 @@ decode_line_spec (char *string, int funfirstline)
sals = decode_line_1 (&string, funfirstline,
cursal.symtab, cursal.line,
- (char ***) NULL);
+ (char ***) NULL, NULL);
if (*string)
error ("Junk at end of line specification: %s", string);