This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: [PATCH] add gdbarch_in_function_epilogue_p hook for sparc64


On 12/04/2013 10:08 AM, Jose E. Marchesi wrote:
> 
>     On 10/16/2013 03:18 PM, Jose E. Marchesi wrote:
>     > Note that despite sparc_in_function_epilogue_p must work on both sparc32
>     > and sparc64 the patch only installs the hook on sparc64 targets.  This
>     > is because I can't test it in sparc32.
>     
>     Can't sparc64 run sparc32 binaries?  Something like -m32 ?
> 
> Yes it can.  But right now what I have is a 64bit-only userspace.  I
> will hook gdbarch_in_function_epilogue_p on the sparc32 target as soon
> as I can test it properly.

Ah, OK.

>     +     RESTORE is almost always found in the delay slot of a branch
>     +     instruction that transfer control to the caller, such as JMPL.

"transfers".

I don't know enough sparc64 to be able to say anything intelligent
about the substance of the patch itself.

-- 
Pedro Alves


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