* coffread.c (coff_symtab_read): Remove FUNCTION_EPILOGUE_SIZE.
authorStan Shebs <shebs@codesourcery.com>
Fri, 1 Aug 2008 01:09:00 +0000 (01:09 +0000)
committerStan Shebs <shebs@codesourcery.com>
Fri, 1 Aug 2008 01:09:00 +0000 (01:09 +0000)
* gdbint.texinfo: Remove FUNCTION_EPILOGUE_SIZE.

gdb/ChangeLog
gdb/coffread.c
gdb/doc/ChangeLog
gdb/doc/gdbint.texinfo

index 4b656728f9ae2689d8042221bcdc1903c61db63d..4b1d31ea7cac74ea6fc91907c6d8cdea9afd2213 100644 (file)
@@ -1,3 +1,7 @@
+2008-07-31  Stan Shebs  <stan@codesourcery.com>
+
+       * coffread.c (coff_symtab_read): Remove FUNCTION_EPILOGUE_SIZE.
+
 2008-07-30  Stan Shebs  <stan@codesourcery.com>
 
        * objfiles.c (TARGET_KEEP_SECTION): Remove.
index e36b2f10c7f3c9f6ddf43d764cdbb46ed418d3b8..e6cc38951a36d8e04533985bf6d56220c9a9379c 100644 (file)
@@ -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;
index 6865945bf4e632673117887fb8cb432db47d0acb..f56476ea8f99315687868876ab0ce102b0f8c6e4 100644 (file)
@@ -1,3 +1,7 @@
+2008-07-31  Stan Shebs  <stan@codesourcery.com>
+
+       * gdbint.texinfo: Remove FUNCTION_EPILOGUE_SIZE.
+
 2008-07-29  Stan Shebs  <stan@codesourcery.com>
 
        * gdbint.texinfo: General round of cleanup and minor
index 3bb816f38775759f66c51a561815817a30f3247d..23e3d250f72e0821ccbed831411ad52402b2ebbf 100644 (file)
@@ -3657,13 +3657,6 @@ return gdbarch_addr_bits_remove (gdbarch, sp);
 @noindent
 @xref{TARGET_READ_SP}, which this method replaces.
 
-@item FUNCTION_EPILOGUE_SIZE
-@findex FUNCTION_EPILOGUE_SIZE
-For some COFF targets, the @code{x_sym.x_misc.x_fsize} field of the
-function end symbol is 0.  For such targets, you must define
-@code{FUNCTION_EPILOGUE_SIZE} to expand into the standard size of a
-function's epilogue.
-
 @item GCC_COMPILED_FLAG_SYMBOL
 @itemx GCC2_COMPILED_FLAG_SYMBOL
 @findex GCC2_COMPILED_FLAG_SYMBOL