summaryrefslogtreecommitdiff
path: root/gdb/symfile.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-11-26 19:23:48 +0000
committerTom Tromey <tromey@redhat.com>2012-11-26 19:23:48 +0000
commit05ce6e8848c0618974f48db10224135d73c62d6c (patch)
tree6ae897e604f36aa0164c16f88aa465e52b46137a /gdb/symfile.h
parent96ceb3bde62efa99d273fbbc0cc0e97972cf385c (diff)
downloadgdb-05ce6e8848c0618974f48db10224135d73c62d6c.tar.gz
2012-11-26 Alexander Larsson <alexl@redhat.com>
Jan Kratochvil <jan.kratochvil@redhat.com> Tom Tromey <tromey@redhat.com> * NEWS: Mention mini debuginfo feature. * minidebug.c: New file. * configure.ac: Check for lzma. * configure, config.in: Rebuild. * Makefile.in (LIBLZMA): New variable. (CLIBS): Include LIBLZMA. (SFILES): Mention minidebug.c. (COMMON_OBS): Mention minidebug.o. * symfile.c (read_symbols): New function. (syms_from_objfile, reread_symbols): Call it. * symfile.h (find_separate_debug_file_in_section): Declare. doc * gdb.texinfo (MiniDebugInfo): New node. (GDB Files): Update. testsuite * gdb.base/gnu-debugdata.exp: New file. * gdb.base/gnu-debugdata.c: New file. * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning. (gdb_unload): Return 0 on success.
Diffstat (limited to 'gdb/symfile.h')
-rw-r--r--gdb/symfile.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h
index bb75c184586..223f8740512 100644
--- a/gdb/symfile.h
+++ b/gdb/symfile.h
@@ -690,4 +690,8 @@ extern void elfmdebug_build_psymtabs (struct objfile *,
const struct ecoff_debug_swap *,
asection *);
+/* From minidebug.c. */
+
+extern bfd *find_separate_debug_file_in_section (struct objfile *);
+
#endif /* !defined(SYMFILE_H) */