summaryrefslogtreecommitdiffstats
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2007-09-21 18:01:26 +0000
committerJoel Brobecker <brobecker@gnat.com>2007-09-21 18:01:26 +0000
commitc295b2e5056e475702a492c520c17d47c9955e14 (patch)
tree89eb904d3f6fc2d31b9942f1e11d3504679030d4 /gdb/xcoffread.c
parent4ab2002928d0ba68074601d8ac4ea920c916a46c (diff)
downloadppe42-binutils-c295b2e5056e475702a492c520c17d47c9955e14.tar.gz
ppe42-binutils-c295b2e5056e475702a492c520c17d47c9955e14.zip
* symfile.h (struct sym_fns): Add new field sym_read_linetable.
* coffread.c, dbxread.c, elfread.c, mipsread.c somread.c: Adjust the struct sym_fns object accordingly by setting the new field to NULL. * xcoffread.c (aix_process_linenos): Make static. (xcoff_sym_fns): Set new field to aix_process_linenos. * buildsym.c (end_symtab): Replace call to PROCESS_LINENUMBER_HOOK by call to new the new sym_fns sym_read_linetable function. * config/powerpc/aix.mt (DEPRECATED_TM_FILE): Delete. * config/rs6000/tm-rs6000.h: Delete.
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r--gdb/xcoffread.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index 08e1de3e30..49bf023679 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -727,7 +727,7 @@ return_after_cleanup:
memset (&main_subfile, '\0', sizeof (struct subfile));
}
-void
+static void
aix_process_linenos (void)
{
/* process line numbers and enter them into line vector */
@@ -3012,6 +3012,7 @@ static struct sym_fns xcoff_sym_fns =
xcoff_symfile_offsets, /* sym_offsets: xlate offsets ext->int form */
default_symfile_segments, /* sym_segments: Get segment information from
a file. */
+ aix_process_linenos, /* sym_read_linetable */
NULL /* next: pointer to next struct sym_fns */
};
OpenPOWER on IntegriCloud