diff options
Diffstat (limited to 'gdb/gdbarch.py')
-rwxr-xr-x | gdb/gdbarch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdbarch.py b/gdb/gdbarch.py index 5a261ba572..696b3028e6 100755 --- a/gdb/gdbarch.py +++ b/gdb/gdbarch.py @@ -261,6 +261,8 @@ with open("gdbarch.c", "w") as f: print(file=f) print(" /* An obstack bound to the lifetime of the architecture. */", file=f) print(" auto_obstack obstack;", file=f) + print(" /* Registry. */", file=f) + print(" registry<gdbarch> registry_fields;", file=f) print(file=f) print(" /* basic architectural information. */", file=f) for c in filter(info, components): @@ -296,8 +298,6 @@ with open("gdbarch.c", "w") as f: print("", file=f) print(" gdbarch = new struct gdbarch;", file=f) print(file=f) - print(" alloc_gdbarch_data (gdbarch);", file=f) - print(file=f) print(" gdbarch->tdep = tdep;", file=f) print(file=f) for c in filter(info, components): |