bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gdb 5.0 prints '^Z^Z' for 'frame'


From: Kevin Buettner
Subject: Re: gdb 5.0 prints '^Z^Z' for 'frame'
Date: Tue, 16 Jan 2001 14:06:46 -0700

On Jan 13,  6:18pm, Harald Dunkel wrote:

> Sometimes gdb seems to write some lines starting '^Z^Z'. The lines
> look like this
> 
>      ^Z^Z/somepath/hello.cxx:38:1146:beg:0x8021c
> 
> What does this mean?

Those are the annotations that gdb outputs to provide emacs (and
other programs which invoke gdb) with the path, line number,
character position (in the file), etc for the line of source
code at which you're currently stopped.

I think the above says that you're stopped a line 38 in
/somepath/hello.cxx.  Also, you're at character position 1146 in
the file.  I'm don't know what the "beg" is used for, but I think
it indicates that you're at the beginning of the line.  (Either
"beg" or "middle" will be output.)  0x8021c is the address at
which your program is stopped.

> How can I suppress these lines?

Find out how/where these annotations are getting enabled and disable
them.  If you're invoking gdb from a script, look for commandline
switches like --annotate, --fullname, and --epoch.  Otherwise, look
at your .gdbinit file look for a command like ``set annotate 1''.

If you just want to disable these on the fly, do ``set annotate 0''
at the gdb prompt.

Kevin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]