* Whack FUNCTION_EPILOGUE_SIZE
@ 2008-08-01 1:14 Stan Shebs
2008-08-01 7:13 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: Stan Shebs @ 2008-08-01 1:14 UTC (permalink / raw)
To: gdb-patches
The last configuration that needed the FUNCTION_EPILOGUE_SIZE hack
(umax) went away years ago, no reason to keep the code around any longer.
Stan
2008-07-31 Stan Shebs <stan@codesourcery.com>
* coffread.c (coff_symtab_read): Remove FUNCTION_EPILOGUE_SIZE.
* gdbint.texinfo: Remove FUNCTION_EPILOGUE_SIZE.
Index: coffread.c
===================================================================
RCS file: /cvs/src/src/gdb/coffread.c,v
retrieving revision 1.82
diff -u -p -r1.82 coffread.c
--- coffread.c 27 May 2008 19:29:51 -0000 1.82
+++ coffread.c 1 Aug 2008 00:25:53 -0000
@@ -1026,22 +1026,9 @@ coff_symtab_read (long symtab_offset, un
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: doc/gdbint.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdbint.texinfo,v
retrieving revision 1.286
diff -u -p -r1.286 gdbint.texinfo
--- doc/gdbint.texinfo 29 Jul 2008 20:26:53 -0000 1.286
+++ doc/gdbint.texinfo 1 Aug 2008 00:25:53 -0000
@@ -3657,13 +3657,6 @@ return gdbarch_addr_bits_remove (gdbarch
@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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Whack FUNCTION_EPILOGUE_SIZE
2008-08-01 1:14 Whack FUNCTION_EPILOGUE_SIZE Stan Shebs
@ 2008-08-01 7:13 ` Eli Zaretskii
0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2008-08-01 7:13 UTC (permalink / raw)
To: Stan Shebs; +Cc: gdb-patches
> Date: Thu, 31 Jul 2008 18:14:21 -0700
> From: Stan Shebs <stan@codesourcery.com>
>
> The last configuration that needed the FUNCTION_EPILOGUE_SIZE hack
> (umax) went away years ago, no reason to keep the code around any longer.
>
> Stan
>
> 2008-07-31 Stan Shebs <stan@codesourcery.com>
>
> * coffread.c (coff_symtab_read): Remove FUNCTION_EPILOGUE_SIZE.
>
> * gdbint.texinfo: Remove FUNCTION_EPILOGUE_SIZE.
OK
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-08-01 7:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-01 1:14 Whack FUNCTION_EPILOGUE_SIZE Stan Shebs
2008-08-01 7:13 ` Eli Zaretskii
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox