summaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-01-19 10:19:22 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-01-19 10:19:22 +0000
commit5b58a059a3b54f0f4229670ac536dc05f7f8c441 (patch)
tree0c072a636cc8f0da47aff5772c01c1359bd1a836 /gdb/NEWS
parent4c111ccd0c04f4e98bad7d54dbd4f675edb62586 (diff)
downloadgdb-5b58a059a3b54f0f4229670ac536dc05f7f8c441.tar.gz
* NEWS: Document the source command enhancement allowing it
to load Python scripts. Document the "set/show script-extension" commands.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS17
1 files changed, 17 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index 4b88ee76f5e..48a6ecbfa4c 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -81,6 +81,14 @@ info variables
The info variables command now displays variable definitions. Files
which only declare a variable are not shown.
+source
+ The source command is now capable of sourcing Python scripts.
+ This feature is dependent on the debugger being build with Python
+ support.
+
+ Related to this enhancement is also the introduction of a new command
+ "set script-extension" (see below).
+
* New commands (for set/show, see "New options" below)
record save [<FILENAME>]
@@ -163,6 +171,15 @@ show disconnected-tracing
loses its connection to GDB. If 0, the target is to stop tracing
upon disconnection.
+set script-extension off|soft|strict
+show script-extension
+ If set to "off", the debugger does not perform any script language
+ recognition, and all sourced files are assumed to be GDB scripts.
+ If set to "soft" (the default), files are sourced according to
+ filename extension, falling back to GDB scripts if the first
+ evaluation failed.
+ If set to "strict", files are sourced according to filename extension.
+
* New remote packets
QTDV