public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-pmuldoon-python-backtrace: Move non python case to python.c
@ 2012-11-28 14:54 pmuldoon
  0 siblings, 0 replies; only message in thread
From: pmuldoon @ 2012-11-28 14:54 UTC (permalink / raw)
  To: archer-commits

The branch, archer-pmuldoon-python-backtrace has been updated
       via  9c487bcfd34ba3552ff86016798746333e3d53b2 (commit)
      from  f4ac160f931caacea57610f08d92f80221e5d893 (commit)

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

- Log -----------------------------------------------------------------
commit 9c487bcfd34ba3552ff86016798746333e3d53b2
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Wed Nov 28 14:53:42 2012 +0000

    Move non python case to python.c

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

Summary of changes:
 gdb/python/py-framefilter.c |   14 --------------
 gdb/python/python.c         |    8 ++++++++
 2 files changed, 8 insertions(+), 14 deletions(-)

First 500 lines of diff:
diff --git a/gdb/python/py-framefilter.c b/gdb/python/py-framefilter.c
index d48ed28..ad0c44a 100644
--- a/gdb/python/py-framefilter.c
+++ b/gdb/python/py-framefilter.c
@@ -31,8 +31,6 @@
 #include "mi/mi-cmds.h"
 #include "demangle.h"
 #include "mi/mi-cmds.h"
-
-#ifdef HAVE_PYTHON
 #include "python-internal.h"
 
 
@@ -1324,15 +1322,3 @@ int apply_frame_filter (struct frame_info *frame, int flags,
   do_cleanups (cleanups);
   return success;
 }
-
-#else /* HAVE_PYTHON */
-int
-apply_frame_filter (struct frame_info *frame, int flags,
-		    enum print_values mi_print_args_type,
-		    const char *cli_print_args_type,
-		    struct ui_out *out, int count)
-{
-  return PY_BT_NO_FILTERS;
-}
-
-#endif /* HAVE_PYTHON */
diff --git a/gdb/python/python.c b/gdb/python/python.c
index 5f6df60..e7693bd 100644
--- a/gdb/python/python.c
+++ b/gdb/python/python.c
@@ -1374,6 +1374,14 @@ free_type_printers (void *arg)
 {
 }
 
+int apply_frame_filter (struct frame_info *frame, int flags,
+			enum print_values mi_print_args_type,
+			const char *cli_print_frame_args_type,
+			struct ui_out *out, int count)
+{
+  return PY_BT_NO_FILTERS;
+}
+
 #endif /* HAVE_PYTHON */
 
 \f


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 14: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 14:54 [SCM] archer-pmuldoon-python-backtrace: Move non python case to python.c 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).