This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 3/4] Use flexible target descriptors for aarch64
- From: Alan Hayward <Alan dot Hayward at arm dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>, nd <nd at arm dot com>
- Date: Tue, 31 Oct 2017 17:16:14 +0000
- Subject: Re: [PATCH 3/4] Use flexible target descriptors for aarch64
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alan dot Hayward at arm dot com;
- Nodisclaimer: True
- References: <B5844492-E88D-4024-AF89-34BFB38E1CE8@arm.com> <86h8ugyenj.fsf@gmail.com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
> On 30 Oct 2017, at 13:00, Yao Qi <qiyaoltc@gmail.com> wrote:
>
> Alan Hayward <Alan.Hayward@arm.com> writes:
>
>> Tested on a --enable-targets=all build and aarch64 build with board
>> files unix, native-gdbserver and unittest.exp.
>
> Hi Alan,
> With your patches applied, did you see following assert in gdbserver?
>
> gdb/gdbserver/tdesc.c:96: A problem internal to GDBserver has been detected.
> const char* tdesc_get_features_xml(target_desc*): Assertion `tdesc->xmltarget != NULL || (tdesc->features != NULL && tdesc->arch != NULL && tdesc->osabi != NULL)' failed.
>
> you can reproduce it by starting gdbserver, and "target remote XXX" in
> gdb to connect to gdbserver.
>
> --
> Yao (齐尧)
Yes, I do now. Didn’t the last time I tested. Will look into it.
Thanks for spotting!
Alan.