aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/skip-solib-lib.c
diff options
context:
space:
mode:
authorBruno Larsen <blarsen@redhat.com>2022-07-20 16:44:28 -0300
committerBruno Larsen <blarsen@redhat.com>2022-09-22 11:04:17 +0200
commit07bb02de7232c7d0974007296540d9887532b952 (patch)
tree1ff959244be541033afb99595f975e495107add2 /gdb/testsuite/gdb.base/skip-solib-lib.c
parentb59f8a90ba0866a8605106fdb09389833c7fe8ad (diff)
downloadgdb-07bb02de7232c7d0974007296540d9887532b952.zip
gdb-07bb02de7232c7d0974007296540d9887532b952.tar.gz
gdb-07bb02de7232c7d0974007296540d9887532b952.tar.bz2
gdb/testsuite: Add a proc to test where compiler links the epilogue
Different compilers link the epilogue of functions to different lines. As an example, gcc links it to the closing brace of the function, whereas clang links it to the last statement of the function. This difference is important for the testsuite, since the where GDB will land after a step can be wildly different. Where possible, this dependency should be side-stepped in the testsuite, but it isn't always possible, so this commit adds a gdb_caching_proc that is able to detect where the epilogue is linked, so tests can react accordingly.
Diffstat (limited to 'gdb/testsuite/gdb.base/skip-solib-lib.c')
0 files changed, 0 insertions, 0 deletions