This is the mail archive of the
mailing list for the GDB project.
- From: Nick Roberts <nick at nick dot uklinux dot net>
- To: Andrew Cagney <cagney at gnu dot org>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 29 Jan 2004 00:11:40 +0000
- Subject: Annotations
- References: <firstname.lastname@example.org><4016A245.email@example.com>
> Can you post a log with/with-out this patch to illustrate what's
> happening. You're right - emacs should see "stopped" first but there
> might be a better long-term way to do this.
> I suspect this will mean playing with the print-stop-reason code.
Please ignore the patch (I should have said it was inelegant and did not work).
The bug is real, however. See below.
Similar (stream separation) problems occur with GDB output running
multi-threaded programs. However, I don't know how much effort you are
prepared to spend on annotations. If you guide me I can look at annotate.c.
Jim Blandy has suggested using the tty command for stream separation but
presumably this wouldn't work on Windows.
j = 1;
i = 1;
i = 2;
gdb -ann=2 example
set height 0
(Frame details are given before the stopped annotation and so appear to
be program output)
^Z^Zframe-begin 0 0x8048336