2003-06-17 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Tue, 17 Jun 2003 19:00:20 +0000 (19:00 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 17 Jun 2003 19:00:20 +0000 (19:00 +0000)
* trad-frame.h (struct frame_info): Add opaque declaration.
* remote-fileio.h (struct cmd_list_element): Add opaque
declaration.
* h8300-tdep.c (h8300s_register_name): Avoid C++ // style
comments.

gdb/ChangeLog
gdb/h8300-tdep.c
gdb/remote-fileio.h
gdb/trad-frame.h

index 1adb81d..f9194f5 100644 (file)
@@ -1,3 +1,11 @@
+2003-06-17  Andrew Cagney  <cagney@redhat.com>
+
+       * trad-frame.h (struct frame_info): Add opaque declaration.
+       * remote-fileio.h (struct cmd_list_element): Add opaque
+       declaration.
+       * h8300-tdep.c (h8300s_register_name): Avoid C++ // style
+       comments.
+
 2003-06-17  Daniel Jacobowitz  <drow@mvista.com>
 
        * remote.c (remote_prepare_to_store): Replace call to
index e74913e..24dca63 100644 (file)
@@ -895,7 +895,7 @@ h8300s_register_name (int regno)
   static char *register_names[] = {
     "er0", "er1", "er2", "er3", "er4", "er5", "er6",
     "sp", "", "pc", "cycles", "", "tick", "inst",
-    //"mach", "macl", 
+    /* "mach", "macl", */
     "ccr", "exr" /* pseudo registers */
   };
   if (regno < 0
index da248ec..68c6450 100644 (file)
@@ -24,6 +24,8 @@
 #ifndef REMOTE_FILEIO_H
 #define REMOTE_FILEIO_H
 
+struct cmd_list_element;
+
 /* Unified interface to remote fileio, called in remote.c from
    remote_wait () and remote_async_wait () */
 extern void remote_fileio_request (char *buf);
index 4d75315..2b04c7e 100644 (file)
@@ -22,6 +22,8 @@
 #ifndef TRAD_FRAME_H
 #define TRAD_FRAME_H
 
+struct frame_info;
+
 /* A traditional saved regs table, indexed by REGNUM, encoding where
    the value of REGNUM for the previous frame can be found in this
    frame.