public inbox for gdb-cvs@sourceware.org help / color / mirror / Atom feed
From: Tankut Baris Aktemur <aktemur@sourceware.org> To: gdb-cvs@sourceware.org Subject: [binutils-gdb] gdb: fix format in remote.c Date: Thu, 11 Apr 2024 11:03:48 +0000 (GMT) [thread overview] Message-ID: <20240411110349.109343858C52@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9df979cab7676539918c6bcd24aa2c1bbb20b997 commit 9df979cab7676539918c6bcd24aa2c1bbb20b997 Author: Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> Date: Thu Apr 11 13:00:43 2024 +0200 gdb: fix format in remote.c Fix space-before-parenthesis format at three spots in remote.c. Diff: --- gdb/remote.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gdb/remote.c b/gdb/remote.c index a09ba4d715d..5c9fdebcdbe 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -2739,14 +2739,14 @@ remote_target::remote_query_attached (int pid) getpkt (&rs->buf); packet_result result = m_features.packet_ok (rs->buf, PACKET_qAttached); - switch (result.status()) + switch (result.status ()) { case PACKET_OK: if (strcmp (rs->buf.data (), "1") == 0) return 1; break; case PACKET_ERROR: - warning (_("Remote failure reply: %s"), result.err_msg()); + warning (_("Remote failure reply: %s"), result.err_msg ()); break; case PACKET_UNKNOWN: break; @@ -3107,7 +3107,7 @@ remote_target::set_syscall_catchpoint (int pid, bool needed, int any_count, putpkt (catch_packet); getpkt (&rs->buf); packet_result result = m_features.packet_ok (rs->buf, PACKET_QCatchSyscalls); - if (result.status() == PACKET_OK) + if (result.status () == PACKET_OK) return 0; else return -1;
reply other threads:[~2024-04-11 11:03 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=20240411110349.109343858C52@sourceware.org \ --to=aktemur@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).