CARP:
authorAndrew Cagney <cagney@redhat.com>
Fri, 20 Nov 1998 00:00:24 +0000 (00:00 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 20 Nov 1998 00:00:24 +0000 (00:00 +0000)
* buildsym.c (end_symtab): Cleanup PROCESS_LINENUMBER_HOOK.

gdb/ChangeLog
gdb/buildsym.c

index d42f78565253db5b1bd344ac195682f882775383..ec80cd5e98ee7df1136cd4c1602b95d84edfe6ae 100644 (file)
@@ -1,3 +1,7 @@
+Fri Nov 20 10:13:03 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * buildsym.c (end_symtab): Cleanup PROCESS_LINENUMBER_HOOK.
+
 Thu Nov 19 15:21:04 1998  Geoffrey Noer  <noer@cygnus.com>
 
        * rdi-share/host.h: if compiling under Cygwin, make sure new
index 0ebebdb149c723bf4438cfe631eba6f9601eb90e..7ba424eff708cc4e0b4c743b4ce5d07bdfbb48e5 100644 (file)
@@ -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.)  */