public inbox for archer-commits@sourceware.org help / color / mirror / Atom feed
From: pmuldoon@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] pmuldoon/python-backtrace: Fix up review change Date: Wed, 08 May 2013 10:01:00 -0000 [thread overview] Message-ID: <20130508100153.10366.qmail@sourceware.org> (raw) The branch, pmuldoon/python-backtrace has been updated via 967deb420c2df1356b914c6319a5dbc93435218b (commit) from 9d73782809b88cd95e36ed10004abf2b0a53d9ec (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 967deb420c2df1356b914c6319a5dbc93435218b Author: Phil Muldoon <pmuldoon@redhat.com> Date: Wed May 8 11:01:30 2013 +0100 Fix up review change ----------------------------------------------------------------------- Summary of changes: gdb/mi/mi-cmd-stack.c | 7 +++++-- gdb/python/python.c | 9 +++++---- 2 files changed, 10 insertions(+), 6 deletions(-) First 500 lines of diff: diff --git a/gdb/mi/mi-cmd-stack.c b/gdb/mi/mi-cmd-stack.c index 07c0510..170c1a8 100644 --- a/gdb/mi/mi-cmd-stack.c +++ b/gdb/mi/mi-cmd-stack.c @@ -108,10 +108,13 @@ mi_cmd_stack_list_frames (char *command, char **argv, int argc) } } - if ((argc > 3) || (argc == 2 && oind) || (argc == 1 && ! oind)) + /* After the last option is parsed, there should either be low - + high range, or no further arguments. */ + if ((argc - oind != 0) && (argc - oind !=2)) error (_("-stack-list-frames: Usage: [--no-frame-filters] [FRAME_LOW FRAME_HIGH]")); - if (argc == 3 || argc == 2) + /* If there is a range, set it. */ + if (argc - oind == 2) { frame_low = atoi (argv[0 + oind]); frame_high = atoi (argv[1 + oind]); diff --git a/gdb/python/python.c b/gdb/python/python.c index 95d8cf8..3e2a852 100644 --- a/gdb/python/python.c +++ b/gdb/python/python.c @@ -1393,10 +1393,11 @@ free_type_printers (void *arg) { } -int apply_frame_filter (struct frame_info *frame, int flags, - enum py_frame_args args_type, - struct ui_out *out, int frame_low, - int frame_high) +enum py_bt_status +apply_frame_filter (struct frame_info *frame, int flags, + enum py_frame_args args_type, + struct ui_out *out, int frame_low, + int frame_high) { return PY_BT_NO_FILTERS; } hooks/post-receive -- Repository for Project Archer.
reply other threads:[~2013-05-08 10:01 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=20130508100153.10366.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: linkBe 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).