This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/21490] New: gdb/thread.c:1121: internal-error: void finish_thread_state(ptid_t): Assertion `tp' failed.
- From: "anton at samba dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sat, 13 May 2017 17:58:19 +0000
- Subject: [Bug gdb/21490] New: gdb/thread.c:1121: internal-error: void finish_thread_state(ptid_t): Assertion `tp' failed.
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=21490
Bug ID: 21490
Summary: gdb/thread.c:1121: internal-error: void
finish_thread_state(ptid_t): Assertion `tp' failed.
Product: gdb
Version: HEAD
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: anton at samba dot org
Target Milestone: ---
I hit this assert on ppc64le with a build of HEAD from today:
gdb/thread.c:1121: internal-error: void finish_thread_state(ptid_t): Assertion
`tp' failed.
To reproduce
# cat testcase.S
#include <ppc-asm.h>
#include <syscall.h>
FUNC_START(_start)
li r0,SYS_exit
li r3,0
sc
FUNC_END(_start)
# cat cmds
set pagination off
break _start
run
layout reg
stepi 5
# gcc -ffreestanding -nostdlib -fno-builtin -static -o testcase testcase.S
# gdb -x cmds ./testcase
[Inferior 1 (process 88304) exited normally]
../../binutils-gdb/gdb/thread.c:1121: internal-error: void
finish_thread_state(ptid_t): Assertion `tp' failed.
A problem internal to GDB has been detected,
--
You are receiving this mail because:
You are on the CC list for the bug.