summaryrefslogtreecommitdiff
path: root/gdb/linespec.h
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2003-12-17 21:47:47 +0000
committerJeff Johnston <jjohnstn@redhat.com>2003-12-17 21:47:47 +0000
commit68219205a773719f38e59154a711b6aed478404d (patch)
treeb3ef1ac83892991b24818d374f9f60f3c3b9e445 /gdb/linespec.h
parent5f06973a05e4e687cdbe5412e0132233fe875e5c (diff)
downloadbinutils-gdb-68219205a773719f38e59154a711b6aed478404d.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.h2
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) */