aboutsummaryrefslogtreecommitdiff
path: root/gdb/coffread.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>2008-08-01 01:09:00 +0000
committerStan Shebs <shebs@codesourcery.com>2008-08-01 01:09:00 +0000
commit6d76a53df9959a1b770a01b6ba0c190612d6cef9 (patch)
tree658bede3e578358550f25a2126df4230f8dd971c /gdb/coffread.c
parent960b1a9a21770b4a496e8256346a293582b69842 (diff)
downloadgdb-6d76a53df9959a1b770a01b6ba0c190612d6cef9.zip
gdb-6d76a53df9959a1b770a01b6ba0c190612d6cef9.tar.gz
gdb-6d76a53df9959a1b770a01b6ba0c190612d6cef9.tar.bz2
* coffread.c (coff_symtab_read): Remove FUNCTION_EPILOGUE_SIZE.
* gdbint.texinfo: Remove FUNCTION_EPILOGUE_SIZE.
Diffstat (limited to 'gdb/coffread.c')
-rw-r--r--gdb/coffread.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/gdb/coffread.c b/gdb/coffread.c
index e36b2f1..e6cc389 100644
--- a/gdb/coffread.c
+++ b/gdb/coffread.c
@@ -1026,22 +1026,9 @@ coff_symtab_read (long symtab_offset, unsigned int nsyms,
finish_block (new->name, &local_symbols, new->old_blocks,
new->start_addr,
-#if defined (FUNCTION_EPILOGUE_SIZE)
- /* This macro should be defined only on
- machines where the
- fcn_aux_saved.x_sym.x_misc.x_fsize
- field is always zero.
- So use the .bf record information that
- points to the epilogue and add the size
- of the epilogue. */
- cs->c_value
- + FUNCTION_EPILOGUE_SIZE
- + ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)),
-#else
fcn_cs_saved.c_value
+ fcn_aux_saved.x_sym.x_misc.x_fsize
+ ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)),
-#endif
objfile
);
within_function = 0;