]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb: remove gdbarch_info::tdep_info
authorSimon Marchi <simon.marchi@polymtl.ca>
Mon, 28 Jun 2021 15:49:22 +0000 (11:49 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Mon, 28 Jun 2021 15:49:22 +0000 (11:49 -0400)
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

gdb/ChangeLog
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh

index 5ba05036ec29a50b13dc4b958e084fcb80c98a2e..a220fffbe93c0c57c7b4e3c240fd78ba01662868 100644 (file)
@@ -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
index 208cf4b5aaab4c37ae7785632a6d4fcef57621e2..830a86df89f3bb9e2672348f52d694d5ff227900 100644 (file)
@@ -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.  */
index 7157e5596fd36d0ad19400d3462592481d28eaa7..36ea4de17c8c83e0fd22c19c86763ee7a9e17f93 100644 (file)
@@ -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;
index 43e51341f97b2271a17f80db2a2be89864acb671..01a5ac88219d54620d5f7b3de8751befe49d76fc 100755 (executable)
@@ -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.  */