aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-10-17 20:17:45 +0000
committerDaniel Jacobowitz <drow@false.org>2006-10-17 20:17:45 +0000
commit94277a38987e6809e7a80208ebb1f77cc2c17d46 (patch)
tree5c697071b847efa42f79a78f20bf087e27a48121 /gdb/symtab.h
parent6bacc34ddf228e7ec5021e096b3deca26d213b22 (diff)
downloadgdb-94277a38987e6809e7a80208ebb1f77cc2c17d46.zip
gdb-94277a38987e6809e7a80208ebb1f77cc2c17d46.tar.gz
gdb-94277a38987e6809e7a80208ebb1f77cc2c17d46.tar.bz2
gdb/
* Makefile.in (symtab.o): Update. * symtab.h (matching_bfd_section): New prototype. * symtab.c (matching_bfd_section): New. (find_pc_sect_psymbol, find_pc_sect_symtab): Use it. * minsyms.c (lookup_minimal_symbol_by_pc_section): Likewise. * printcmd.c (sym_info): Ignore separate debug objfiles. gdb/testsuite/ * gdb.base/sepdebug.exp: Remove debug format test. * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test. Handle no-symtab. * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r--gdb/symtab.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index bef9aaa..4a980c1 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -1316,6 +1316,8 @@ extern char **make_source_files_completion_list (char *, char *);
/* symtab.c */
+int matching_bfd_sections (asection *, asection *);
+
extern struct partial_symtab *find_main_psymtab (void);
extern struct symtab *find_line_symtab (struct symtab *, int, int *, int *);