From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31105 invoked by alias); 12 Jun 2008 21:42:52 -0000 Received: (qmail 31097 invoked by uid 22791); 12 Jun 2008 21:42:51 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.25) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 12 Jun 2008 21:42:24 +0000 Received: from kahikatea.snap.net.nz (182.30.255.123.static.snap.net.nz [123.255.30.182]) by viper.snap.net.nz (Postfix) with ESMTP id 9E4923DA18B; Fri, 13 Jun 2008 09:42:21 +1200 (NZST) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 77E5A8FC6D; Fri, 13 Jun 2008 09:42:16 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18513.38967.502325.538996@kahikatea.snap.net.nz> Date: Thu, 12 Jun 2008 21:42:00 -0000 To: "Dean Tsai" Cc: "Michael Snyder" , gdb@sourceware.org Subject: Re: "Junk at end of arguments." when setting breakpoint In-Reply-To: <38276ca0806121422i2a538c0v64634c47016d2dda@mail.gmail.com> 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-Mailer: VM 7.19 under Emacs 22.2.50.2 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/msg00133.txt.bz2 Dean Tsai writes: > 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! You need to post a small reproducible testcase to see if the problem happens with FSF GDB. Apple have their own version of GDB. They sometimes read this list but if it's an Apple only problem, you might have better luck posting to one of their lists at http://lists.apple.com/index.html. -- Nick http://www.inet.net.nz/~nickrob