diff options
author | Tom Tromey <tromey@adacore.com> | 2023-01-17 12:45:11 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-01-17 12:45:11 -0700 |
commit | 2c01dcdb5a2de09a5b36655f1a90d9471278d8b3 (patch) | |
tree | f96ccdf532d971ed87b04ea3c3cbee4cc80f7688 /gdb/gdbarch.py | |
parent | ef497b741139492a40bee9132d29cb861926ca9c (diff) | |
download | gdb-2c01dcdb5a2de09a5b36655f1a90d9471278d8b3.zip gdb-2c01dcdb5a2de09a5b36655f1a90d9471278d8b3.tar.gz gdb-2c01dcdb5a2de09a5b36655f1a90d9471278d8b3.tar.bz2 |
Remove two unused fields from gdbarch
When I converted gdbarch to use the registry, I forgot to remove the
two fields that were used to implement the previous approach. This
patch removes them. Tested by rebuilding.
Diffstat (limited to 'gdb/gdbarch.py')
-rwxr-xr-x | gdb/gdbarch.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/gdbarch.py b/gdb/gdbarch.py index 7dc7938..3ebc359 100755 --- a/gdb/gdbarch.py +++ b/gdb/gdbarch.py @@ -289,10 +289,6 @@ with open("gdbarch.c", "w") as f: print(" gdbarch_tdep_up tdep;", file=f) print(" gdbarch_dump_tdep_ftype *dump_tdep = nullptr;", file=f) print(file=f) - print(" /* per-architecture data-pointers. */", file=f) - print(" unsigned nr_data = 0;", file=f) - print(" void **data = nullptr;", file=f) - print(file=f) for c in filter(not_info, components): if isinstance(c, Function): print(f" gdbarch_{c.name}_ftype *", file=f, end="") |