From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18695 invoked by alias); 28 Aug 2003 20:20:08 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 18648 invoked from network); 28 Aug 2003 20:20:06 -0000 Received: from unknown (HELO hydra.ubicom.com) (4.20.168.98) by sources.redhat.com with SMTP; 28 Aug 2003 20:20:06 -0000 Received: FROM fenway.scenix.com BY hydra.ubicom.com ; Thu Aug 28 13:20:05 2003 -0700 Received: from nkelseyxp2 (NKELSEY-XP2 [192.168.1.187]) by fenway.scenix.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id RX5NBQB9; Thu, 28 Aug 2003 13:20:05 -0700 Message-ID: <018001c36da1$c491d640$0502a8c0@scenix.com> From: "Jafa" To: "Daniel Jacobowitz" Cc: References: <3F4E35CB.3080300@redhat.com> <015801c36d96$95ea2d20$0502a8c0@scenix.com> <20030828190222.GA6662@nevyn.them.org> Subject: Re: breakpoint on a non-executable line Date: Thu, 28 Aug 2003 20:20:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-SW-Source: 2003-08/txt/msg00318.txt.bz2 Hi Daniel, > Do you know if this is a change? yes, we moved to the top of trunk in December last year and started to see the problem. The previous version was about 2001 and worked as I would expect. I can check the exact dates if you like, or I don't mind working through it... I just wanted to make sure it wasn't a deliberate change. Thanks Nick ----- Original Message ----- From: "Daniel Jacobowitz" To: "Jafa" Cc: Sent: Thursday, August 28, 2003 12:02 PM Subject: Re: breakpoint on a non-executable line > *This message was transferred with a trial version of CommuniGate(tm) Pro* > On Thu, Aug 28, 2003 at 12:00:02PM -0700, Jafa wrote: > > Hi all, > > > > I am seeing a problem/feature? of gdb (June top of trunk) where if you issue > > a command to set a breakpoint on a non-executable line it will return the > > line specified, regardless of where it actually set. > > > > For example: > > > > (gdb) b /ubicom/toolchain/src/ld/ldmain.c:1 > > Breakpoint 2 at 0x41b800: file /ubicom/toolchain/src/ld/ldmain.c, line 1. > > > > (It actually put the breakpoint on line 167). > > > > Is this the desired behavior? I would have expected it to return success - > > line 167. > > Do you know if this is a change? > > -- > Daniel Jacobowitz > MontaVista Software Debian GNU/Linux Developer >