From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sourceware.org
Cc: Joel Brobecker <brobecker@adacore.com>
Subject: [RFA/NEWS] source is able to load Python scripts.
Date: Mon, 18 Jan 2010 07:04:00 -0000 [thread overview]
Message-ID: <1263798265-2952-1-git-send-email-brobecker@adacore.com> (raw)
This patch documents the fact that the "source" comment is now able to
load Python scripts. It also documents a new setting that was introduced
to configure the behavior of the "source" command.
gdb/ChangeLog:
* NEWS: Document the source command enhancement allowing it
to load Python scripts. Document the "set/show script-extension"
commands.
Ok to commit?
Thanks,
--
Joel
---
gdb/NEWS | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/gdb/NEWS b/gdb/NEWS
index 4b88ee7..98183c4 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 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
--
1.6.3.3
next reply other threads:[~2010-01-18 7:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-18 7:04 Joel Brobecker [this message]
2010-01-18 17:51 ` Eli Zaretskii
2010-01-19 10:20 ` Joel Brobecker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1263798265-2952-1-git-send-email-brobecker@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox