From: Andrew Cagney Date: Tue, 17 Jun 2003 19:00:20 +0000 (+0000) Subject: 2003-06-17 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2cdf3c631a89150cf31a24f5f4d7d2866734f518;p=binutils-gdb.git 2003-06-17 Andrew Cagney * 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1adb81d2d1b..f9194f57eff 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2003-06-17 Andrew Cagney + + * 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 * remote.c (remote_prepare_to_store): Replace call to diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c index e74913e76e9..24dca63fdb2 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 da248ec5f04..68c6450e8e3 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 4d753153b2e..2b04c7e654e 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.