diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-06-28 11:49:22 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-06-28 11:49:22 -0400 |
commit | c87c999c511f0484de53fa616b0bf6b00c753434 (patch) | |
tree | c33ba6c57efbf66db84b3445d44cd14167e89f76 /gdb | |
parent | 4d60b897707863bdfceb5b6e1c14545ad173a3a1 (diff) | |
download | gdb-c87c999c511f0484de53fa616b0bf6b00c753434.zip gdb-c87c999c511f0484de53fa616b0bf6b00c753434.tar.gz gdb-c87c999c511f0484de53fa616b0bf6b00c753434.tar.bz2 |
gdb: remove gdbarch_info::tdep_info
This field is not actually used, remove it.
gdb/ChangeLog:
* gdbarch.sh (struct gdbarch_info) <tdep_info>: Remove.
(gdbarch_find_by_info): Remove print.
* gdbarch.c, gdbarch.h: Re-generate.
Change-Id: I00af4681b8e1a27727441cbadc3827f5914bd8eb
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/gdbarch.c | 3 | ||||
-rw-r--r-- | gdb/gdbarch.h | 4 | ||||
-rwxr-xr-x | gdb/gdbarch.sh | 7 |
4 files changed, 6 insertions, 14 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5ba0503..a220fff 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2021-06-28 Simon Marchi <simon.marchi@polymtl.ca> + + * gdbarch.sh (struct gdbarch_info) <tdep_info>: Remove. + (gdbarch_find_by_info): Remove print. + * gdbarch.c, gdbarch.h: Re-generate. + 2021-06-28 Andrew Burgess <andrew.burgess@embecosm.com> * remote.c (remote_target::start_remote): Set 'starting_up' using diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 208cf4b..830a86d 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -5695,9 +5695,6 @@ gdbarch_find_by_info (struct gdbarch_info info) fprintf_unfiltered (gdb_stdlog, "gdbarch_find_by_info: info.abfd %s\n", host_address_to_string (info.abfd)); - fprintf_unfiltered (gdb_stdlog, - "gdbarch_find_by_info: info.tdep_info %s\n", - host_address_to_string (info.tdep_info)); } /* Find the tdep code that knows about this architecture. */ diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index 7157e55..36ea4de 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -1795,10 +1795,6 @@ struct gdbarch_info /* Use default: NULL (ZERO). */ union { - /* Architecture-specific information. The generic form for targets - that have extra requirements. */ - struct gdbarch_tdep_info *tdep_info; - /* Architecture-specific target description data. Numerous targets need only this, so give them an easy way to hold it. */ struct tdesc_arch_data *tdesc_data; diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index 43e5134..01a5ac8 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -1547,10 +1547,6 @@ struct gdbarch_info /* Use default: NULL (ZERO). */ union { - /* Architecture-specific information. The generic form for targets - that have extra requirements. */ - struct gdbarch_tdep_info *tdep_info; - /* Architecture-specific target description data. Numerous targets need only this, so give them an easy way to hold it. */ struct tdesc_arch_data *tdesc_data; @@ -2479,9 +2475,6 @@ gdbarch_find_by_info (struct gdbarch_info info) fprintf_unfiltered (gdb_stdlog, "gdbarch_find_by_info: info.abfd %s\n", host_address_to_string (info.abfd)); - fprintf_unfiltered (gdb_stdlog, - "gdbarch_find_by_info: info.tdep_info %s\n", - host_address_to_string (info.tdep_info)); } /* Find the tdep code that knows about this architecture. */ |