This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug server/17023] New: gdbserver crash inserting breakpoint on LynxOS


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]