diff options
author | Tom Tromey <tromey@adacore.com> | 2019-10-08 11:21:46 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2019-10-08 11:21:46 -0600 |
commit | 3abea05d9b60032391971f7fefd44fb4ab560ddd (patch) | |
tree | 252af386aeb9d6beff2e37894fb53f0ec298367d /gdb/windows-nat.c | |
parent | dde996e213c916e9440045231a4ac7fda130a888 (diff) | |
download | gdb-3abea05d9b60032391971f7fefd44fb4ab560ddd.zip gdb-3abea05d9b60032391971f7fefd44fb4ab560ddd.tar.gz gdb-3abea05d9b60032391971f7fefd44fb4ab560ddd.tar.bz2 |
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.
Diffstat (limited to 'gdb/windows-nat.c')
-rw-r--r-- | gdb/windows-nat.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index d73e68a..607b2e8 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 { |