summaryrefslogtreecommitdiff
path: root/gdb/symtab.h
diff options
context:
space:
mode:
authorFernando Nasser <fnasser@redhat.com>2000-11-10 23:02:56 +0000
committerFernando Nasser <fnasser@redhat.com>2000-11-10 23:02:56 +0000
commit8c6688a23aaa8d7d721632e60b627028bd652d9d (patch)
tree009fac3362a21592fddb6d089fa5ae5b0e0fd91e /gdb/symtab.h
parent179c16bf78931ee44003fc7784a1f0d159032c8f (diff)
downloadgdb-8c6688a23aaa8d7d721632e60b627028bd652d9d.tar.gz
2000-11-10 Fernando Nasser <fnasser@totem.toronto.redhat.com>
* symtab.c (decode_line_1, total_number_of_methods, find_methods, build_command_line_spec, find_toplevel_char, decode_line_2): Move to linespec.c. * linespec.c: New file. Routines that handle linespecs, formerly in symtab.c. * symtab.h: Export find_line_symtab and find_function_start_sal, * Makefile.in: Add linespec.c.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r--gdb/symtab.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 1195856a57a..09f08abbfdf 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -1345,8 +1345,10 @@ extern struct symtabs_and_lines decode_line_spec (char *, int);
extern struct symtabs_and_lines decode_line_spec_1 (char *, int);
-extern struct symtabs_and_lines
-decode_line_1 (char **, int, struct symtab *, int, char ***);
+/* From linespec.c */
+
+extern struct symtabs_and_lines decode_line_1 (char **,
+ int, struct symtab *, int, char ***);
/* Symmisc.c */
@@ -1390,6 +1392,10 @@ extern struct symbol **make_symbol_overload_list (struct symbol *);
extern struct partial_symtab *find_main_psymtab (void);
+extern struct symtab *find_line_symtab (struct symtab *, int, int *, int *);
+
+extern struct symtab_and_line find_function_start_sal (struct symbol *sym, int);
+
/* blockframe.c */
extern struct blockvector *blockvector_for_pc (CORE_ADDR, int *);