[Bug compile/24750] New: MIPS: Couldn't write debug register: No such process.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug compile/24750] New: MIPS: Couldn't write debug register: No such process.

Martin.Jansa at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24750

            Bug ID: 24750
           Summary: MIPS: Couldn't write debug register: No such process.
           Product: gdb
           Version: 8.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: compile
          Assignee: unassigned at sourceware dot org
          Reporter: zhixiong.chi at windriver dot com
  Target Milestone: ---

Created attachment 11875
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11875&action=edit
loop.c

When trying to debug a userspace application on a cavium octeon3 board
sometimes I am getting an error:
"Couldn't write debug register: No such process." [not 100% reproducibility]

Even though he 8.3 version source code had include the patch "[MIPS] Use lwpid
from lwp_info instead of inferior_ptid commit
[7974a6050b6e2c44722a533e2d5d9131e7db00ff] ", the issue sometimes still can be
reproduced.

Steps to reproduce:
#gcc loop.c -lpthread
#./a.out 1>/dev/null &
#gdb ./a.out pid[a.out]
Reading symbols from a.out...done.
Attaching to program: /root/a.out, process 507
Couldn't write debug register: No such process.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug threads/24750] MIPS: Couldn't write debug register: No such process.

Martin.Jansa at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24750

ZhixiongChi <zhixiong.chi at windriver dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|compile                     |threads

--
You are receiving this mail because:
You are on the CC list for the bug.