public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Insight 5.0 questions
@ 2001-03-10 13:28 Raja Gobi
  2001-03-11 20:33 ` more
  0 siblings, 1 reply; 2+ messages in thread
From: Raja Gobi @ 2001-03-10 13:28 UTC (permalink / raw)
  To: insight

Hi all,

    I am working with Insight 5.0 and have a question.

    Structure printing: With the Insight 5.0 release, when I try to
display a structure using  "print* pointer_to_structure", it does
not display the structure by field names. Was this feature added
in later versions of GDB or am I doing something wrong?

Thanks,
-Raja.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Insight 5.0 questions
  2001-03-10 13:28 Insight 5.0 questions Raja Gobi
@ 2001-03-11 20:33 ` more
  0 siblings, 0 replies; 2+ messages in thread
From: more @ 2001-03-11 20:33 UTC (permalink / raw)
  To: Raja Gobi; +Cc: insight

>     Structure printing: With the Insight 5.0 release, when I try to
> display a structure using  "print* pointer_to_structure", it does
> not display the structure by field names. Was this feature added
> in later versions of GDB or am I doing something wrong?
You should use "print* (struct <structure name> *)pointer_to_structure",
gdb could not know the pointed memory space's structure.
Or you could use the menu view->watch_expressions in insight.

Regards,
more.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-03-11 20:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-10 13:28 Insight 5.0 questions Raja Gobi
2001-03-11 20:33 ` more

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).