* NEWS: Document the source command enhancement allowing it
authorJoel Brobecker <brobecker@gnat.com>
Tue, 19 Jan 2010 10:19:22 +0000 (10:19 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Tue, 19 Jan 2010 10:19:22 +0000 (10:19 +0000)
        to load Python scripts. Document the "set/show script-extension"
        commands.

gdb/ChangeLog
gdb/NEWS

index 8759ef64e5d6d71e2095daf00622e2e7853886be..f491f142a987f5ffd806edc6696afbd4801fff51 100644 (file)
@@ -1,3 +1,9 @@
+2010-01-19  Joel Brobecker  <brobecker@adacore.com>
+
+       * NEWS: Document the source command enhancement allowing it
+       to load Python scripts. Document the "set/show script-extension"
+       commands.
+
 2010-01-19  Joel Brobecker  <brobecker@adacore.com>
 
        Add -Wunused-function to compile flags.
index 4b88ee76f5e5bacae50c75f115716d012798192b..48a6ecbfa4c3d7e0e6c1fbbe610f0ec906144977 100644 (file)
--- 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
This page took 0.029292 seconds and 4 git commands to generate.