aix: Debugging does not require a stack frame.
commitf47ecca87573244c138a585b2a734e4d7ab5d0a2
authorDavid Edelsohn <dje.gcc@gmail.com>
Sun, 4 Jun 2023 00:27:16 +0000 (3 20:27 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Mon, 12 Jun 2023 01:28:31 +0000 (11 21:28 -0400)
treeebbeb4ed89839102329be5579604cdeb545743d2
parent35e50a0eaaa51e736b40e6366b8a70c0a3c123ac
aix: Debugging does not require a stack frame.

The rs6000 port has allocated a stack frame when debugging is enabled
on AIX since the earliest versions of the port.  Apparently the
earliest versions of the debuggers for AIX had difficulty with stackless
frames.

Both AIX DBX and GDB support stackless frames on AIX, and IBM XLC,
OpenXL and LLVM for AIX do not generate an extraneous stack frame when
debugging is enabled.  This patch updates the rs6000 stack info function
to not set the stack frame flag when debugging is enabled for AIX.

gcc/ChangeLog:

* config/rs6000/rs6000-logue.cc (rs6000_stack_info):
Do not require a stack frame when debugging is enabled for AIX.

Signed-off-by: David Edelsohn <dje.gcc@gmail.com>
gcc/config/rs6000/rs6000-logue.cc