diff options
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 15897172f1..0edae7f6f0 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -34,6 +34,8 @@ struct gdbarch /* An obstack bound to the lifetime of the architecture. */ auto_obstack obstack; + /* Registry. */ + registry<gdbarch> registry_fields; /* basic architectural information. */ const struct bfd_arch_info * bfd_arch_info; @@ -264,8 +266,6 @@ gdbarch_alloc (const struct gdbarch_info *info, gdbarch = new struct gdbarch; - alloc_gdbarch_data (gdbarch); - gdbarch->tdep = tdep; gdbarch->bfd_arch_info = info->bfd_arch_info; |