summaryrefslogtreecommitdiff
path: root/gdb/windows-tdep.c
diff options
context:
space:
mode:
authorPierre Muller <muller@ics.u-strasbg.fr>2010-04-19 23:52:11 +0000
committerPierre Muller <muller@ics.u-strasbg.fr>2010-04-19 23:52:11 +0000
commit18446285228b830f3e0b7dbc86df580dfa1725b9 (patch)
treec9881e004ebe5fb7ab403ee46c1328150c93a3d6 /gdb/windows-tdep.c
parent0f8aa2a477151133bb58079af6da7212644e1453 (diff)
downloadgdb-18446285228b830f3e0b7dbc86df580dfa1725b9.tar.gz
* windows-tdep.c (windows_get_tlb_type): Change current_seh.handle
type to void function.
Diffstat (limited to 'gdb/windows-tdep.c')
-rw-r--r--gdb/windows-tdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/windows-tdep.c b/gdb/windows-tdep.c
index ba0fba9fa42..50dfbe21c98 100644
--- a/gdb/windows-tdep.c
+++ b/gdb/windows-tdep.c
@@ -133,7 +133,8 @@ windows_get_tlb_type (struct gdbarch *gdbarch)
TYPE_TARGET_TYPE (seh_ptr_type) = seh_type;
append_composite_type_field (seh_type, "next_seh", seh_ptr_type);
- append_composite_type_field (seh_type, "handler", void_ptr_type);
+ append_composite_type_field (seh_type, "handler",
+ builtin_type (gdbarch)->builtin_func_ptr);
/* struct _PEB_LDR_DATA */
peb_ldr_type = arch_composite_type (gdbarch, NULL, TYPE_CODE_STRUCT);