From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7197 invoked by alias); 29 Oct 2003 16:30:26 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 7188 invoked from network); 29 Oct 2003 16:30:25 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 29 Oct 2003 16:30:25 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h9TGUPM11666 for ; Wed, 29 Oct 2003 11:30:25 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h9TGUP606049 for ; Wed, 29 Oct 2003 11:30:25 -0500 Received: from localhost.localdomain (vpn50-2.rdu.redhat.com [172.16.50.2]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id h9TGUNju031764; Wed, 29 Oct 2003 11:30:24 -0500 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id h9TGUIx06881; Wed, 29 Oct 2003 09:30:18 -0700 Date: Wed, 29 Oct 2003 16:30:00 -0000 From: Kevin Buettner Message-Id: <1031029163018.ZM6880@localhost.localdomain> In-Reply-To: Andrew Cagney "Re: [patch, rfa:ppc64, rfa:breakpoint] Add non-verbose breakpoint adjustment" (Oct 28, 11:08am) References: <3F9D5864.50807@redhat.com> <1031028205935.ZM3486@localhost.localdomain> <3F9DAC5F.8030007@redhat.com> <1031029032725.ZM4659@localhost.localdomain> <3F9E9469.4050401@redhat.com> To: Andrew Cagney , Kevin Buettner Subject: Re: [patch, rfa:ppc64, rfa:breakpoint] Add non-verbose breakpoint adjustment Cc: gdb-patches@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-10/txt/msg00839.txt.bz2 On Oct 28, 11:08am, Andrew Cagney wrote: > > As a user, it annoyed me :-) > >> > >> If you'd prefer I'll let PPC64 print both warnings as well. > > > > ppc and frv are very different. > > I'm not so sure. Here's the interaction: > > (gdb) print &main > $1 = ( *) 0x104e5a60 > (gdb) break main > Breakpoint 2 at 0x100895d0 > (gdb) run > Starting program: > /home/cagney/PENDING/YYYY-MM-DD-target-convert-func/64/gdb/stripped.gdb > ... > Breakpoint 2, 0x00000000100895d0 in .main () > (gdb) > > (I've yet to figure out why GDB keeps reporting those breakpoints). ?? > Notice how "main" is in the data space yet GDB set a code space > breakpoint (and even stopped on a different symbol). Might as well > notify the user of this adjustment. Okay, I see your point. This is surprising enough to merit a warning. Kevin