This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug server/17023] New: gdbserver crash inserting breakpoint on LynxOS
- From: "brobecker at gnat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 04 Jun 2014 18:00:59 +0000
- Subject: [Bug server/17023] New: gdbserver crash inserting breakpoint on LynxOS
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=17023
Bug ID: 17023
Summary: gdbserver crash inserting breakpoint on LynxOS
Product: gdb
Version: HEAD
Status: NEW
Severity: critical
Priority: P2
Component: server
Assignee: unassigned at sourceware dot org
Reporter: brobecker at gnat dot com
Debugging a program on LynxOS via GDBserver, inserting a breakpoint and
resuming the program's execution causes GDBserver to crash while processing the
Z0 packet.
The crash appears in...
static int
z_type_supported (char z_type)
{
return (z_type >= '0' && z_type <= '4'
&& the_target->supports_z_point_type (z_type));
}
... because the_target->supports_z_point_type is not set (NULL) for this
target. Same for SPU, so chances are this target is also affected.
I will send a proposed fix to gdb-patches as soon as testing finishes.
--
You are receiving this mail because:
You are on the CC list for the bug.