public inbox for gdb-cvs@sourceware.org help / color / mirror / Atom feed
From: Andrew Burgess <aburgess@sourceware.org> To: gdb-cvs@sourceware.org Subject: [binutils-gdb] gdb/infrun: add debug print in print_signal_received_reason Date: Fri, 13 Jan 2023 16:38:20 +0000 (GMT) [thread overview] Message-ID: <20230113163820.6095C3858425@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bb0797528bf532848ed96b439b363df543a15477 commit bb0797528bf532848ed96b439b363df543a15477 Author: Andrew Burgess <aburgess@redhat.com> Date: Thu Oct 20 11:59:55 2022 +0100 gdb/infrun: add debug print in print_signal_received_reason It would have helped me to see an infrun debug line being printed from print_signal_received_reason, so I'm adding one. Diff: --- gdb/infrun.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdb/infrun.c b/gdb/infrun.c index 1a2ef2d078b..edfb5ab0a91 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -8358,6 +8358,8 @@ print_signal_received_reason (struct ui_out *uiout, enum gdb_signal siggnal) { struct thread_info *thr = inferior_thread (); + infrun_debug_printf ("signal = %s", gdb_signal_to_string (siggnal)); + annotate_signal (); if (uiout->is_mi_like_p ())
reply other threads:[~2023-01-13 16:38 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=20230113163820.6095C3858425@sourceware.org \ --to=aburgess@sourceware.org \ --cc=gdb-cvs@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).