diff options
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/gnu-v3-abi.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5e9e9b8..41397b2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,4 +1,10 @@ 2014-02-12 Pedro Alves <palves@redhat.com> + Kevin Buettner <kevinb@redhat.com> + + * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with + TYPE_INSTANCE_FLAG_CODE_SPACE. + +2014-02-12 Pedro Alves <palves@redhat.com> * h8300-tdep.c (pseudo_from_raw_register) (raw_from_pseudo_register): New functions. diff --git a/gdb/gnu-v3-abi.c b/gdb/gnu-v3-abi.c index a08dc36..ceccbe5 100644 --- a/gdb/gnu-v3-abi.c +++ b/gdb/gnu-v3-abi.c @@ -171,7 +171,7 @@ build_gdb_vtable_type (struct gdbarch *arch) TYPE_TAG_NAME (t) = "gdb_gnu_v3_abi_vtable"; INIT_CPLUS_SPECIFIC (t); - return t; + return make_type_with_address_space (t, TYPE_INSTANCE_FLAG_CODE_SPACE); } |