2003-12-17 Jeff Johnston <jjohnstn@redhat.com>

* symtab.c (decode_line_spec): Change call to decode_line_1.
This commit is contained in:
Jeff Johnston 2003-12-17 22:21:02 +00:00
parent 68219205a7
commit bffe1ece0e
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -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);