[PATCH 0/3] Fix gdb.gdb/python-helper.exp + cleanups
Luis Machado
luis.machado@arm.com
Fri Sep 23 17:02:24 GMT 2022
On 9/23/22 15:17, Simon Marchi via Gdb-patches wrote:
> My patches that touched TYPE_LENGTH and TYPE_TARGET_TYPE caused
> regressions in gdb.gdb/python-helper.exp. I forgot to update
> gdb-gdb.py.in, as always.
>
> It looks like my CI doesn't run the test properly. Because inserting the
> first breakpoint times out, do_self_tests skips the test. I also had
> troubles running the test locally due to these timeouts. So the first
> two patches address problems related to that, and the third one is the
> actual fix.
>
> Simon Marchi (3):
> gdb/testsuite: bump duration for the whole test in do_self_tests
> gdb/testsuite: use gdb_test in gdb.gdb/python-helper.exp
> gdb/testsuite: update field names in gdb-gdb.py.in
>
> gdb/gdb-gdb.py.in | 4 +-
> gdb/testsuite/gdb.gdb/python-helper.exp | 88 +++++--------------------
> gdb/testsuite/lib/gdb.exp | 8 +--
> gdb/testsuite/lib/selftest-support.exp | 36 +++-------
> 4 files changed, 31 insertions(+), 105 deletions(-)
>
>
> base-commit: 8e037eae6823caf5b9cb5b4feb3de838abb25956
Thanks for the series. I tested this on my end and it seems to work nicely.
The only hiccup I noticed is when GDB runs into a SIGSEGV due to the guile
interpreter hitting GC_find_limit_with_bound. I'm not sure why this happens. Maybe
it is a problem with guile and armhf.
I don't think it is a flaw with the patch though. We'd have to go out of our way
to handle something like this in the testcase.
So this series LGTM.
More information about the Gdb-patches
mailing list