diff options
author | Pedro Alves <palves@redhat.com> | 2014-10-22 12:16:56 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-02-27 17:39:54 +0000 |
commit | 8a526fa69afd8ea7d2e303f80c03f9eb46211390 (patch) | |
tree | 6db1786873a2a77076bf0bb9027572d28052fd26 /gdb/ChangeLog | |
parent | 0fa9c223ddc05a4b823bc7982dce8ba3b45d903f (diff) | |
download | gdb-8a526fa69afd8ea7d2e303f80c03f9eb46211390.zip gdb-8a526fa69afd8ea7d2e303f80c03f9eb46211390.tar.gz gdb-8a526fa69afd8ea7d2e303f80c03f9eb46211390.tar.bz2 |
gdbarch.h: include regcache.h
Building GDB in C++ mode, I got:
src/gdb/gdbarch.h:240:149: error: invalid type in declaration before ‘;’ token
src/gdb/gdbarch.h:240:14: error: use of enum ‘register_status’ without previous declaration
src/gdb/gdbarch.h:241:13: error: use of enum ‘register_status’ without previous declaration
src/gdb/gdbarch.h:241:140: error: invalid type in declaration before ‘;’ token
That's because 'enum register_status' has not been declared (and we can't
forward declare enums in C++).
gdb/ChangeLog:
2015-02-27 Pedro Alves <palves@redhat.com>
* gdbarch.sh: Include regcache.h.
* gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3319194..110c80b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2015-02-27 Pedro Alves <palves@redhat.com> + * gdbarch.sh: Include regcache.h. + * gdbarch.h: Regenerate. + +2015-02-27 Pedro Alves <palves@redhat.com> + * arm-tdep.c (decode_insn) <arm_handle_insn, thumb_handle_insn>: Remove duplicate const. * sparc-sol2-tdep.c (sparc_sol2_static_transform_name): Remove |