This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [rfc] SKIP_PROLOG_FRAMELESS_P -> PROLOG_FRAMELES_P multi-arch cleanup


Andrew Cagney wrote:
> 
> Hello,
> 
> The attatched patches replace SKIP_PROLOG_FRAMELESS_P with a
> multi-arched PROLOGUE_FRAMELESS_P.  Thoughts?

FYI,  I've committed the source code changes.  I'll leave the doc
changes for next week.

	Andrew


> Fri Apr 28 16:56:15 2000  Andrew Cagney  <cagney@b1.cygnus.com>
> 
>         * gdbint.texinfo (PROLOGUE_FRAMELESS_P): Add definition.
>         (SKIP_PROLOGUE_FRAMELESS_P): Update definition.  Document as
>         deprecated.
>         (SKIP_PROLOGUE): Update definition.
> 
> Index: doc/gdbint.texinfo
> ===================================================================
> RCS file: /cvs/src/src/gdb/doc/gdbint.texinfo,v
> retrieving revision 1.10
> diff -p -r1.10 gdbint.texinfo
> *** gdbint.texinfo      2000/04/17 10:46:50     1.10
> --- gdbint.texinfo      2000/04/28 06:58:36
> *************** appropriate format for the current archi
> *** 1849,1854 ****
> --- 1849,1859 ----
>   address the pointer refers to.
>   @xref{Target Architecture Definition, , Pointers Are Not Always Addresses}.
> 
> + @deftypefn PROLOGUE_FRAMELESS_P (CORE_ADDR @var{pc})
> + A function that returns non-zero when the function at @var{pc} has no
> + frame.  If not defined, @code{SKIP_PROLOGUE} will be used to determine
> + if the function has a frame.
> +
>   @item REGISTER_CONVERTIBLE (@var{reg})
>   Return non-zero if @var{reg} uses different raw and virtual formats.
>   @xref{Target Architecture Definition, , Using Different Register and Memory Data Representations}.
> *************** state so that execution will resume just
> *** 2013,2026 ****
>   macro does the right thing even when the breakpoint is in the delay slot
>   of a branch or jump.
> 
> ! @item SKIP_PROLOGUE (pc)
>   A C expression that returns the address of the ``real'' code beyond the
>   function entry prologue found at @var{pc}.
> 
> ! @item SKIP_PROLOGUE_FRAMELESS_P
>   A C expression that should behave similarly, but that can stop as soon
>   as the function is known to have a frame.  If not defined,
>   @code{SKIP_PROLOGUE} will be used instead.
> 
>   @item SKIP_TRAMPOLINE_CODE (pc)
>   If the target machine has trampoline code that sits between callers and
> --- 2018,2033 ----
>   macro does the right thing even when the breakpoint is in the delay slot
>   of a branch or jump.
> 
> ! @deftypefn {Target Macro} SKIP_PROLOGUE (CORE_ADDR @var{pc})
>   A C expression that returns the address of the ``real'' code beyond the
>   function entry prologue found at @var{pc}.
> 
> ! @deftypefn {Target Macro} SKIP_PROLOGUE_FRAMELESS_P (CORE_ADDR @var{pc})
>   A C expression that should behave similarly, but that can stop as soon
>   as the function is known to have a frame.  If not defined,
>   @code{SKIP_PROLOGUE} will be used instead.
> +
> + This function has been deprecated in favor of @code{PROLOGUE_FRAMELESS_P}.
> 
>   @item SKIP_TRAMPOLINE_CODE (pc)
>   If the target machine has trampoline code that sits between callers and

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]