From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30272 invoked by alias); 12 Sep 2008 16:11:53 -0000 Received: (qmail 30261 invoked by uid 22791); 12 Sep 2008 16:11:52 -0000 X-Spam-Check-By: sourceware.org Received: from mail.oarcorp.com (HELO OARmail.OARCORP.com) (216.186.189.5) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 12 Sep 2008 16:11:03 +0000 Received: from [192.168.1.3] (192.168.1.3) by OARmail.OARCORP.com (192.168.2.2) with Microsoft SMTP Server (TLS) id 8.1.291.1; Fri, 12 Sep 2008 11:08:55 -0500 Message-ID: <48CA948F.1080705@oarcorp.com> Date: Fri, 12 Sep 2008 16:11:00 -0000 From: Joel Sherrill User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: Robert Norton CC: Michael Snyder , "gdb@sourceware.org" , Ralf Corsepius Subject: Re: core dump when watchpoint set References: <48C68C26.3030305@oarcorp.com> <48C6F43D.90601@vmware.com> <2DFD360E328B3941911E6D28B085D990100831A99F@SJEXCHCCR01.corp.ad.broadcom.com> In-Reply-To: <2DFD360E328B3941911E6D28B085D990100831A99F@SJEXCHCCR01.corp.ad.broadcom.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-09/txt/msg00074.txt.bz2 Robert Norton wrote: >> -----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 > > Thank you. I can confirm it fixes the issue when used with psim as well. Ralf.. could you add this patch to the RTEMS gdb 6.8 set? Thanks. > Robert > > -- Joel Sherrill, Ph.D. Director of Research & Development joel.sherrill@OARcorp.com On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available (256) 722-9985