Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@specifix.com>
To: Dean Tsai <dctsai.work@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: "Junk at end of arguments." when setting breakpoint
Date: Thu, 12 Jun 2008 21:07:00 -0000	[thread overview]
Message-ID: <1213304802.3601.720.camel@localhost.localdomain> (raw)
In-Reply-To: <38276ca0806121404u78184960o53a786548b885743@mail.gmail.com>

On Thu, 2008-06-12 at 17:04 -0400, Dean Tsai wrote:
> 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?
> 

Dean, 

Just a guess here, but could you try renaming 42init.c to 
some name that doesn't begin with a numeral?

Wondering if gdb is trying to parse it as a number...

If that does turn out to make a difference, you've got a 
genuine bug and we'll undertake to fix it.   ;-)


> 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)


  reply	other threads:[~2008-06-12 21:07 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-12 20:43 Dean Tsai
2008-06-12 20:57 ` Michael Snyder
2008-06-12 21:04   ` Dean Tsai
2008-06-12 21:07     ` Michael Snyder [this message]
2008-06-12 21:22       ` Dean Tsai
2008-06-12 21:42         ` Nick Roberts
2008-06-13  6:42         ` Eli Zaretskii
2008-06-13 13:01           ` Dean Tsai
2008-06-13 15:04             ` Eli Zaretskii
2008-06-13 15:58             ` Stan Shebs
2008-06-13 18:55             ` Michael Snyder
2008-06-13 19:33               ` Dean Tsai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1213304802.3601.720.camel@localhost.localdomain \
    --to=msnyder@specifix.com \
    --cc=dctsai.work@gmail.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox