"Junk at end of arguments." when setting breakpoint

Stan Shebs stanshebs@earthlink.net
Fri Jun 13 15:58:00 GMT 2008


Dean Tsai wrote:
> Hi Eli and others,
>
> No, quotation marks don't help either. I dont know what 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 :(
>   
This is most likely a bug specific to Apple's GDB, since they've made 
changes in that area, although it seems that Apple's own GDBers are 
mystified by this one, and can't reproduce it with their own examples. I 
think you're going to need to send them your program; if the normal 
filename is still causing complaints, I'm thinking there is some kind of 
data corruption or some such, maybe nothing to do with the filename. In 
any case, Apple's GDB is so different from FSF GDB that you really need 
to work with the Apple folks to get a resolution on this one.

Stan



More information about the Gdb mailing list