Index: index.html =================================================================== RCS file: /cvs/gdb/htdocs/news/index.html,v retrieving revision 1.84 retrieving revision 1.86 diff -u -p -r1.84 -r1.86 --- index.html 27 Mar 2008 19:16:42 -0000 1.84 +++ index.html 7 Sep 2009 17:29:47 -0000 1.86 @@ -63,6 +63,19 @@ better. --> +
September 6, 2009: Update: Reverse Debugging
+
+

GDB version 7.0, due to be released later this month, will +include the first public releases of reverse debugging and Process +Record and Replay. See the + wiki page. + +

The GDB maintainers are still looking for contributors interested +in helping to extend and develop +reverse debugging. +

+
+
March 27, 2008: GDB 6.8 Released!

The latest version of GDB, version 6.8, is available for

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.

-

Last modified 2008-03-27.

+

Last modified 2009-09-06.

Index: reversible.html =================================================================== RCS file: /cvs/gdb/htdocs/news/reversible.html,v retrieving revision 1.4 retrieving revision 1.5 diff -u -p -r1.4 -r1.5 --- reversible.html 7 Aug 2007 23:48:49 -0000 1.4 +++ reversible.html 7 Sep 2009 01:34:38 -0000 1.5 @@ -9,7 +9,7 @@ -GDB and Reversible Debugging +GDB and Reverse Debugging @@ -41,7 +41,7 @@ Fish]" />
-

GDB and Reversible Debugging

+

GDB and Reverse Debugging

@@ -51,63 +51,82 @@ Fish]" />

Overview

-

Reversible debugging (the ability to "step backwards" through a program) -is an obviously powerful tool. GDB does not support it today, but the -foundations have been laid, and the GDB maintainers are looking for -contributors interested in expanding those foundations.

+

GDB version 7.0 (due September 2009) will be the first public release +of gdb to support reverse debugging (the ability to make the program +being debugged step and continue in reverse). See the +wiki page +here. -

Prior work

+

Presently, only certain target debugging environments will support +reverse debugging. Those targets currently include:

+

All of those targets, plus any additional ones in the future, will +support a common user interface for reverse debugging in gdb, including +the new commands: + +

+ +

Breakpoints and watchpoints will work in reverse -- allowing you for +instance to proceed directly to the previous point at which a variable +was modified. +

Still to do

-

Once the basic commands are in GDB, it should be a simple matter of -programming to add support for this to various existing GNU simulators. It -could also be added either to native targets (perhaps based on the checkpoint / -restart functionality) or to other third-party simulators for GNU/Linux and -other platforms (such as valgrind, sid, or qemu).

- -

For the highest fidelity of reversible userspace debugging, some -work on Linux and other kernels might also go a long way.

- -

The FSF and the GDB maintainers are interested in GDB contributions -in this area. If anyone reading this is likewise interested in -contributing to it, we would welcome your help!

+

Now that the core GDB contains support for reverse debugging, it should +be possible to add revese execution support to existing GNU simulators +such as the ones built into GDB, as well as non-GNU targets such as +valgrind, SID, and qemu. + +

For greater performance and fidelity in userspace and/or kernel reverse +debugging, some work on GNU/Linux as well as other open source kernels +might be done. + +

The built-in GDB target 'Process Record / Replay' currently only supports +native reverse debugging on three platforms (i386-linux, amd64-linux, and +moxie-elf). Volunteers are needed to extend this functionality to other +GNU/Linux platforms, and even to other operating systems. + +

The FSF and GDB maintainers are eagerly seeking new volunteers and +contributions in this area. If anyone reading this is interested in +contributing to this leading edge area of research and development, +we would welcome your help! + +

Acknowledgements

+ @@ -150,7 +169,7 @@ Floor, Boston, MA 02110-1301 USA.

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.

-

Last modified 2007-07-31.

+

Last modified 2009-09-06.