diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2003-12-17 21:47:47 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2003-12-17 21:47:47 +0000 |
commit | 7fd81f1eff34e42233df84eb0515b73fd9b1ce3e (patch) | |
tree | e9badebc18e81ca305c8c8d3e6c9b4e64b251b85 /gdb/linespec.h | |
parent | 7deae3ab531f8259687e0d2fc42532c2f31002ae (diff) | |
download | gdb-7fd81f1eff34e42233df84eb0515b73fd9b1ce3e.tar.gz |
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
functions.
(decode_variable): Add new not_found_ptr parameter. Throw exception
rather than failing if the not_found_ptr is non-null and the
function is not found.
(symtab_from_filename): Add new not_found_ptr parametr. Throw
exception rather than failing if the not_found_ptr is non-null and
the source file is not found.
* breakpoint.c: Change all callers of decode_line_1 to add default
extra parameter for decode_line_1 calls.
* tracepoint.c: Ditto.
* cli/cli-cmds.c: Ditto.
Diffstat (limited to 'gdb/linespec.h')
-rw-r--r-- | gdb/linespec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linespec.h b/gdb/linespec.h index 3ede4bd96ac..38b0941dcb3 100644 --- a/gdb/linespec.h +++ b/gdb/linespec.h @@ -24,6 +24,6 @@ struct symtab; extern struct symtabs_and_lines decode_line_1 (char **argptr, int funfirstline, struct symtab *default_symtab, int default_line, - char ***canonical); + char ***canonical, int *not_found_ptr); #endif /* defined (LINESPEC_H) */ |