Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* meaning of tags in output
@ 2013-04-19  6:58 Markus Teich
  2013-04-23 18:17 ` Tom Tromey
  0 siblings, 1 reply; 4+ messages in thread
From: Markus Teich @ 2013-04-19  6:58 UTC (permalink / raw)
  To: gdb

Hello,

i found that some expressions give extra tags in the output when
printed. Unfortunately i did not find any documentation about them, so i
looked in the source and tried to summarize them myself.
Is there already a documented list?
Since i am only working with C-Code right now, i tried to filter, which
tags are relevant for C and which are not.
Can you help me complete/correct the list?

--Markus


<synthetic pointer>
if "this" is not used in a C++ member function it is an synthetic pointer.
irrelevant for C.

<repeats %u times>
can be omitted with 'set print elements 0'

<invalid address>
seems to be only used for Pascal and C++ source.

<error reading variable>
occurs, when a variable is printed which is not yet initialized. Is it
C++ only?

<address of value unknown>
???seems to be for errorhandling in gdb???

<internal function %s>
???

<incomplete sequence %WHATEV>
seems to only occur, when gdb interprets something as a wchar array and
finds a "half" wchar.

<unavailable>
???

<Error reading address %HEX?: %s>
could not read adress. What is the difference to the next tag?

<Address %HEX out of bounds>
Memory access on BADFOOD pointer

<invalid float value>
google hints: could be serious (stack corruption?).

<incomplete type>
occurs if e.g. type is a struct without members.

<optimized out>
compiler optimizations.


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

end of thread, other threads:[~2013-04-24 19:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-19  6:58 meaning of tags in output Markus Teich
2013-04-23 18:17 ` Tom Tromey
2013-04-23 18:53   ` Markus Teich
2013-04-24 19:09     ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox