This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Possible regression on gdb.multi/multi-arch-exec.exp (was: Re: [PATCH] Use thread_info and inferior pointers more throughout)
- From: Keith Seitz <keiths at redhat dot com>
- To: Sergio Durigan Junior <sergiodj at redhat dot com>, Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 27 Jun 2018 11:39:47 -0700
- Subject: Re: Possible regression on gdb.multi/multi-arch-exec.exp (was: Re: [PATCH] Use thread_info and inferior pointers more throughout)
- References: <20180607180704.3991-1-palves@redhat.com> <87in649jtd.fsf@redhat.com>
On 06/27/2018 11:16 AM, Sergio Durigan Junior wrote:
> ../../binutils-gdb/gdb/target.c:3200: internal-error: gdbarch* default_thread_architecture(target_ops*, ptid_t): Assertion `inf != NULL' failed.
> A problem internal to GDB has been detected,
> further debugging may prove unreliable.
> Quit this debugging session? (y or n) FAIL: gdb.multi/multi-arch-exec.exp: first_arch=1: selected_thread=1: follow_exec_mode=new: continue across exec that changes architecture (GDB internal error)
>
FWIW, I see this on HEAD on my F26 box in the test suite:
$ make check TESTS="gdb.multi/multi-arch-exec.exp gdb.base/foll-exec-mode.exp"
[snip]
FAIL: gdb.multi/multi-arch-exec.exp: first_arch=1: selected_thread=1: follow_exec_mode=new: continue across exec that changes architecture (GDB internal error)
ERROR: : spawn id exp10 not open
while executing
"expect {
-i exp10 -timeout 10
-re "Quit this debugging session\\? \\(y or n\\) $" {
send_gdb "n\n"
incr count
}
-re "Create a core..."
("uplevel" body line 1)
invoked from within
"uplevel $body" NONE : spawn id exp10 not open
[snip]
=== gdb Summary ===
# of expected passes 35
# of unexpected failures 8
# of unresolved testcases 13
Unlike Sergio, I haven't looked into this at all. ;-)
Keith