public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gdb: fix format in remote.c
@ 2024-04-11 11:03 Tankut Baris Aktemur
  0 siblings, 0 replies; only message in thread
From: Tankut Baris Aktemur @ 2024-04-11 11:03 UTC (permalink / raw)
  To: gdb-cvs

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-11 11:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-11 11:03 [binutils-gdb] gdb: fix format in remote.c Tankut Baris Aktemur

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).