This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] xtensa: initialize call_abi in xtensa_tdep
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Max Filippov <jcmvbkbc at gmail dot com>
- Cc: gdb-patches at sourceware dot org, Maxim Grigoriev <maxim2405 at gmail dot com>, Woody LaRue <larue at cadence dot com>, Marc Gauthier <marc at cadence dot com>
- Date: Thu, 20 Aug 2015 08:53:44 -0400
- Subject: Re: [PATCH] xtensa: initialize call_abi in xtensa_tdep
- Authentication-results: sourceware.org; auth=none
- References: <1433628336-24058-1-git-send-email-jcmvbkbc at gmail dot com> <20150820120909 dot GC4571 at adacore dot com> <CAMo8Bf+k5hbJQ8GBKyM76mC4iq42hxtRfkb+PROtU8wh6Pm4xQ at mail dot gmail dot com>
> 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.
--
Joel