From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29506 invoked by alias); 28 Nov 2012 14:54:09 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 29470 invoked by uid 9514); 28 Nov 2012 14:54:07 -0000 Date: Wed, 28 Nov 2012 14:54:00 -0000 Message-ID: <20121128145407.29455.qmail@sourceware.org> From: pmuldoon@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] archer-pmuldoon-python-backtrace: Move non python case to python.c X-Git-Refname: refs/heads/archer-pmuldoon-python-backtrace X-Git-Reftype: branch X-Git-Oldrev: f4ac160f931caacea57610f08d92f80221e5d893 X-Git-Newrev: 9c487bcfd34ba3552ff86016798746333e3d53b2 X-SW-Source: 2012-q4/txt/msg00013.txt.bz2 List-Id: 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 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 */ hooks/post-receive -- Repository for Project Archer.