[PATCH] rtems/5: Update to gdb-8.2.2 with Jiri's SIS and RISCV patches.

Jiri Gaisler jiri at gaisler.se
Tue Feb 5 08:08:28 UTC 2019


On 2/5/19 9:05 AM, Sebastian Huber wrote:
> On 05/02/2019 05:24, chrisj at rtems.org wrote:
>> From: Chris Johns <chrisj at rtems.org>
>>
>> ---
>>   rtems/config/5/rtems-default.bset        |  2 +-
>>   rtems/config/tools/rtems-gdb-8.2.1-1.cfg | 18 ++++++++++++++++++
>>   2 files changed, 19 insertions(+), 1 deletion(-)
>>   create mode 100644 rtems/config/tools/rtems-gdb-8.2.1-1.cfg
>>
>> diff --git a/rtems/config/5/rtems-default.bset b/rtems/config/5/rtems-default.bset
>> index d3e5218..6f2e0a5 100644
>> --- a/rtems/config/5/rtems-default.bset
>> +++ b/rtems/config/5/rtems-default.bset
>> @@ -15,7 +15,7 @@
>>   #
>>     devel/expat-2.1.0-1
>> -tools/rtems-gdb-8.0.1-1
>> +tools/rtems-gdb-8.2.1-1
>>     tools/rtems-binutils-2.31.1
>>   tools/rtems-gcc-7.4.0-newlib-3e24fbf6f
>> diff --git a/rtems/config/tools/rtems-gdb-8.2.1-1.cfg b/rtems/config/tools/rtems-gdb-8.2.1-1.cfg
>> new file mode 100644
>> index 0000000..974577e
>> --- /dev/null
>> +++ b/rtems/config/tools/rtems-gdb-8.2.1-1.cfg
>> @@ -0,0 +1,18 @@
>> +#
>> +# GDB 8.2.1
>> +#
>> +
>> +%include %{_configdir}/checks.cfg
>> +%include %{_configdir}/base.cfg
>> +
>> +%define gdb_version 8.2.1
>> +%define gdb_src_ext xz
>> +%hash sha512 gdb-%{gdb_version}.tar.xz 2aa81cfd389bb48c35d7d9f95cc10e88b4f7ad4597bdde0f8f1fd312f60f10d9fb2cc6e5a9355227d89ff328f7feb0fc411a69394560cafeb9fa75d35d896d11
>> +
>> +%patch add gdb https://devel.rtems.org/raw-attachment/ticket/3460/gdb-8.2.1-sis-2.11.patch.bz2
>> +%hash sha512 gdb-8.2.1-sis-2.11.patch.bz2 e7edaab94b36d0261a68c07780f881a7dcfaacc9a4c62a006d4b3a7cb24764455fd0081c9c4c30466f04fcbe75ff233743ba3a720bb909328670d74d47cf22a0
>> +
>> +%patch add gdb https://devel.rtems.org/raw-attachment/ticket/3460/gdb-8.2.1-riscv-config.patch
>> +%hash sha512 gdb-8.2.1-riscv-config.patch 193eb9ddfc79c494eb8b1e971cc230f5f01b1653ba3f85b8541b973dfcd23ead65dea7a638a6ccdb7f6fc0201f9a764bfdf3f89b2d9afba5c13a5ca97e52ce9d
>> +
>> +%include %{_configdir}/gdb-8-1.cfg
>
> RISC-V uses a custom GDB version. Should it be changed to use GDB 8.2.1 with this patch instead?

I thought the idea was to switch all architectures to gdb-8.2.1. RISC-V is supported in 8.2.1 and works well in all my tests.





More information about the devel mailing list