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


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


  reply	other threads:[~2008-06-12 21:42 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
2008-06-12 21:22       ` Dean Tsai
2008-06-12 21:42         ` Nick Roberts [this message]
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=18513.38967.502325.538996@kahikatea.snap.net.nz \
    --to=nickrob@snap.net.nz \
    --cc=dctsai.work@gmail.com \
    --cc=gdb@sourceware.org \
    --cc=msnyder@specifix.com \
    /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