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] xtensa: initialize call_abi in xtensa_tdep


On Thu, Aug 20, 2015 at 3:53 PM, Joel Brobecker <brobecker@adacore.com> wrote:
>> The file include/xtensa-config.h is meant to be replaced by
>> processor-specific version where XSHAL_ABI definition may be
>> different. That's why I mention 'call0 configuration' in the
>> description: when xtensa core is configured without
>> windowed registers it will necessarily have call0 ABI.
>
> This is the type of property that is normally dynamically determined.
> Is there a way to determine that info from the executable? That would
> be the proper way of fixing this issue.

I agree with that, but currently we can't distinguish executables with different
call ABI.

-- 
Thanks.
-- Max


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