From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25742 invoked by alias); 29 Oct 2003 16:09:38 -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 25727 invoked from network); 29 Oct 2003 16:09:36 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 29 Oct 2003 16:09:36 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 983872B89; Tue, 28 Oct 2003 11:08:09 -0500 (EST) Message-ID: <3F9E9469.4050401@redhat.com> Date: Wed, 29 Oct 2003 16:09:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Buettner Cc: Andrew Cagney , gdb-patches@sources.redhat.com Subject: Re: [patch, rfa:ppc64, rfa:breakpoint] Add non-verbose breakpoint adjustment References: <3F9D5864.50807@redhat.com> <1031028205935.ZM3486@localhost.localdomain> <3F9DAC5F.8030007@redhat.com> <1031029032725.ZM4659@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-10/txt/msg00838.txt.bz2 > 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. Andrew