aboutsummaryrefslogtreecommitdiff
path: root/gdb/windows-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/windows-tdep.c')
-rw-r--r--gdb/windows-tdep.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/windows-tdep.c b/gdb/windows-tdep.c
index cddbf23..810607a 100644
--- a/gdb/windows-tdep.c
+++ b/gdb/windows-tdep.c
@@ -111,7 +111,7 @@ windows_get_tlb_type (struct gdbarch *gdbarch)
static struct type *last_tlb_type = NULL;
struct type *dword_ptr_type, *dword32_type, *void_ptr_type;
struct type *peb_ldr_type, *peb_ldr_ptr_type;
- struct type *peb_type, *peb_ptr_type, *list_type, *list_ptr_type;
+ struct type *peb_type, *peb_ptr_type, *list_type;
struct type *module_list_ptr_type;
struct type *tib_type, *seh_type, *tib_ptr_type, *seh_ptr_type;
@@ -130,9 +130,6 @@ windows_get_tlb_type (struct gdbarch *gdbarch)
list_type = arch_composite_type (gdbarch, NULL, TYPE_CODE_STRUCT);
TYPE_NAME (list_type) = xstrdup ("list");
- list_ptr_type = arch_type (gdbarch, TYPE_CODE_PTR,
- TYPE_LENGTH (void_ptr_type), NULL);
-
module_list_ptr_type = void_ptr_type;
append_composite_type_field (list_type, "forward_list",