aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.h
diff options
context:
space:
mode:
authorPeter Schauer <Peter.Schauer@mytum.de>1993-07-19 06:41:16 +0000
committerPeter Schauer <Peter.Schauer@mytum.de>1993-07-19 06:41:16 +0000
commit6f87ec4a21e626431a7fb55974b07aad05223660 (patch)
treedf8672886b1cab6ed1833af4731361f47e22431a /gdb/symtab.h
parent29b8ed0aaa3bafd27104a9aa11c17cee3599c167 (diff)
downloadgdb-6f87ec4a21e626431a7fb55974b07aad05223660.zip
gdb-6f87ec4a21e626431a7fb55974b07aad05223660.tar.gz
gdb-6f87ec4a21e626431a7fb55974b07aad05223660.tar.bz2
Make breakpoint_re_set_one work with overloaded member functions,
`b 123' and `b foo' if foo is a static function. * symtab.c (decode_line_1, decode_line_2): New argument `canonical' to return canonical line specs if requested by the caller. * breakpoint.c, source.c, symtab.c, symtab.h: Change prototypes and callers accordingly. * symtab.c (build_canonical_line_spec): New helper function which constructs the canonical line spec. * breakpoint.c (break_command_1): Use canonical line spec instead of command string as addr_string if necessary. * source.c (line_info): Fix storage leak.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r--gdb/symtab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 76e359c..a9c704a 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -1038,7 +1038,7 @@ extern struct symtabs_and_lines
decode_line_spec_1 PARAMS ((char *, int));
extern struct symtabs_and_lines
-decode_line_1 PARAMS ((char **, int, struct symtab *, int));
+decode_line_1 PARAMS ((char **, int, struct symtab *, int, char ***));
/* Symmisc.c */