* [PUSHED] gdb: fix format in remote.c
@ 2024-04-11 11:05 Tankut Baris Aktemur
0 siblings, 0 replies; only message in thread
From: Tankut Baris Aktemur @ 2024-04-11 11:05 UTC (permalink / raw)
To: gdb-patches
Fix space-before-parenthesis format at three spots in remote.c.
---
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;
--
2.34.1
Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de <http://www.intel.de>
Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-04-11 11:07 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:05 [PUSHED] 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).