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
This commit is contained in:
parent
4d60b89770
commit
c87c999c51
4 changed files with 6 additions and 14 deletions
|
@ -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>
|
2021-06-28 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||||
|
|
||||||
* remote.c (remote_target::start_remote): Set 'starting_up' using
|
* remote.c (remote_target::start_remote): Set 'starting_up' using
|
||||||
|
|
|
@ -5695,9 +5695,6 @@ gdbarch_find_by_info (struct gdbarch_info info)
|
||||||
fprintf_unfiltered (gdb_stdlog,
|
fprintf_unfiltered (gdb_stdlog,
|
||||||
"gdbarch_find_by_info: info.abfd %s\n",
|
"gdbarch_find_by_info: info.abfd %s\n",
|
||||||
host_address_to_string (info.abfd));
|
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. */
|
/* Find the tdep code that knows about this architecture. */
|
||||||
|
|
|
@ -1795,10 +1795,6 @@ struct gdbarch_info
|
||||||
/* Use default: NULL (ZERO). */
|
/* Use default: NULL (ZERO). */
|
||||||
union
|
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
|
/* Architecture-specific target description data. Numerous targets
|
||||||
need only this, so give them an easy way to hold it. */
|
need only this, so give them an easy way to hold it. */
|
||||||
struct tdesc_arch_data *tdesc_data;
|
struct tdesc_arch_data *tdesc_data;
|
||||||
|
|
|
@ -1547,10 +1547,6 @@ struct gdbarch_info
|
||||||
/* Use default: NULL (ZERO). */
|
/* Use default: NULL (ZERO). */
|
||||||
union
|
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
|
/* Architecture-specific target description data. Numerous targets
|
||||||
need only this, so give them an easy way to hold it. */
|
need only this, so give them an easy way to hold it. */
|
||||||
struct tdesc_arch_data *tdesc_data;
|
struct tdesc_arch_data *tdesc_data;
|
||||||
|
@ -2479,9 +2475,6 @@ gdbarch_find_by_info (struct gdbarch_info info)
|
||||||
fprintf_unfiltered (gdb_stdlog,
|
fprintf_unfiltered (gdb_stdlog,
|
||||||
"gdbarch_find_by_info: info.abfd %s\n",
|
"gdbarch_find_by_info: info.abfd %s\n",
|
||||||
host_address_to_string (info.abfd));
|
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. */
|
/* Find the tdep code that knows about this architecture. */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue