From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15925 invoked by alias); 13 Jun 2008 06:42:43 -0000 Received: (qmail 15916 invoked by uid 22791); 13 Jun 2008 06:42:42 -0000 X-Spam-Check-By: sourceware.org Received: from mtaout6.012.net.il (HELO mtaout6.012.net.il) (84.95.2.16) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 13 Jun 2008 06:42:16 +0000 Received: from HOME-C4E4A596F7 ([80.230.28.131]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K2E00C4N386CD60@i-mtaout6.012.net.il> for gdb@sourceware.org; Fri, 13 Jun 2008 09:55:21 +0300 (IDT) Date: Fri, 13 Jun 2008 06:42:00 -0000 From: Eli Zaretskii Subject: Re: "Junk at end of arguments." when setting breakpoint In-reply-to: <38276ca0806121422i2a538c0v64634c47016d2dda@mail.gmail.com> X-012-Sender: halo1@inter.net.il To: Dean Tsai Cc: msnyder@specifix.com, gdb@sourceware.org Reply-to: Eli Zaretskii Message-id: References: <38276ca0806121343w5f651869o94109be405e9f7a4@mail.gmail.com> <1213304219.3601.709.camel@localhost.localdomain> <38276ca0806121404u78184960o53a786548b885743@mail.gmail.com> <1213304802.3601.720.camel@localhost.localdomain> <38276ca0806121422i2a538c0v64634c47016d2dda@mail.gmail.com> X-IsSubscribed: yes 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-06/txt/msg00134.txt.bz2 > Date: Thu, 12 Jun 2008 17:22:03 -0400 > From: "Dean Tsai" > Cc: gdb@sourceware.org > > Unfortunately Michael, changing the leading filename to string didn't > help. I have changed 42init.c to tmp42init.c, changed my Makefile, > make clean, make...etc. The same problem persists. > > Would the following offer you additional insights? b > filename:functionname works!! > > (gdb) b 42init.c:InitSim > Breakpoint 1 at 0x10b90: file 42init.c, line 19. > (gdb) b 42init.c:19 > Junk at end of arguments. > (gdb) > > Any other ideas?! Thanks again! Does the below work as well? (gdb) b '42init.c:19'