gdb/
[deliverable/binutils-gdb.git] / gdb / microblaze-rom.c
index 1bd2b9cda7ce49acb32059b1104e2f9d39b13cf0..2ff434342cb983d4247947921e66dc80dcc8c2cb 100644 (file)
@@ -1,6 +1,6 @@
 /* Remote debugging interface to Xilinx MicroBlaze.
 
-   Copyright 2009, 2010, 2011 Free Software Foundation, Inc.
+   Copyright (C) 2009-2013 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
 #include "serial.h"
 #include "regcache.h"
 
+void _initialize_picobug_rom (void);
+
 static char *picobug_inits[] =
 {"\r", NULL};
 
 static struct target_ops picobug_ops;
 static struct monitor_ops picobug_cmds;
 
-/* Picobug only supports a subset of registers from MCore. In reality,
+/* Picobug only supports a subset of registers from MCore.  In reality,
    it doesn't support ss1, either.  */
 static char *picobug_regnames[] = {
   "r0",   "r1",   "r2",   "r3",   "r4",   "r5",   "r6",   "r7",
@@ -81,7 +83,7 @@ picobug_dumpregs (struct regcache *regcache)
     {
       if (strchr (p, '-'))
        {
-         /* got a range. either r0-r7, r8-r15 or ss0-ss4.  */
+         /* Got a range.  Either r0-r7, r8-r15 or ss0-ss4.  */
          if (strncmp (p, "r0", 2) == 0 || strncmp (p, "r8", 2) == 0)
            {
              int rn = (p[1] == '0' ? 0 : 8);
@@ -98,7 +100,7 @@ picobug_dumpregs (struct regcache *regcache)
            }
          else if (strncmp (p, "ss", 2) == 0)
            {
-             /* get the next five values, ignoring the first.  */
+             /* Get the next five values, ignoring the first.  */
              int rn;
              p = strtok (NULL, " \t\r\n");
              for (rn = 39; rn < 43; rn++)
@@ -174,7 +176,7 @@ init_picobug_cmds (void)
 }
 
 void
-_initialize_picobug_rom ()
+_initialize_picobug_rom (void)
 {
   int i;
 
This page took 0.024249 seconds and 4 git commands to generate.