From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11056 invoked by alias); 12 Jun 2008 21:04:53 -0000 Received: (qmail 11048 invoked by uid 22791); 12 Jun 2008 21:04:52 -0000 X-Spam-Check-By: sourceware.org Received: from wf-out-1314.google.com (HELO wf-out-1314.google.com) (209.85.200.175) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 12 Jun 2008 21:04:35 +0000 Received: by wf-out-1314.google.com with SMTP id 28so3876430wfc.24 for ; Thu, 12 Jun 2008 14:04:33 -0700 (PDT) Received: by 10.142.241.15 with SMTP id o15mr734154wfh.54.1213304673732; Thu, 12 Jun 2008 14:04:33 -0700 (PDT) Received: by 10.143.45.15 with HTTP; Thu, 12 Jun 2008 14:04:33 -0700 (PDT) Message-ID: <38276ca0806121404u78184960o53a786548b885743@mail.gmail.com> Date: Thu, 12 Jun 2008 21:04:00 -0000 From: "Dean Tsai" To: "Michael Snyder" Subject: Re: "Junk at end of arguments." when setting breakpoint Cc: gdb@sourceware.org In-Reply-To: <1213304219.3601.709.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <38276ca0806121343w5f651869o94109be405e9f7a4@mail.gmail.com> <1213304219.3601.709.camel@localhost.localdomain> 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/msg00130.txt.bz2 Hi Michael, I am not sure exactly what you meant, but this is what I did to create the problem (see below). 42init.c actually resides in ./Source/ but I don't think it matter, does it? Thanks! -Dean LM220008151:42_SDP_tmp dtsai$ gdb 42 GNU gdb 6.3.50-20050815 (Apple version gdb-768) (Tue Oct 2 04:07:49 UTC 2007) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-apple-darwin"...Reading symbols for shared libraries ...... done (gdb) b 42init.c:14 Junk at end of arguments. (gdb) pwd Working directory /Users/dtsai/work/42_SDP_tmp. (gdb)