[PATCH 1/4] arc: Add XML target features for Linux targets

Tom Tromey tom@tromey.com
Fri Apr 24 13:46:48 GMT 2020


>>>>> ">" == Shahab Vahedi via Gdb-patches <gdb-patches@sourceware.org> writes:

>> From: Anton Kolesov <Anton.Kolesov@synopsys.com>
>> Add XML target features for Linux targets.  Compared to default
>> Linux features:

>> - Explicitly specify CPU machine.
>> - Remove baremetal only ILINK{,1,2} registers.
>> - Add LP_START and LP_END registers for hardware loops - required to
>>   properly evaluate possible next instruction during software single
>>   instruction stepping.
>> - Add BTA register which contains branch target address - address of
>>   next instruction when processor is in the delay slot.
>> - ARC HS description also adds R30, R58 and R59 registers, specific to
>>   this architecture.

>> gdb/ChangeLog:
>> 2020-03-26  Anton Kolesov  <anton.kolesov@synopsys.com>

>> 	* arch/arc.h (arc_create_target_description): Support Linux targets.
>> 	* arch/arc.c (arc_create_target_description): Likewise.
>> 	* arc-tdep.c (arc_tdesc_init): Update invocation of
>> 	  arc_read_description.
>> 	* features/Makefile (FEATURE_XMLFILES): Add new files.
>> 	* features/arc/aux-arcompact-linux.xml: New file.
>> 	* features/arc/aux-v2-linux.xml: Likewise.
>> 	* features/arc/core-arcompact-linux.xml: Likewise.
>> 	* features/arc/core-v2-linux.xml: Likewise.
>> 	* features/arc/aux-arcompact-linux.c: Generate.
>> 	* features/arc/aux-v2-linux.c: Likewise.
>> 	* features/arc/core-arcompact-linux.c: Likewise.
>> 	* features/arc/core-v2-linux.c: Likewise.

Thanks, and sorry about the delay.  This is ok.

Tom


More information about the Gdb-patches mailing list