Re: "Junk at end of arguments." when setting breakpoint in gdb / xcode
Re: "Junk at end of arguments." when setting breakpoint in gdb / xcode
- Subject: Re: "Junk at end of arguments." when setting breakpoint in gdb / xcode
- From: "Dean Tsai" <email@hidden>
- Date: Thu, 12 Jun 2008 21:31:20 -0400
Hi Jason,
This is what I did. '42' is my program. 42init.c actually resides in
./Source/ but I
don't think it matters, does it? Notice 'b filename:functionname'
works as expected.
Thanks in advance!
-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:InitSim
Breakpoint 1 at 0x10b90: file 42init.c, line 19.
(gdb) b 42init.c:19
Junk at end of arguments.
(gdb) pwd
Working directory /Users/dtsai/work/42_SDP_tmp.
(gdb)
On Thu, Jun 12, 2008 at 7:49 PM, Jason Molenda <email@hidden> wrote:
>
> On Jun 12, 2008, at 4:35 PM, Dean Tsai wrote:
>
>> When I issue a breakpoint with "b filename:linenumber", I got the
>> "Junk at end of arguments." error.
>
> Can you show the actual thing you typed to gdb along with the error message?
> "b filename:linenumber" works for me - so there must be something in the
> specific details of your filename and your linenumber which are important.
>
> J
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden