This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/20770] New: gdbserver for mipsbe crash after reach breakpoint
- From: "jorge at senin dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 04 Nov 2016 19:09:41 +0000
- Subject: [Bug gdb/20770] New: gdbserver for mipsbe crash after reach breakpoint
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=20770
Bug ID: 20770
Summary: gdbserver for mipsbe crash after reach breakpoint
Product: gdb
Version: 7.12
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: jorge at senin dot org
Target Milestone: ---
Created attachment 9609
--> https://sourceware.org/bugzilla/attachment.cgi?id=9609&action=edit
patch for compile mips big endian
I have compiled gdbserver for mips big endian using Debian mips cross complier
---
wget https://ftp.gnu.org/gnu/gdb/gdb-7.12.tar.gz
tar zxvf gdb-7.12.tar.gz
cd gdb-7.12/
cd gdb/gdbserver/
patch -p1 < ./mips-patch
./configure --host=mips-linux-gnu
make LDFLAGS=-static
----
After compile gdbserver i copied it to my hardware target and I launched it
attaching to a PID:
---
gdbserver :1234 --attach 1884
---
Using IDA, I set few breakpoints, start debugging, press play to continue
running until breakpoint. Then I reach my firts break point that stops IDA and
give me the program control. From here, every next action I do (step in, step
over, run until breakpoint, etc...) ever crash the gdbserver with this output:
---
linux-low.c:2627: A problem internal to GDBserver has been detected.
int maybe_hw_step(thread_info*): Assertion `has_reinsert_breakpoints (thread)'
failed.
---
--
You are receiving this mail because:
You are on the CC list for the bug.