aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-01-24 21:30:37 +0000
committerFred Fish <fnf@specifix.com>1996-01-24 21:30:37 +0000
commite8f1ad9a8b8548dbc79c01b3df218ff2a97f1c05 (patch)
treedb230c832d5d2ec58b5e123a58512b7d56bf0d1a /gdb/NEWS
parent76e45938c3dbf2a25eb273bfcd3aa4961585dd5e (diff)
downloadgdb-e8f1ad9a8b8548dbc79c01b3df218ff2a97f1c05.zip
gdb-e8f1ad9a8b8548dbc79c01b3df218ff2a97f1c05.tar.gz
gdb-e8f1ad9a8b8548dbc79c01b3df218ff2a97f1c05.tar.bz2
* NEWS: Make note of new record and replay feature for
remote debug sessions. * serial.c (gdbcmd.h): Include. (serial_logfile, serial_logfp, serial_reading, serial_writing): Define here, for remote debug session logging. (serial_log_command, serial_logchar, serial_write, serial_readchar): New functions for remote debug session logging. (serial_open): Open remote debug session log file when needed. (serial_close): Close remote debug session log file when needed. (_initialize_serial): Add set/show commands for name of remote debug session log file. * serial.h (serial_readchar): Declare (SERIAL_READCHAR): Call serial_readchar(). (SERIAL_WRITE): Call serial_write(). (serial_close): Declare as extern. (serial_logfile, serial_logfp): Declare. * top.c (execute_command): Declare serial_logfp. Log user command in remote debug session log if log file is open. * remote-array.c (array_wait): #ifdef out echo to gdb_stdout. (array_read_inferior_memory): Rewrite to fix memory overwrite bug. * remote-array.c (SREC_SIZE): Remove, duplicates define in monitor.h. * remote-array.c (hexchars, hex2mem): Remove, unused. * gdbserver/low-linux.c (store_inferior_registers): Remove unnecessary extern declaration of registers[]. * gdbserver/Makefile.in (all): Add gdbreplay. * gdbserver/gdbreplay.c: New file. * gdbserver/README: Give example of recording a remote debug session with gdb and then replaying it with gdbreplay.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS10
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index 0867bde..813b60a 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -32,6 +32,16 @@ Note this feature does not work on hpux8. On hpux9 you must link
/usr/lib/end.o into your program. This feature should work automatically
on hpux10.
+* Recording and replaying remote debug sessions
+
+If you set "remotelogfile" gdb will use that filename to make a
+"recording" of a remote debug session which can be replayed back to
+gdb using "gdbreplay". See gdbserver/README for details. This is
+useful when you have a problem with gdb while doing remote debugging.
+By making a recording of the session and sending it to the gdb
+maintainers, it is possible to recreate your problem without access to
+the remote hardware you are using.
+
*** Changes in GDB-4.15:
* Psymtabs for XCOFF