diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2023-09-05 18:48:22 +0000 |
---|---|---|
committer | Sandra Loosemore <sandra@codesourcery.com> | 2023-09-05 18:48:22 +0000 |
commit | 317577025f5d749e1bbba11cd3e2b2e46cadc349 (patch) | |
tree | 6a97e81ac3810f7dc2d9f786609061f35ba93e90 /gdb/testsuite/gdb.python/python.c | |
parent | 708cedb722130686607d086085bac963a406580a (diff) | |
download | binutils-317577025f5d749e1bbba11cd3e2b2e46cadc349.zip binutils-317577025f5d749e1bbba11cd3e2b2e46cadc349.tar.gz binutils-317577025f5d749e1bbba11cd3e2b2e46cadc349.tar.bz2 |
gdb/testsuite: Fix style.exp failures on targets without argc/argv support
Some embedded targets don't have full support for argc/argv. argv
may print as "0x0" or as an address with a symbol name following.
This causes problems for the regexps in the style.exp line-wrapping
tests that assume it always prints as an ordinary address in backtrace
output.
This patch generalizes the regexps to handle these additional forms
and reworks some of the line-wrapping tests to account for the argv
address string being shorter or longer than a regular address.
Reviewed-By: Tom Tromey <tom@tromey.com>
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/testsuite/gdb.python/python.c')
0 files changed, 0 insertions, 0 deletions