This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug threads/17298] New: gcore: Couldn't get registers: No such process.
- From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 21 Aug 2014 18:48:36 +0000
- Subject: [Bug threads/17298] New: gcore: Couldn't get registers: No such process.
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=17298
Bug ID: 17298
Summary: gcore: Couldn't get registers: No such process.
Product: gdb
Version: 7.8
Status: NEW
Severity: normal
Priority: P2
Component: threads
Assignee: unassigned at sourceware dot org
Reporter: jan.kratochvil at redhat dot com
Target: x86_64-linux-gnu
Program received signal SIGABRT, Aborted.
[...]
(gdb) gcore foobar
Couldn't get registers: No such process.
(gdb) info threads
[...]
(gdb) gcore foobar
Saved corefile foobar
(gdb)
gcore tries to access the exited thread:
[Thread 0x7ffff7fce700 (LWP 6895) exited]
ptrace(PTRACE_GETREGS, 6895, 0, 0x7fff18167dd0) = -1 ESRCH (No such process)
--
You are receiving this mail because:
You are on the CC list for the bug.