[patch/rfc] Deprecate FRAMELESS_FUNCTION_INVOCATION
Andrew Cagney
cagney@gnu.org
Mon Feb 9 22:32:00 GMT 2004
Hello,
Hot on the heals of PROLOGUE_FRAMELESS_P this patch replaces
FRAMELESS_FUNCTION_INVOCATION with a deprecated method + predicate.
Problems to note include:
- this arch method only applied to the inner-most frame
To start to make this useful, it would need to be per frame but ...
- new frame code has no reason to identifying a frameless frame
It instead treats all frames identical.
- "info frame"'s "(FRAMELESS)" is wrong
When FRAMELESS_FUNCTION_INVOCATION and an innermost frame, "info frame"
prints the some what meaningless "(FRAMELESS)" message. The message
isn't correct (it should be "stackless leaf function"), and isn't adding
useful information.
For the architectures that [re-]set the method to the default, I've
removed the set_gdbarch call (I also removed the d10v call as I know
it's not needed).
For the remainder, I've left them setting the method to the [legacy]
frameless_look_for_prologue.
I'll look to commit in a week,
Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20040209/dffcfe1e/attachment.ksh>
More information about the Gdb-patches
mailing list