diff options
author | Alexey Brodkin <abrodkin@synopsys.com> | 2021-09-10 14:10:20 (GMT) |
---|---|---|
committer | Alexey Brodkin <abrodkin@synopsys.com> | 2021-09-14 11:30:17 (GMT) |
commit | 8099a7475083e04429990c53cd490cda9eb63d68 (patch) | |
tree | b4375d82781540ab7fdf2f0e132c1073ae3c9131 /packages/gdb/10.2/0011-gdb-Use-correct-feature-in-tdesc-regs-for-ARC.patch | |
parent | d6eeff01a65439bdf74ac261124caec27e75d17a (diff) |
gdb10: Fixes for ARC
Here we add a couple of fixes and improvements for ARC processors.
All except 1 patch are already in the upstream "master" branch
and will be an essential part of GCC 11.x whenever it gets released.
The most important are first 4 patches (0005-0008) which introduce
support of full native GDB support in Linux on ARC.
And the rests are tiny, yet useful improvements.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'packages/gdb/10.2/0011-gdb-Use-correct-feature-in-tdesc-regs-for-ARC.patch')
-rw-r--r-- | packages/gdb/10.2/0011-gdb-Use-correct-feature-in-tdesc-regs-for-ARC.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/packages/gdb/10.2/0011-gdb-Use-correct-feature-in-tdesc-regs-for-ARC.patch b/packages/gdb/10.2/0011-gdb-Use-correct-feature-in-tdesc-regs-for-ARC.patch new file mode 100644 index 0000000..6d0f3f0 --- /dev/null +++ b/packages/gdb/10.2/0011-gdb-Use-correct-feature-in-tdesc-regs-for-ARC.patch @@ -0,0 +1,32 @@ +From cf33efc0d41a81c67511954fe75b7f63048d86a9 Mon Sep 17 00:00:00 2001 +From: Shahab Vahedi <shahab@synopsys.com> +Date: Tue, 10 Dec 2019 16:25:08 +0100 +Subject: [PATCH 14/20] gdb: Use correct feature in tdesc-regs for ARC + +tdesc-regs.exp test fails for ARC because the test is not +using the correct XML files as target description. With +this change, the correct directory and files are used. + +gdb/testsuite/ChangeLog: +2020-04-01 Shahab Vahedi <shahab@synopsys.com> + + * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC. + +Will be a part of GDB 11: +https://sourceware.org/git?p=binutils-gdb.git;a=commit;h=3eccb1c8bfd1f119bbc55bf2821d0e4d76116b67 +--- + gdb/testsuite/gdb.xml/tdesc-regs.exp | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +--- a/gdb/testsuite/gdb.xml/tdesc-regs.exp ++++ b/gdb/testsuite/gdb.xml/tdesc-regs.exp +@@ -32,7 +32,8 @@ + } + "arc*-*-*" { + set architecture "arc:ARCv2" +- set core-regs {arc-v2.xml} ++ set regdir "arc/" ++ set core-regs {core-v2.xml aux-v2.xml} + } + "arm*-*-*" { + set regdir "arm/" |