Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Robert Norton" <rnorton@broadcom.com>
To: "Michael Snyder" <msnyder@vmware.com>,
		"Joel Sherrill" <joel.sherrill@oarcorp.com>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: RE: core dump when watchpoint set
Date: Fri, 12 Sep 2008 15:25:00 -0000	[thread overview]
Message-ID: <2DFD360E328B3941911E6D28B085D990100831A99F@SJEXCHCCR01.corp.ad.broadcom.com> (raw)
In-Reply-To: <48C6F43D.90601@vmware.com>

> -----Original Message-----
> From: gdb-owner@sourceware.org
> [mailto:gdb-owner@sourceware.org] On Behalf Of Michael Snyder
> Sent: 09 September 2008 23:10
> To: Joel Sherrill
> Cc: gdb@sourceware.org
> 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:

http://sourceware.org/ml/gdb-patches/2008-02/msg00472.html

Robert


  reply	other threads:[~2008-09-12 15:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-09 14:57 Joel Sherrill
2008-09-09 22:11 ` Michael Snyder
2008-09-12 15:25   ` Robert Norton [this message]
2008-09-12 16:11     ` Joel Sherrill

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2DFD360E328B3941911E6D28B085D990100831A99F@SJEXCHCCR01.corp.ad.broadcom.com \
    --to=rnorton@broadcom.com \
    --cc=gdb@sourceware.org \
    --cc=joel.sherrill@oarcorp.com \
    --cc=msnyder@vmware.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox