From: Tom Tromey Date: Tue, 8 Oct 2019 17:21:46 +0000 (-0600) Subject: Remove two unused items from windows-nat.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3abea05d9b60032391971f7fefd44fb4ab560ddd;p=binutils-gdb.git 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 * windows-nat.c (struct windows_thread_info_struct) : Remove. (struct safe_symbol_file_add_args): Remove. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9b09048cf13..4f6f37b50db 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2019-10-08 Tom Tromey + + * windows-nat.c (struct windows_thread_info_struct) : Remove. + (struct safe_symbol_file_add_args): Remove. + 2019-10-08 Tom Tromey * windows-nat.c: Don't include buildsym-legacy.h. diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index d73e68a4a6d..607b2e8cb97 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -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 {