This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug corefiles/21395] thread.c:1010 internal-error: int is_executing(ptid_t): Assertion `tp' failed.
- From: "raajeshdasari at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 20 Apr 2017 11:01:19 +0000
- Subject: [Bug corefiles/21395] thread.c:1010 internal-error: int is_executing(ptid_t): Assertion `tp' failed.
- Auto-submitted: auto-generated
- References: <bug-21395-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=21395
raajeshdasari at gmail dot com <raajeshdasari at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P2 |P1
--- Comment #2 from raajeshdasari at gmail dot com <raajeshdasari at gmail dot com> ---
I have added few log messages in mips_linux_new_thread function in
mips-linux-nat.c file .
Added log message inside this "if" block.
if (ptrace (PTRACE_SET_WATCH_REGS, tid, &watch_mirror, NULL) == -1)
perror_with_name (_("Couldn't write debug register"));
I see that ptrace call() for one thread is failed and hence "Couldn't write
debug register: No such process" error is seen while trying to attach a multi
threaded application.
I also checked the ERROR code in the failure scenario, error code is ESRCH.
Could someone please look into this and provide some inputs.
Regards,
Rajesh.
--
You are receiving this mail because:
You are on the CC list for the bug.