Remove two unused items from windows-nat.c

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.
This commit is contained in:
Tom Tromey 2019-10-08 11:21:46 -06:00
parent dde996e213
commit 3abea05d9b
2 changed files with 5 additions and 14 deletions

View 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.

View 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
{