This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v3 5/5] btrace, testsuite: fix extended-remote fail
On 01/30/2017 10:05 AM, Markus Metzger wrote:
> Parts of gdb.btrace/enable.exp are only valid for native debug. The check for
> skip_gdbserver_tests is done while GDB is running, though, which causes it to
> fail with --target_board=native-extended-gdbserver. Exit GDB before that check.
>
Can you clarify how it fails? It's not obvious to me from looking at
skip_gdbserver_tests.
Should we add something like:
global gdb_spawn_id
if {[info exists gdb_spawn_id]} {
error "....."
return
}
... to skip_gdbserver_tests ?
Thanks,
Pedro Alves