• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: "Junk at end of arguments." when setting breakpoint in gdb / xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Fri, 13 Jun 2008 17:53:22 -0400

Dear apple community,

Is there a way for me to install a prior version of apple gdb on my MBP Leopard?

I know the same program works fine on my coworker's MBP Tiger with gdb-573.

Thanks!!

-Dean





On Fri, Jun 13, 2008 at 9:03 AM, Dean Tsai <email@hidden> wrote:
> Hi Jason,
>
> Unfortunately that is not it. Quotation marks don't help either. I
> dont know why it is telling me that the file cannot be found?! Here
> are a series of cases I tried. Notice 1) I have changed 42init.c to
> FTinit.c and 2) b filename:functionname works so I know the file exist
> in my program... please help :(
>
> I have a similar post on gdb mailling list. I will share any findings there.
>
> 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 FTinit.c:InitSim
> Breakpoint 1 at 0x10b90: file FTinit.c, line 19.
>
> (gdb) b FTinit.c:19
> Junk at end of arguments.
>
> (gdb) b 'FTinit.c:19'
> Function "19'" not defined in file FTinit.c.
> Make breakpoint pending on future shared library load? (y or [n])
>
> (gdb) b "FTinit.c:19"
> Junk at end of arguments.
>
> (gdb) b '"FTinit.c":19'
> No source file named "FTinit.c".
> Make breakpoint pending on future shared library load? (y or [n])
>
> (gdb) b "'FTinit.c':19"
> No source file named 'FTinit.c'.
> Make breakpoint pending on future shared library load? (y or [n])
>
> (gdb)
>
>
>
> On Thu, Jun 12, 2008 at 10:01 PM, Jason Molenda <email@hidden> wrote:
>>
>> On Jun 12, 2008, at 6:31 PM, Dean Tsai wrote:
>>
>>> 42init.c
>>
>> cough cough ahem!  A useful detail to mention when a parser is failing. :)
>>
>>> (gdb) b 42init.c:19
>>> Junk at end of arguments.
>>
>> Try adding double quotes around it, that seems to be enough for the parser
>> to figure out what's going on.
>>
>> (gdb) b "42.c:3"
>> Reading in symbols for 42.c...done.
>> Breakpoint 1 at 0x1fe7: file 42.c, line 3.
>> (gdb)
>>
>> or `b "42.c":3' if you prefer.
>>
>> 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

References: 
 >"Junk at end of arguments." when setting breakpoint in gdb / xcode (From: "Dean Tsai" <email@hidden>)
 >Re: "Junk at end of arguments." when setting breakpoint in gdb / xcode (From: Jason Molenda <email@hidden>)
 >Re: "Junk at end of arguments." when setting breakpoint in gdb / xcode (From: "Dean Tsai" <email@hidden>)
 >Re: "Junk at end of arguments." when setting breakpoint in gdb / xcode (From: Jason Molenda <email@hidden>)
 >Re: "Junk at end of arguments." when setting breakpoint in gdb / xcode (From: "Dean Tsai" <email@hidden>)

  • Prev by Date: header edits in framework bundle confuse me
  • Next by Date: Re: "Junk at end of arguments." when setting breakpoint in gdb / xcode
  • Previous by thread: Re: "Junk at end of arguments." when setting breakpoint in gdb / xcode
  • Next by thread: Re: "Junk at end of arguments." when setting breakpoint in gdb / xcode
  • Index(es):
    • Date
    • Thread