aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-01-17 12:45:11 -0700
committerTom Tromey <tromey@adacore.com>2023-01-17 12:45:11 -0700
commit2c01dcdb5a2de09a5b36655f1a90d9471278d8b3 (patch)
treef96ccdf532d971ed87b04ea3c3cbee4cc80f7688 /gdb/gdbarch.c
parentef497b741139492a40bee9132d29cb861926ca9c (diff)
downloadgdb-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.c')
-rw-r--r--gdb/gdbarch.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c
index 46baca9..04fcc92 100644
--- a/gdb/gdbarch.c
+++ b/gdb/gdbarch.c
@@ -48,10 +48,6 @@ struct gdbarch
gdbarch_tdep_up tdep;
gdbarch_dump_tdep_ftype *dump_tdep = nullptr;
- /* per-architecture data-pointers. */
- unsigned nr_data = 0;
- void **data = nullptr;
-
int short_bit = 2*TARGET_CHAR_BIT;
int int_bit = 4*TARGET_CHAR_BIT;
int long_bit = 4*TARGET_CHAR_BIT;