This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/10833] GDB crashes on debugging multithreaded program onARM SMP dual core system
- From: "blue.dragan+sourceware at gmail dot com"<sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sat, 10 Sep 2011 18:08:10 +0000
- Subject: [Bug gdb/10833] GDB crashes on debugging multithreaded program onARM SMP dual core system
- Auto-submitted: auto-generated
- References: <bug-10833-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=10833
--- Comment #12 from ChrisD <blue.dragan+sourceware at gmail dot com> 2011-09-10 18:08:10 UTC ---
This is from another run (different addresses):
This is the first instruction (from bpstat_what: bp_shlib_event):
(gdb) x/i 0x40013d64
0x40013d64: bx lr
This instruction is used to return from a function.
This is the instruction at which it hit a SIGILL:
Program received signal SIGILL, Illegal instruction.
infrun: stop_stepping
0x400087d4 in ?? () from /lib/ld-linux.so.3
(gdb) x/i 0x400087d4
=> 0x400087d4: bl 0x4000d7f0
Here's the target of this jump:
(gdb) x/i 0x4000d7f0
0x4000d7f0: push {r4, r5, r6, lr}
All this looks good.
Can you point me in the right direction about ptrace? I'm running kernel 2.6.36
(Android K36) and I can't upgrade it. If there is a bug in ptrace indeed, maybe
I can find out whether there was a bug filed for this and check whether it was
fixed in newer kernels, then apply that fix to my kernel.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.