public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
From: pmuldoon@sourceware.org
To: archer-commits@sourceware.org
Subject: [SCM]  archer-pmuldoon-python-backtrace: Move non python case to python.c
Date: Wed, 28 Nov 2012 14:54:00 -0000	[thread overview]
Message-ID: <20121128145407.29455.qmail@sourceware.org> (raw)

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.


                 reply	other threads:[~2012-11-28 14:54 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=20121128145407.29455.qmail@sourceware.org \
    --to=pmuldoon@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: link
Be 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).