[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gdb futures
From: |
Jim Blandy |
Subject: |
Re: gdb futures |
Date: |
05 Jun 2001 10:04:11 -0500 |
"Nelson H. F. Beebe" <address@hidden> writes:
> Occasionally in the past, and again this week, I've had occasion to
> need a facility that no debugger I've ever encountered, including gdb,
> appears to offer: animation. By that, I mean the ability to run the
> debugger in a mode where it gets an apparently unbounded stream of
> "next" or "step" instructions which it reads, executes, displays the
> current statement, and continues.
(gdb) zenia:play$ gdb rtti
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) break main
Breakpoint 1 at 0x8048716: file rtti.cc, line 33.
(gdb) set height 0
(gdb) run
Starting program: /home/jimb/c++v3/play/rtti
Breakpoint 1, main () at rtti.cc:33
33 A a;
(gdb) while 1
>step
>end
_ZN1AC1Ev (this=0xbfffe050) at rtti.cc:33
33 A a;
main () at rtti.cc:34
34 B b;
_ZN1BC1Ev (this=0xbfffe040) at rtti.cc:34
34 B b;
_ZN1AC2Ev (this=0xbfffe040) at rtti.cc:33
33 A a;
0x8048853 in _ZN1BC1Ev (this=0xbfffe040) at rtti.cc:34
34 B b;
main () at rtti.cc:35
35 D d;
_ZN1DC1Ev (this=0xbfffe020) at rtti.cc:35
35 D d;
_ZN1CC2Ev (this=0xbfffe020) at rtti.cc:35
35 D d;
0x8048883 in _ZN1DC1Ev (this=0xbfffe020) at rtti.cc:35
35 D d;
_ZN1AC2Ev (this=0xbfffe028) at rtti.cc:33
33 A a;
0x8048892 in _ZN1DC1Ev (this=0xbfffe020) at rtti.cc:35
35 D d;
main () at rtti.cc:37
...
- gdb futures, Nelson H. F. Beebe, 2001/06/04
- Re: gdb futures,
Jim Blandy <=