public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-pmuldoon-python-backtrace: Fix exception type, remove bad test.
@ 2012-11-28 20:54 pmuldoon
  0 siblings, 0 replies; only message in thread
From: pmuldoon @ 2012-11-28 20:54 UTC (permalink / raw)
  To: archer-commits

The branch, archer-pmuldoon-python-backtrace has been updated
       via  3ea7ba29f42036e92619ba14ebe8d563bdb387e0 (commit)
      from  4ce407121da47b9df7b153dab59452cb7aac0bb7 (commit)

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

- Log -----------------------------------------------------------------
commit 3ea7ba29f42036e92619ba14ebe8d563bdb387e0
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Wed Nov 28 20:54:07 2012 +0000

    Fix exception type, remove bad test.

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

Summary of changes:
 gdb/python/lib/gdb/command/frame_filters.py |    4 ++--
 gdb/testsuite/gdb.python/py-framefilter.exp |    1 -
 2 files changed, 2 insertions(+), 3 deletions(-)

First 500 lines of diff:
diff --git a/gdb/python/lib/gdb/command/frame_filters.py b/gdb/python/lib/gdb/command/frame_filters.py
index 85db8bc..93621d2 100644
--- a/gdb/python/lib/gdb/command/frame_filters.py
+++ b/gdb/python/lib/gdb/command/frame_filters.py
@@ -110,7 +110,7 @@ def _get_filter_enabled (filter_item):
     # operations, just set enabled to False.
     try:
         enabled = _get_enabled (filter_item[1])
-    except gdbError as e:
+    except gdb.GdbError as e:
         enabled = False
 
     return enabled
@@ -415,7 +415,7 @@ class SetFrameFilterPriority (gdb.Command):
         command_tuple = self._parse_pri_arg(arg)
         try:
             self._set_filter_priority (command_tuple)
-        except e:
+        except gdb.GdbError as e:
             # Print the error, instead of raising it.
             gdb.write(e.message+"\n")
 
diff --git a/gdb/testsuite/gdb.python/py-framefilter.exp b/gdb/testsuite/gdb.python/py-framefilter.exp
index ef41db7..18e7845 100644
--- a/gdb/testsuite/gdb.python/py-framefilter.exp
+++ b/gdb/testsuite/gdb.python/py-framefilter.exp
@@ -71,7 +71,6 @@ gdb_test "show python frame-filter priority global Elider" \
         "Priority of filter 'Elider' in list 'global' is: 1000"
 gdb_test "info frame-filter" \
     ".*1000.*Yes.*Elider.*100.*Yes.*Reverse.*10.*.*No.*Object.*1.*"
-gdb_test_no_output  "set python frame-filter priority /home/pmuldoon/frames/filters/obj/gdb/testsuite/gdb.python/py-framefilter \"ObjectFile Filter 1\" 999"
 # Test enable/disable
 gdb_test "info frame-filter" \
     ".*1000.*Yes.*Elider.*100.*Yes.*Reverse.*10.*.*No.*Object.*1.*"


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


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

only message in thread, other threads:[~2012-11-28 20:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-28 20:54 [SCM] archer-pmuldoon-python-backtrace: Fix exception type, remove bad test pmuldoon

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