aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-udi.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-07-07 17:31:57 +0000
committerJason Molenda <jmolenda@apple.com>1999-07-07 17:31:57 +0000
commit9846de1bb5d61521885ef51fa6b99121ec1be577 (patch)
tree56c938421752cf160876766aaee7e729a8e47050 /gdb/remote-udi.c
parentf04894943e847e4c9dec6a7a73b9e03a3c0aa90a (diff)
downloadgdb-9846de1bb5d61521885ef51fa6b99121ec1be577.zip
gdb-9846de1bb5d61521885ef51fa6b99121ec1be577.tar.gz
gdb-9846de1bb5d61521885ef51fa6b99121ec1be577.tar.bz2
import gdb-1999-07-07 pre reformat
Diffstat (limited to 'gdb/remote-udi.c')
-rw-r--r--gdb/remote-udi.c25
1 files changed, 16 insertions, 9 deletions
diff --git a/gdb/remote-udi.c b/gdb/remote-udi.c
index 6397bca..30bbfb9 100644
--- a/gdb/remote-udi.c
+++ b/gdb/remote-udi.c
@@ -750,10 +750,12 @@ int regno;
if (remote_debug)
{
- printf_unfiltered("Fetching all registers\n");
- printf_unfiltered("Fetching PC0 = 0x%x, PC1 = 0x%x, PC2 = 0x%x\n",
- read_register(NPC_REGNUM), read_register(PC_REGNUM),
- read_register(PC2_REGNUM));
+ fprintf_unfiltered (gdb_stdlog, "Fetching all registers\n");
+ fprintf_unfiltered (gdb_stdlog,
+ "Fetching PC0 = 0x%x, PC1 = 0x%x, PC2 = 0x%x\n",
+ read_register (NPC_REGNUM),
+ read_register (PC_REGNUM),
+ read_register (PC2_REGNUM));
}
/* There doesn't seem to be any way to get these. */
@@ -791,9 +793,12 @@ int regno;
if (remote_debug)
{
- printf_unfiltered("Storing all registers\n");
- printf_unfiltered("PC0 = 0x%x, PC1 = 0x%x, PC2 = 0x%x\n", read_register(NPC_REGNUM),
- read_register(PC_REGNUM), read_register(PC2_REGNUM));
+ fprintf_unfiltered (gdb_stdlog, "Storing all registers\n");
+ fprintf_unfiltered (gdb_stdlog,
+ "PC0 = 0x%x, PC1 = 0x%x, PC2 = 0x%x\n",
+ read_register (NPC_REGNUM),
+ read_register (PC_REGNUM),
+ read_register (PC2_REGNUM));
}
/* Gr1/rsp */
@@ -1450,7 +1455,8 @@ fetch_register (regno)
supply_register(regno, (char *) &To);
if (remote_debug)
- printf_unfiltered("Fetching register %s = 0x%x\n", REGISTER_NAME (regno), To);
+ fprintf_unfiltered (gdb_stdlog, "Fetching register %s = 0x%x\n",
+ REGISTER_NAME (regno), To);
}
/*****************************************************************************/
/* Store a single register indicated by 'regno'.
@@ -1471,7 +1477,8 @@ store_register (regno)
From = read_register (regno); /* get data value */
if (remote_debug)
- printf_unfiltered("Storing register %s = 0x%x\n", REGISTER_NAME (regno), From);
+ fprintf_unfiltered (gdb_stdlog, "Storing register %s = 0x%x\n",
+ REGISTER_NAME (regno), From);
if (regno == GR1_REGNUM)
{