aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-11-20 00:00:24 +0000
committerAndrew Cagney <cagney@redhat.com>1998-11-20 00:00:24 +0000
commit60a98b30b42d1e78e4d149eaccdca71c8fbbc55c (patch)
tree4d675dbd0e69c6a68ea40608ff55168bf01a101f /gdb/buildsym.c
parent6bd87f42ef630351d4a99a26f11d3663a1a4e6b7 (diff)
downloadgdb-60a98b30b42d1e78e4d149eaccdca71c8fbbc55c.zip
gdb-60a98b30b42d1e78e4d149eaccdca71c8fbbc55c.tar.gz
gdb-60a98b30b42d1e78e4d149eaccdca71c8fbbc55c.tar.bz2
CARP:
* buildsym.c (end_symtab): Cleanup PROCESS_LINENUMBER_HOOK.
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r--gdb/buildsym.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c
index 0ebebdb..7ba424e 100644
--- a/gdb/buildsym.c
+++ b/gdb/buildsym.c
@@ -900,9 +900,10 @@ end_symtab (end_addr, objfile, section)
blockvector = make_blockvector (objfile);
}
-#ifdef PROCESS_LINENUMBER_HOOK
- PROCESS_LINENUMBER_HOOK (); /* Needed for xcoff. */
+#ifndef PROCESS_LINENUMBER_HOOK
+#define PROCESS_LINENUMBER_HOOK()
#endif
+ PROCESS_LINENUMBER_HOOK (); /* Needed for xcoff. */
/* Now create the symtab objects proper, one for each subfile. */
/* (The main file is the last one on the chain.) */