From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1533 invoked by alias); 12 Jun 2008 20:43:38 -0000 Received: (qmail 1525 invoked by uid 22791); 12 Jun 2008 20:43:38 -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 20:43:20 +0000 Received: by wf-out-1314.google.com with SMTP id 28so3868936wfc.24 for ; Thu, 12 Jun 2008 13:43:18 -0700 (PDT) Received: by 10.142.155.4 with SMTP id c4mr732902wfe.9.1213303398517; Thu, 12 Jun 2008 13:43:18 -0700 (PDT) Received: by 10.143.45.15 with HTTP; Thu, 12 Jun 2008 13:43:18 -0700 (PDT) Message-ID: <38276ca0806121343w5f651869o94109be405e9f7a4@mail.gmail.com> Date: Thu, 12 Jun 2008 20:43:00 -0000 From: "Dean Tsai" To: gdb@sourceware.org Subject: "Junk at end of arguments." when setting breakpoint MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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/msg00127.txt.bz2 Got a question about using gdb. It is probably something really straightforward so all you experts please help~ When I issue a breakpoint with "b filename:linenumber", I got the "Junk at end of arguments." error. What does that mean? And what may have caused it? I have been using gdb for the last few months on a linux machine, and I didn't have this problem. But I couldn't get it to work on my new machine, MacBookPro 10.5 Leopard, running GNU gdb 6.3.50-20050815 (Apple version gdb-768). Thanks in advance, -Dean