summaryrefslogtreecommitdiff
path: root/gdb/gdbarch.sh
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2014-08-13 11:15:00 -0700
committerJoel Brobecker <brobecker@adacore.com>2014-08-15 05:29:33 -0700
commiteb7a547ad40c97ca306e29c94678e4eab1822089 (patch)
treef9d4a723ba7d2f55c93143cebcfdb4e6063b8979 /gdb/gdbarch.sh
parentebcc6c3a7b5021bab3cc30e9b7d4c340153a0c32 (diff)
downloadbinutils-gdb-eb7a547ad40c97ca306e29c94678e4eab1822089.tar.gz
Add "frame.h" #include in gdbarch.h.
This include is needed because gdbarch_dummy_id needs the full definition of struct frame_id. gdb/ChangeLog: * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct frame_info" partial declaration. * gdbarch.h: Regenerate. Tested on x86_64-linux by rebuilding GDB.
Diffstat (limited to 'gdb/gdbarch.sh')
-rwxr-xr-xgdb/gdbarch.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh
index 61d07816216..2a8bca87ce5 100755
--- a/gdb/gdbarch.sh
+++ b/gdb/gdbarch.sh
@@ -1124,9 +1124,10 @@ cat <<EOF
#ifndef GDBARCH_H
#define GDBARCH_H
+#include "frame.h"
+
struct floatformat;
struct ui_file;
-struct frame_info;
struct value;
struct objfile;
struct obj_section;