diff options
author | Lancelot SIX <lancelot.six@amd.com> | 2022-01-19 05:44:06 -0500 |
---|---|---|
committer | Lancelot SIX <lancelot.six@amd.com> | 2022-01-26 04:38:33 -0500 |
commit | 8357282156771d782be3e3c3d44cc5ad7e1f89d7 (patch) | |
tree | 54b776ff92f32fa11e3c09e7ccbda068afb09d27 /gdb/python/py-membuf.c | |
parent | a80032197f98e56ff63176f75ffa4c7ded9c5207 (diff) | |
download | binutils-8357282156771d782be3e3c3d44cc5ad7e1f89d7.zip binutils-8357282156771d782be3e3c3d44cc5ad7e1f89d7.tar.gz binutils-8357282156771d782be3e3c3d44cc5ad7e1f89d7.tar.bz2 |
gdb/testsuite: Ensure constant test name in gdb.base/break-interp.exp
When running the testsuite, I have lines similar to the following in the
gdb.sum file:
~~~
PASS: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=NO: first backtrace: p /x 0x7f283d2f0fd1
...
PASS: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=NO: binprelink=NO: binsepdebug=NO: binpie=NO: INNER: first backtrace: p /x 0x7f00de0317a5
...
~~~
The address part of the command might change between execution of the
test, which adds noise to a diff between two .sum files.
This patch changes to test name to "p /x $pc" in order to have constant
test name.
Tested on x86_64-Linux.
Change-Id: I973c1237a084dd6d424276443cbf0920533c9a21
Diffstat (limited to 'gdb/python/py-membuf.c')
0 files changed, 0 insertions, 0 deletions