* windows-tdep.c (windows_get_tlb_type): Change current_seh.handle
authorPierre Muller <muller@sourceware.org>
Mon, 19 Apr 2010 23:52:11 +0000 (23:52 +0000)
committerPierre Muller <muller@sourceware.org>
Mon, 19 Apr 2010 23:52:11 +0000 (23:52 +0000)
type to void function.

gdb/ChangeLog
gdb/windows-tdep.c

index 0eed99854e17b132d3d4bc61396fc88241373d83..22456f2e49221a570b46397b531966adb03d100b 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-19  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * windows-tdep.c (windows_get_tlb_type): Change current_seh.handle
+       type to void function.
+
 2010-04-19  Stan Shebs  <stan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com>
 
index ba0fba9fa42974a5d811b03c1247df8355ea16a9..50dfbe21c9870addd0fc72837d27b1057661994f 100644 (file)
@@ -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);