Skip to content
Commit 31757702 authored by Sandra Loosemore's avatar Sandra Loosemore
Browse files

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: default avatarTom Tromey <tom@tromey.com>
Approved-By: default avatarTom Tromey <tom@tromey.com>
parent 708cedb7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment