core dump when watchpoint set

Robert Norton
Fri Sep 12 15:25:00 GMT 2008

> -----Original Message-----
> From:
> [] On Behalf Of Michael Snyder
> Sent: 09 September 2008 23:10
> To: Joel Sherrill
> Cc:
> Subject: Re: core dump when watchpoint set
> Hmmm, yeah, a null value is being passed up, resulting in
> a null type being sent to value_type, which dereferences it
> without null-checking.
> And in fact, the current source (breakpoint.c) does check
> b->val != NULL before it makes the corresponding call.
> So you can expect that this is fixed.

In fact I fixed exactly this bug in our 6.8 port this week by applying this patch:


More information about the Gdb mailing list