From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31136 invoked by alias); 28 Aug 2003 19:00:16 -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 31129 invoked from network); 28 Aug 2003 19:00:15 -0000 Received: from unknown (HELO hydra.ubicom.com) (4.20.168.98) by sources.redhat.com with SMTP; 28 Aug 2003 19:00:15 -0000 Received: FROM fenway.scenix.com BY hydra.ubicom.com ; Thu Aug 28 12:00:02 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 RX5NBP7L; Thu, 28 Aug 2003 12:00:02 -0700 Message-ID: <015801c36d96$95ea2d20$0502a8c0@scenix.com> From: "Jafa" To: References: <3F4E35CB.3080300@redhat.com> Subject: breakpoint on a non-executable line Date: Thu, 28 Aug 2003 19:00: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/msg00312.txt.bz2 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. Nick