Remove two unused items from windows-nat.c
authorTom Tromey <tromey@adacore.com>
Tue, 8 Oct 2019 17:21:46 +0000 (11:21 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 8 Oct 2019 17:21:46 +0000 (11:21 -0600)
windows_thread_info_struct::sf is unused, as is
struct safe_symbol_file_add_args in windows-nat.c.
This patch removes them both.  Tested by grep and
rebuilding.

gdb/ChangeLog
2019-10-08  Tom Tromey  <tromey@adacore.com>

* windows-nat.c (struct windows_thread_info_struct) <sf>: Remove.
(struct safe_symbol_file_add_args): Remove.

gdb/ChangeLog
gdb/windows-nat.c

index 9b09048cf13111826bbb44465025df0210334c68..4f6f37b50dbd225d4492a8f54e0541352e1e3e63 100644 (file)
@@ -1,3 +1,8 @@
+2019-10-08  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (struct windows_thread_info_struct) <sf>: Remove.
+       (struct safe_symbol_file_add_args): Remove.
+
 2019-10-08  Tom Tromey  <tromey@adacore.com>
 
        * windows-nat.c: Don't include buildsym-legacy.h.
index d73e68a4a6df7b28ac5508017335451658c68c5b..607b2e8cb97b5cba33a473682e7fb2e68ef4975c 100644 (file)
@@ -224,7 +224,6 @@ typedef struct windows_thread_info_struct
     int suspended;
     int reload_context;
     CONTEXT context;
-    STACKFRAME sf;
   }
 windows_thread_info;
 
@@ -676,19 +675,6 @@ windows_nat_target::store_registers (struct regcache *regcache, int r)
     windows_store_one_register (regcache, th, r);
 }
 
-/* Encapsulate the information required in a call to
-   symbol_file_add_args.  */
-struct safe_symbol_file_add_args
-{
-  char *name;
-  int from_tty;
-  section_addr_info *addrs;
-  int mainline;
-  int flags;
-  struct ui_file *err, *out;
-  struct objfile *ret;
-};
-
 /* Maintain a linked list of "so" information.  */
 struct lm_info_windows : public lm_info_base
 {
This page took 0.030595 seconds and 4 git commands to generate.