public inbox for archer-commits@sourceware.org help / color / mirror / Atom feed
From: tromey@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] archer-tromey-python: * gdb.python/python-prettyprint.exp: Fixed comment. Date: Tue, 21 Oct 2008 01:04:00 -0000 [thread overview] Message-ID: <20081021010415.21036.qmail@sourceware.org> (raw) The branch, archer-tromey-python has been updated via e726423960c41516007f440ed0173b1acf3ba4d9 (commit) via b0505281b5d04aced8b06827329d61f8b3b4b595 (commit) via a26e95fa14e29c04633a58b5ebbd575109d6f5f8 (commit) from 24c99704a1274c445251bd3216b99cc0461fe5ec (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit e726423960c41516007f440ed0173b1acf3ba4d9 Author: Tom Tromey <tromey@redhat.com> Date: Mon Oct 20 15:00:08 2008 -0600 * gdb.python/python-prettyprint.exp: Fixed comment. commit b0505281b5d04aced8b06827329d61f8b3b4b595 Author: Tom Tromey <tromey@redhat.com> Date: Mon Oct 20 14:58:34 2008 -0600 * gdb.python/Makefile.in (EXECUTABLES): Add python-prettyprint.< commit a26e95fa14e29c04633a58b5ebbd575109d6f5f8 Author: Tom Tromey <tromey@redhat.com> Date: Mon Oct 20 14:57:23 2008 -0600 gdb * mi/mi-main.c (mi_cmd_list_features): Add "python" feature. gdb/doc * gdb.texinfo (GDB/MI Miscellaneous Commands): Mention 'python' feature. ----------------------------------------------------------------------- Summary of changes: gdb/ChangeLog | 4 ++++ gdb/doc/ChangeLog | 5 +++++ gdb/doc/gdb.texinfo | 4 ++++ gdb/mi/mi-main.c | 4 ++++ gdb/testsuite/ChangeLog | 8 ++++++++ gdb/testsuite/gdb.python/Makefile.in | 2 +- gdb/testsuite/gdb.python/python-prettyprint.exp | 4 ++-- 7 files changed, 28 insertions(+), 3 deletions(-) First 500 lines of diff: diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 991d3cf..582cc95 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2008-10-20 Tom Tromey <tromey@redhat.com> + * mi/mi-main.c (mi_cmd_list_features): Add "python" feature. + +2008-10-20 Tom Tromey <tromey@redhat.com> + * python/python.c (pretty_print_one_value): Copy value if needed. 2008-10-20 Tom Tromey <tromey@redhat.com> diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 4b8143a..8831116 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2008-10-20 Tom Tromey <tromey@redhat.com> + + * gdb.texinfo (GDB/MI Miscellaneous Commands): Mention 'python' + feature. + 2008-10-17 Tom Tromey <tromey@redhat.com> * gdb.texinfo (Pretty Printing): Update. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index d7b05bc..edbf51e 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -23346,6 +23346,10 @@ as possible presense of the @code{frozen} field in the output of @code{-varobj-create}. @item pending-breakpoints Indicates presence of the @option{-f} option to the @code{-break-insert} command. +@item python +Indicates presence of Python scripting support, Python-based +pretty-printing commands, and possible presence of the +@samp{display_hint} field in the output of @code{-var-list-children} @item thread-info Indicates presence of the @code{-thread-info} command. diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index 034dc28..2e4789e 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -908,6 +908,10 @@ mi_cmd_list_features (char *command, char **argv, int argc) ui_out_field_string (uiout, NULL, "frozen-varobjs"); ui_out_field_string (uiout, NULL, "pending-breakpoints"); ui_out_field_string (uiout, NULL, "thread-info"); + +#if HAVE_PYTHON + ui_out_field_string (uiout, NULL, "python"); +#endif do_cleanups (cleanup); return; diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 9e7e4a7..a41bbb0 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,13 @@ 2008-10-20 Tom Tromey <tromey@redhat.com> + * gdb.python/python-prettyprint.exp: Fixed comment. + +2008-10-20 Tom Tromey <tromey@redhat.com> + + * gdb.python/Makefile.in (EXECUTABLES): Add python-prettyprint. + +2008-10-20 Tom Tromey <tromey@redhat.com> + * gdb.python/python-prettyprint.exp (run_lang_tests): Add tests. * gdb.python/python-prettyprint.c (string_repr, container): New types. diff --git a/gdb/testsuite/gdb.python/Makefile.in b/gdb/testsuite/gdb.python/Makefile.in index 6516ad9..7cf532e 100644 --- a/gdb/testsuite/gdb.python/Makefile.in +++ b/gdb/testsuite/gdb.python/Makefile.in @@ -1,7 +1,7 @@ VPATH = @srcdir@ srcdir = @srcdir@ -EXECUTABLES = python-value +EXECUTABLES = python-value python-prettyprint all info install-info dvi install uninstall installcheck check: @echo "Nothing to be done for $@..." diff --git a/gdb/testsuite/gdb.python/python-prettyprint.exp b/gdb/testsuite/gdb.python/python-prettyprint.exp index 0c9a08b..d6aa537 100644 --- a/gdb/testsuite/gdb.python/python-prettyprint.exp +++ b/gdb/testsuite/gdb.python/python-prettyprint.exp @@ -13,8 +13,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -# This file is part of the GDB testsuite. It tests the mechanism -# exposing values to Python. +# This file is part of the GDB testsuite. It tests Python-based +# pretty-printing for the CLI. if $tracelevel then { strace $tracelevel hooks/post-receive -- Repository for Project Archer.
reply other threads:[~2008-10-21 1:04 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20081021010415.21036.qmail@sourceware.org \ --to=tromey@sourceware.org \ --cc=archer-commits@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: linkBe 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; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).