This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [i386/stabs] Arguments of main on gcc >= 4.1


> > Looking at your example above, what would work is if GCC was using
> > N_LSYM (128) symbols instead of N_PSYM symbols (160).
> 
> If it did that, they wouldn't be treated as arguments any more, just
> as local variables.  I think.

Duh, of course! Not sure what's best in this case - I would tend to
say it's a GCC bug, but perhaps others disagree.

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]