aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc/objc-act.c
diff options
context:
space:
mode:
authorNeil Booth <neil@cat.daikokuya.demon.co.uk>2001-07-23 21:11:42 +0000
committerNeil Booth <neil@gcc.gnu.org>2001-07-23 21:11:42 +0000
commit9099cc4f790939fe710dc400cef829cf8c0894ff (patch)
tree1b1ac5b4fcd2cafe604b7e703b05cc3b19e52135 /gcc/objc/objc-act.c
parent68eb4fb9c7f3c8d70b6b8adbe160bcd38ffdab25 (diff)
downloadgcc-9099cc4f790939fe710dc400cef829cf8c0894ff.zip
gcc-9099cc4f790939fe710dc400cef829cf8c0894ff.tar.gz
gcc-9099cc4f790939fe710dc400cef829cf8c0894ff.tar.bz2
Make-lang.in (objc-act.o): Depend on debug.h.
* objc/Make-lang.in (objc-act.o): Depend on debug.h. * objc/objc-act.c: Include debug.h. (synth_module_prologue): Save and restore debug hooks too. From-SVN: r44278
Diffstat (limited to 'gcc/objc/objc-act.c')
-rw-r--r--gcc/objc/objc-act.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index 3a19d28..0b99ece 100644
--- a/gcc/objc/objc-act.c
+++ b/gcc/objc/objc-act.c
@@ -56,6 +56,7 @@ Boston, MA 02111-1307, USA. */
#include "toplev.h"
#include "ggc.h"
#include "cpplib.h"
+#include "debug.h"
/* This is the default way of generating a method name. */
/* I am not sure it is really correct.
@@ -1377,12 +1378,15 @@ synth_module_prologue ()
/* Suppress outputting debug symbols, because
dbxout_init hasn'r been called yet. */
enum debug_info_type save_write_symbols = write_symbols;
+ struct gcc_debug_hooks *save_hooks = debug_hooks;
write_symbols = NO_DEBUG;
+ debug_hooks = &do_nothing_debug_hooks;
build_selector_template ();
temp_type = build_array_type (objc_selector_template, NULL_TREE);
write_symbols = save_write_symbols;
+ debug_hooks = save_hooks;
}
else
temp_type = build_array_type (selector_type, NULL_TREE);