diff options
author | Jakub Jelinek <jakub@redhat.com> | 2009-10-17 09:28:13 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2009-10-17 09:28:13 +0200 |
commit | 3df9609a72613e190c828cb991277492eede618b (patch) | |
tree | 23f3349f6a491c65d7cf0e47085ccdcb36592488 /gcc/dbxout.c | |
parent | 15f01e4ad6100fad0a4ecd8ee920840edc4459d3 (diff) | |
download | gcc-3df9609a72613e190c828cb991277492eede618b.zip gcc-3df9609a72613e190c828cb991277492eede618b.tar.gz gcc-3df9609a72613e190c828cb991277492eede618b.tar.bz2 |
re PR debug/40521 (-g causes GCC to generate .eh_frame)
PR debug/40521
* debug.h (struct gcc_debug_hooks): Add assembly_start hook.
* cgraphunit.c (cgraph_optimize): Call it.
* dwarf2out.c (dwarf2out_init): Move .cfi_sections printing into...
(dwarf2out_assembly_start): ... here. New hook.
(dwarf2out_debug_hooks): Add dwarf2out_assembly_start.
* debug.c (do_nothing_debug_hooks): Do nothing for assembly_start
hook.
* dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Likewise.
* sdbout.c (sdb_debug_hooks): Likewise.
* vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_assembly_start.
(vmsdbgout_assembly_start): New hook.
From-SVN: r152930
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r-- | gcc/dbxout.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c index d09087a..b5688d9 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -346,6 +346,7 @@ const struct gcc_debug_hooks dbx_debug_hooks = { dbxout_init, dbxout_finish, + debug_nothing_void, debug_nothing_int_charstar, debug_nothing_int_charstar, dbxout_start_source_file, @@ -386,6 +387,7 @@ const struct gcc_debug_hooks xcoff_debug_hooks = { dbxout_init, dbxout_finish, + debug_nothing_void, debug_nothing_int_charstar, debug_nothing_int_charstar, dbxout_start_source_file, |