gdb: Add PowerPC support to gdb.dwarf2/frame-inlined-in-outer-frame
authorCarl Love <cel@us.ibm.com>
Fri, 19 Nov 2021 18:33:51 +0000 (18:33 +0000)
committerCarl Love <cel@us.ibm.com>
Mon, 6 Dec 2021 19:49:20 +0000 (13:49 -0600)
commita85885ff7ec52a8fe4a0b1008bcde20ff13c54d0
treedc1cc1632e4b93d1692c8789f0d4a58e2b31b77d
parentb082698c5cb9c076628476b132a140ca78e9c03b
gdb: Add PowerPC support to gdb.dwarf2/frame-inlined-in-outer-frame

This patch adds an #elif defined for PowerPC to setup the exit_0 macro.
This patch addes the needed macro definitionald logic to handle both elfV1
and elfV2.

The patch has been successfully tested on both PowerPC BE, Powerpc LE and
X86_64 with no regressions.
gdb/testsuite/gdb.dwarf2/frame-inlined-in-outer-frame.S