diff options
author | Fernando Nasser <fnasser@redhat.com> | 2000-11-10 23:02:56 +0000 |
---|---|---|
committer | Fernando Nasser <fnasser@redhat.com> | 2000-11-10 23:02:56 +0000 |
commit | 506419459ac4303cdb9adb6e4b121049ef6be0a2 (patch) | |
tree | d4e81bcd6928cd7bc1040677ea8ef277f77076f5 /gdb/symtab.h | |
parent | 5fcfd273c3f5dbc63b64a5eef0893cd38d4f49e8 (diff) | |
download | gdb-506419459ac4303cdb9adb6e4b121049ef6be0a2.zip gdb-506419459ac4303cdb9adb6e4b121049ef6be0a2.tar.gz gdb-506419459ac4303cdb9adb6e4b121049ef6be0a2.tar.bz2 |
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.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h index 1195856..09f08ab 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 *); |