Skip to contentSkip to conversation

gdb: Add native GDB support for ARC

PATCH New Alexey Brodkin 1 participant 1 message Jun 15, 2021 Synopsys ARC architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gdb: Add native GDB support for ARC

This adds support of so-called "native" GDB for ARC processors. It was submitted upstream a bit late for inclusion in v10.x, but already in the upstream "master" branch and will be an essential part of v11.1 whenever it happens.

These are the changes from upstream "master":
* https://sourceware.org/git?p=binutils-gdb.git;a=commit;h=b4e3cd0440109d0a5552d3313ccbd35c8103335b
* https://sourceware.org/git?p=binutils-gdb.git;a=commit;h=d4af727286e3a9f177ba11677fbd3a012d36558a
* https://sourceware.org/git?p=binutils-gdb.git;a=commit;h=46023bbe81355230b4e7b76d3084337823d02362
* https://sourceware.org/git?p=binutils-gdb.git;a=commit;h=04c9f85efcd8df5fc482ce97c0104cc7dd5d19e6

Thanks a bunch to Anton & Shahab who made it possible!

---
 meta/recipes-devtools/gdb/gdb-10.2.inc             |   4 +
 .../0012-arc-Add-support-for-signal-handlers.patch | 218 +++++++++++
 ...pport-for-signal-frames-for-Linux-targets.patch | 232 ++++++++++++
 ...to-account-the-REGNUM-in-supply-collect-g.patch | 104 ++++++
 ...b-Add-native-support-for-ARC-in-GNU-Linux.patch | 414 +++++++++++++++++++++
 5 files changed, 972 insertions(+)
 create mode 100644 meta/recipes-devtools/gdb/gdb/0012-arc-Add-support-for-signal-handlers.patch
 create mode 100644 meta/recipes-devtools/gdb/gdb/0013-arc-Add-support-for-signal-frames-for-Linux-targets.patch
 create mode 100644 meta/recipes-devtools/gdb/gdb/0014-arc-Take-into-account-the-REGNUM-in-supply-collect-g.patch
 create mode 100644 meta/recipes-devtools/gdb/gdb/0015-gdb-Add-native-support-for-ARC-in-GNU-Linux.patch
meta/recipes-devtools/gdb/gdb-10.2.inc +4 -0
index 0a7df54e9f..0d275075e6 100644
@@ -15,5 +15,9 @@ SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.xz \
            file://0009-resolve-restrict-keyword-conflict.patch \
            file://0010-Fix-invalid-sigprocmask-call.patch \
            file://0011-gdbserver-ctrl-c-handling.patch \
+           file://0012-arc-Add-support-for-signal-handlers.patch \
+           file://0013-arc-Add-support-for-signal-frames-for-Linux-targets.patch \
+           file://0014-arc-Take-into-account-the-REGNUM-in-supply-collect-g.patch \
+           file://0015-gdb-Add-native-support-for-ARC-in-GNU-Linux.patch \
            "
 SRC_URI[sha256sum] = "aaa1223d534c9b700a8bec952d9748ee1977513f178727e1bee520ee000b4f29"
meta/recipes-devtools/gdb/gdb/0012-arc-Add-support-for-signal-handlers.patch new file +218 -0

218 lines not on this page · raw message

meta/recipes-devtools/gdb/gdb/0013-arc-Add-support-for-signal-frames-for-Linux-targets.patch new file +232 -0

232 lines not on this page · raw message

meta/recipes-devtools/gdb/gdb/0014-arc-Take-into-account-the-REGNUM-in-supply-collect-g.patch new file +104 -0

104 lines not on this page · raw message

meta/recipes-devtools/gdb/gdb/0015-gdb-Add-native-support-for-ARC-in-GNU-Linux.patch new file +414 -0

414 lines not on this page · raw message

Signature · 1 line
2.16.2