aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2009-10-28 15:01:27 +0000
committerJoel Brobecker <brobecker@gnat.com>2009-10-28 15:01:27 +0000
commit9a7071a8ce92ca34996d97b77e72ac8cc3946cd6 (patch)
tree9f70f54a268195155ff17a5b382b60a41d5d38f3 /gdb/NEWS
parent14610ad10e3d4b84565d3590eaa9582f9793f743 (diff)
downloadgdb-9a7071a8ce92ca34996d97b77e72ac8cc3946cd6.zip
gdb-9a7071a8ce92ca34996d97b77e72ac8cc3946cd6.tar.gz
gdb-9a7071a8ce92ca34996d97b77e72ac8cc3946cd6.tar.bz2
gdb/:
* remote.c (interrupt_sequence_control_c) (interrupt_sequence_break, interrupt_sequence_break_g) (interrupt_sequence_modes): New constants. (interrupt_sequence_mode, interrupt_on_connect): New variable. (show_interrupt_sequence): New function. (set_remotebreak, show_remotebreak): New function. (send_interrupt_sequence): New function. (remote_start_remote): Call send_interrupt_sequence if interrupt_on_connect is true. (remote_stop_as): Call send_interrupt_sequence. (_initialize_remote): Add interrupt-sequence and interrupt-on-connect, modify remotebreak to call set_remotebreak and show_remotebreak. * NEWS: Add entry for "set/show remote interrupt-sequence" and "set/show remote interrupt-on-connect". Also mention that "set/show remotebreak" is now deprecated. gdb/doc/: * gdb.texinfo (Remote Configuration): Add "set/show remote interrupt-sequence" and "set/show remote interrupt-on-connect" command.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS18
1 files changed, 18 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index b95edba..d20d8e6 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -37,6 +37,24 @@ remove-inferior ID
maint info program-spaces
List the program spaces loaded into GDB.
+set remote interrupt-sequence [Ctrl-C | BREAK | BREAK-g]
+show remote interrupt-sequence
+ Allow the user to select one of ^C, a BREAK signal or BREAK-g
+ as the sequence to the remote target in order to interrupt the execution.
+ Ctrl-C is a default. Some system prefers BREAK which is high level of
+ serial line for some certain time. Linux kernel prefers BREAK-g, a.k.a
+ Magic SysRq g. It is BREAK signal and character 'g'.
+
+set remote interrupt-on-connect [on | off]
+show remote interrupt-on-connect
+ When interrupt-on-connect is ON, gdb sends interrupt-sequence to
+ remote target when gdb connects to it. This is needed when you debug
+ Linux kernel.
+
+set remotebreak [on | off]
+show remotebreak
+Deprecated. Use "set/show remote interrupt-sequence" instead.
+
* New options
set follow-exec-mode new|same