From 60a98b30b42d1e78e4d149eaccdca71c8fbbc55c Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 20 Nov 1998 00:00:24 +0000 Subject: [PATCH] CARP: * buildsym.c (end_symtab): Cleanup PROCESS_LINENUMBER_HOOK. --- gdb/ChangeLog | 4 ++++ gdb/buildsym.c | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d42f7856525..ec80cd5e98e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Fri Nov 20 10:13:03 1998 Andrew Cagney + + * buildsym.c (end_symtab): Cleanup PROCESS_LINENUMBER_HOOK. + Thu Nov 19 15:21:04 1998 Geoffrey Noer * rdi-share/host.h: if compiling under Cygwin, make sure new diff --git a/gdb/buildsym.c b/gdb/buildsym.c index 0ebebdb149c..7ba424eff70 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.) */ -- 2.30.2