diff options
author | Joel Brobecker <brobecker@gnat.com> | 2010-01-19 10:19:22 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2010-01-19 10:19:22 +0000 |
commit | fb2e7cb482eb5d0fbc38c6050ac3f0eb24d377f3 (patch) | |
tree | 3029133470258dc7a6492ee9a9b94b5a8666da59 | |
parent | 1cb5e2a45b85557e167a45bad004bdb6791163d6 (diff) | |
download | gdb-fb2e7cb482eb5d0fbc38c6050ac3f0eb24d377f3.zip gdb-fb2e7cb482eb5d0fbc38c6050ac3f0eb24d377f3.tar.gz gdb-fb2e7cb482eb5d0fbc38c6050ac3f0eb24d377f3.tar.bz2 |
* NEWS: Document the source command enhancement allowing it
to load Python scripts. Document the "set/show script-extension"
commands.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/NEWS | 17 |
2 files changed, 23 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8759ef6..f491f14 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 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. * configure.ac: Add -Wunused-function to build_warnings. * configure: Regenerate. @@ -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 |