aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>2019-05-04 15:39:27 +0200
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>2019-05-31 17:14:20 +0200
commite2c52041c02e2bdee5b28e97c7997caf0ee5bb2d (patch)
tree078d55ebb3f66b8e30a170287cc817c1c5807aa5 /gdb/NEWS
parent708dc93ed0c8ee744e2784a1c349d8129a84200f (diff)
downloadbinutils-e2c52041c02e2bdee5b28e97c7997caf0ee5bb2d.zip
binutils-e2c52041c02e2bdee5b28e97c7997caf0ee5bb2d.tar.gz
binutils-e2c52041c02e2bdee5b28e97c7997caf0ee5bb2d.tar.bz2
NEWS and documentation for | (pipe) command.
gdb/ChangeLog * NEWS: Mention new pipe command and new convenience variables. gdb/doc/ChangeLog * gdb.texinfo (Shell Commands): Document pipe command. (Logging Output): Add a reference to pipe command. (Convenience Variables): Document $_shell_exitcode and $_shell_exitstatus.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS12
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index ab582c0..be1ec4e 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -27,8 +27,20 @@
'array_indexes', 'symbols', 'unions', 'deref_refs', 'actual_objects',
'static_members', 'max_elements', 'repeat_threshold', and 'format'.
+* New built-in convenience variables $_shell_exitcode and $_shell_exitsignal
+ provide the exitcode or exit status of the shell commands launched by
+ GDB commands such as "shell", "pipe" and "make".
+
* New commands
+| [COMMAND] | SHELL_COMMAND
+| -d DELIM COMMAND DELIM SHELL_COMMAND
+pipe [COMMAND] | SHELL_COMMAND
+pipe -d DELIM COMMAND DELIM SHELL_COMMAND
+ Executes COMMAND and sends its output to SHELL_COMMAND.
+ With no COMMAND, repeat the last executed command
+ and send its output to SHELL_COMMAND.
+
set may-call-functions [on|off]
show may-call-functions
This controls whether GDB will attempt to call functions in