This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ob] Fix style probs


Just FYI,

committed,
Andrew
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.

Index: h8300-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/h8300-tdep.c,v
retrieving revision 1.73
diff -u -r1.73 h8300-tdep.c
--- h8300-tdep.c	16 Jun 2003 19:40:51 -0000	1.73
+++ h8300-tdep.c	17 Jun 2003 18:59:18 -0000
@@ -895,7 +895,7 @@
   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: remote-fileio.h
===================================================================
RCS file: /cvs/src/src/gdb/remote-fileio.h,v
retrieving revision 1.2
diff -u -r1.2 remote-fileio.h
--- remote-fileio.h	10 Jun 2003 19:29:57 -0000	1.2
+++ remote-fileio.h	17 Jun 2003 18:59:18 -0000
@@ -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: trad-frame.h
===================================================================
RCS file: /cvs/src/src/gdb/trad-frame.h,v
retrieving revision 1.2
diff -u -r1.2 trad-frame.h
--- trad-frame.h	8 Jun 2003 22:10:12 -0000	1.2
+++ trad-frame.h	17 Jun 2003 18:59:18 -0000
@@ -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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]