]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix max-depth test case for AIX.
authorAditya Vidyadhar Kamath <Aditya.Kamath1@ibm.com>
Wed, 10 Apr 2024 05:52:05 +0000 (00:52 -0500)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Wed, 17 Apr 2024 10:43:25 +0000 (12:43 +0200)
commit4d76c39f751dda04a386ca8ce5203e34bd0341fe
treeaf05bf09523ecfb5c50c2c915067d146cb7352b6
parent5b1c70bfe0d8f84dc28237d6150b7b9d57c791a8
Fix max-depth test case for AIX.

In AIX, if in the main program the global variables are unused then the linker optimises
these variables and the dwarf will not have proper address to the same. Hence we cannot access these
variables.

This patch is a fix to the same so that all the test case of max-depth can passs in AIX as well.
gdb/testsuite/gdb.base/max-depth.c