Blame SOURCES/gdb-rhbz1187581-power8-regs-1of7.patch

190f2a
From FEDORA_PATCHES Mon Sep 17 00:00:00 2001
190f2a
From: Jan Kratochvil <jan.kratochvil@redhat.com>
190f2a
Date: Thu, 9 Aug 2018 17:09:48 +0200
190f2a
Subject: gdb-rhbz1187581-power8-regs-1of7.patch
190f2a
190f2a
;; Add GDB support to access/display POWER8 registers (IBM, RH BZ 1187581).
190f2a
190f2a
commit 05abfc39c719e740530000059bb963ad33462479
190f2a
Author: Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
190f2a
Date:   Mon Aug 6 16:24:55 2018 -0300
190f2a
190f2a
    Fix indentation in remote_target::download_tracepoint
190f2a
190f2a
    gdb/ChangeLog:
190f2a
    2018-08-06  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
190f2a
190f2a
            * remote.c (remote_target::download_tracepoint): Fix indentation
190f2a
            in for block.
190f2a
190f2a
diff --git a/gdb/remote.c b/gdb/remote.c
190f2a
--- a/gdb/remote.c
190f2a
+++ b/gdb/remote.c
190f2a
@@ -12912,24 +12912,24 @@ remote_target::download_tracepoint (struct bp_location *loc)
190f2a
 	error (_("Error on target while setting tracepoints."));
190f2a
     }
190f2a
 
190f2a
-    for (auto action_it = stepping_actions.begin ();
190f2a
-	 action_it != stepping_actions.end (); action_it++)
190f2a
-      {
190f2a
-	QUIT;	/* Allow user to bail out with ^C.  */
190f2a
-
190f2a
-	bool is_first = action_it == stepping_actions.begin ();
190f2a
-	bool has_more = action_it != stepping_actions.end ();
190f2a
-
190f2a
-	xsnprintf (buf, BUF_SIZE, "QTDP:-%x:%s:%s%s%s",
190f2a
-		   b->number, addrbuf, /* address */
190f2a
-		   is_first ? "S" : "",
190f2a
-		   action_it->c_str (),
190f2a
-		   has_more ? "-" : "");
190f2a
-	putpkt (buf);
190f2a
-	remote_get_noisy_reply ();
190f2a
-	if (strcmp (rs->buf, "OK"))
190f2a
-	  error (_("Error on target while setting tracepoints."));
190f2a
-      }
190f2a
+  for (auto action_it = stepping_actions.begin ();
190f2a
+       action_it != stepping_actions.end (); action_it++)
190f2a
+    {
190f2a
+      QUIT;	/* Allow user to bail out with ^C.  */
190f2a
+
190f2a
+      bool is_first = action_it == stepping_actions.begin ();
190f2a
+      bool has_more = action_it != stepping_actions.end ();
190f2a
+
190f2a
+      xsnprintf (buf, BUF_SIZE, "QTDP:-%x:%s:%s%s%s",
190f2a
+		 b->number, addrbuf, /* address */
190f2a
+		 is_first ? "S" : "",
190f2a
+		 action_it->c_str (),
190f2a
+		 has_more ? "-" : "");
190f2a
+      putpkt (buf);
190f2a
+      remote_get_noisy_reply ();
190f2a
+      if (strcmp (rs->buf, "OK"))
190f2a
+	error (_("Error on target while setting tracepoints."));
190f2a
+    }
190f2a
 
190f2a
   if (packet_support (PACKET_TracepointSource) == PACKET_ENABLE)
190f2a
     {