public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-tromey-python:  * gdb.python/python-prettyprint.exp: Fixed comment.
@ 2008-10-21  1:04 tromey
  0 siblings, 0 replies; only message in thread
From: tromey @ 2008-10-21  1:04 UTC (permalink / raw)
  To: archer-commits

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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-21  1:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-21  1:04 [SCM] archer-tromey-python: * gdb.python/python-prettyprint.exp: Fixed comment tromey

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).