public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-tromey-python: 2008-11-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
@ 2008-11-03 22:17 ppluzhnikov
  0 siblings, 0 replies; 3+ messages in thread
From: ppluzhnikov @ 2008-11-03 22:17 UTC (permalink / raw)
  To: archer-commits

The branch, archer-tromey-python has been updated
       via  be661861f7b40daae7718ca354c8f0e4c9903691 (commit)
      from  216d6dbe872c72303a3d24b1538e44560b003df3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit be661861f7b40daae7718ca354c8f0e4c9903691
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date:   Mon Nov 3 14:17:27 2008 -0800

    2008-11-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
    
    	* python/python.c (find_pretty_printer): Fix gcc-4.3.1 warnings.

-----------------------------------------------------------------------

Summary of changes:
 gdb/ChangeLog       |    4 ++++
 gdb/python/python.c |    7 ++-----
 2 files changed, 6 insertions(+), 5 deletions(-)

First 500 lines of diff:
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 51e62a8..5533820 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2008-11-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+	* python/python.c (find_pretty_printer): Fix gcc-4.3.1 warnings.
+	
 2008-11-03  Tom Tromey  <tromey@redhat.com>
 
 	* python/python-value.c (valpy_getitem): Convert field name to
diff --git a/gdb/python/python.c b/gdb/python/python.c
index af50c4c..5f6a269 100644
--- a/gdb/python/python.c
+++ b/gdb/python/python.c
@@ -684,7 +684,7 @@ search_pp_dictionary (PyObject *dict, char *type_name)
 static PyObject *
 find_pretty_printer (struct type *type, PyObject **dictp, int is_mi)
 {
-  PyObject *dict, *found;
+  PyObject *dict, *found = NULL;
   char *type_name = NULL;
   char *dict_name;
   struct objfile *obj;
@@ -701,10 +701,7 @@ find_pretty_printer (struct type *type, PyObject **dictp, int is_mi)
       type_name = get_type (type);
     }
   if (except.reason < 0)
-    {
-      Py_DECREF (dict);
-      return NULL;
-    }
+    return NULL;
 
   /* Look at the pretty-printer dictionary for each objfile.  */
   ALL_OBJFILES (obj)


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [SCM]  archer-tromey-python: 2008-11-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
@ 2008-11-03 22:30 ppluzhnikov
  0 siblings, 0 replies; 3+ messages in thread
From: ppluzhnikov @ 2008-11-03 22:30 UTC (permalink / raw)
  To: archer-commits

The branch, archer-tromey-python has been updated
       via  e066d5afc0238f478df70c2b2f0c52d58959eb4d (commit)
      from  be661861f7b40daae7718ca354c8f0e4c9903691 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit e066d5afc0238f478df70c2b2f0c52d58959eb4d
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date:   Mon Nov 3 14:29:59 2008 -0800

    2008-11-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
    
    	* gdb.gdb/selftest.exp: captured_main source has changed.

-----------------------------------------------------------------------

Summary of changes:
 gdb/testsuite/ChangeLog            |    4 ++++
 gdb/testsuite/gdb.gdb/selftest.exp |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)

First 500 lines of diff:
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index f342128..f77800b 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
 2008-11-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
 
+	* gdb.gdb/selftest.exp: captured_main source has changed.
+	
+2008-11-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
 	* gdb.base/display.exp: print/r is now valid.
 	
 2008-10-24  Pedro Alves  <pedro@codesourcery.com>
diff --git a/gdb/testsuite/gdb.gdb/selftest.exp b/gdb/testsuite/gdb.gdb/selftest.exp
index 4abe21a..fc69f9b 100644
--- a/gdb/testsuite/gdb.gdb/selftest.exp
+++ b/gdb/testsuite/gdb.gdb/selftest.exp
@@ -95,6 +95,10 @@ proc do_steps_and_nexts {} {
 		set description "step over ttyarg initialization"
 		set command "step"
 	    }
+	    -re ".*python_script = 0.*$gdb_prompt $" {
+		set description "step over python_script initialization"
+		set command "step"
+	    }
 	    -re ".*time_at_startup = get_run_time.*$gdb_prompt $" {
 		set description "next over get_run_time and everything it calls"
 		set command "next"


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [SCM]  archer-tromey-python: 2008-11-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
@ 2008-11-03 18:34 ppluzhnikov
  0 siblings, 0 replies; 3+ messages in thread
From: ppluzhnikov @ 2008-11-03 18:34 UTC (permalink / raw)
  To: archer-commits

The branch, archer-tromey-python has been updated
       via  ef2a3a61d8b15e44a5e4a69109026b9f892250a7 (commit)
      from  e70b3d9a9b5ac9bcafde2ee9a50dfaac7462c72f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit ef2a3a61d8b15e44a5e4a69109026b9f892250a7
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date:   Mon Nov 3 10:33:28 2008 -0800

    2008-11-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
    
    	* gdb.base/display.exp: print/r is now valid.

-----------------------------------------------------------------------

Summary of changes:
 gdb/testsuite/ChangeLog            |    4 ++++
 gdb/testsuite/gdb.base/display.exp |    8 ++++++--
 2 files changed, 10 insertions(+), 2 deletions(-)

First 500 lines of diff:
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index ee19021..f342128 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2008-11-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+	* gdb.base/display.exp: print/r is now valid.
+	
 2008-10-24  Pedro Alves  <pedro@codesourcery.com>
 
 	* gdb.python/python-value.exp (test_value_in_inferior): Don't use
diff --git a/gdb/testsuite/gdb.base/display.exp b/gdb/testsuite/gdb.base/display.exp
index 7e8dd15..fccf160 100644
--- a/gdb/testsuite/gdb.base/display.exp
+++ b/gdb/testsuite/gdb.base/display.exp
@@ -180,8 +180,12 @@ gdb_test "printf \"%p\\n\", 1" "0x1"
 
 # play with "print", too
 #
-gdb_test "print/r j" ".*Undefined output format.*"
-gdb_test "print j"   ".*" "debug test output"
+gdb_test "print/z j" ".*Undefined output format.*"
+gdb_test "print/d j" " = 0\[\\r\\n\]+"   "debug test output 1"
+gdb_test "print/r j" " = 0\[\\r\\n\]+"   "debug test output 1a"
+gdb_test "print/x j" " = 0x0\[\\r\\n\]+" "debug test output 2"
+gdb_test "print/r j" " = 0x0\[\\r\\n\]+" "debug test output 2a"
+gdb_test "print j"   " = 0\[\\r\\n\]+"   "debug test output 3"
 
 # x/0 j doesn't produce any output and terminates PA64 process when testing
 if [istarget "hppa2.0w-hp-hpux11*"] {


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-11-03 22:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-03 22:17 [SCM] archer-tromey-python: 2008-11-03 Paul Pluzhnikov <ppluzhnikov@google.com> ppluzhnikov
  -- strict thread matches above, loose matches on Subject: below --
2008-11-03 22:30 ppluzhnikov
2008-11-03 18:34 ppluzhnikov

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