aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-06-17 19:00:20 +0000
committerAndrew Cagney <cagney@redhat.com>2003-06-17 19:00:20 +0000
commit2cdf3c631a89150cf31a24f5f4d7d2866734f518 (patch)
tree960b46a3e2a232167b7291781c9a11c6b8c6478e /gdb
parent192cdb1903f9cdc0cfa7c33c380987933c509c9f (diff)
downloadfsf-binutils-gdb-2cdf3c631a89150cf31a24f5f4d7d2866734f518.zip
fsf-binutils-gdb-2cdf3c631a89150cf31a24f5f4d7d2866734f518.tar.gz
fsf-binutils-gdb-2cdf3c631a89150cf31a24f5f4d7d2866734f518.tar.bz2
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog8
-rw-r--r--gdb/h8300-tdep.c2
-rw-r--r--gdb/remote-fileio.h2
-rw-r--r--gdb/trad-frame.h2
4 files changed, 13 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1adb81d..f9194f5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c
index e74913e..24dca63 100644
--- a/gdb/h8300-tdep.c
+++ b/gdb/h8300-tdep.c
@@ -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
diff --git a/gdb/remote-fileio.h b/gdb/remote-fileio.h
index da248ec..68c6450 100644
--- a/gdb/remote-fileio.h
+++ b/gdb/remote-fileio.h
@@ -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);
diff --git a/gdb/trad-frame.h b/gdb/trad-frame.h
index 4d75315..2b04c7e 100644
--- a/gdb/trad-frame.h
+++ b/gdb/trad-frame.h
@@ -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.