This is the mail archive of the gdb@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: <incomplete type>


On Fri, Sep 02, 2005 at 11:49:51AM +1000, Craig Jeffree wrote:
> On Thu, 2005-09-01 at 17:20 -0700, Jim Blandy wrote:
> > If you run GDB on the executable alone, without starting it, what does
> > 'ptype struct Soi::Waypoint' say?  (Running the program will load
> > shared libraries and possibly confuse the issue, but GDB should be
> > able to understand the info in the executable without running
> > anything.)
> 
>   (gdb) ptype struct Soi::Waypoint
>   No struct type named Soi.
> [That's right, Soi's a namespace, but why doesn't it recongnise
> Soi::Waypoint as a struct?]

Craig, could you try this using gdb -readnow?


-- 
Daniel Jacobowitz
CodeSourcery, LLC


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