diff options
author | Pierre Muller <muller@sourceware.org> | 2010-04-19 23:52:11 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2010-04-19 23:52:11 +0000 |
commit | e8e6c82edd88aed7fcc845e99517bd436c5ebe52 (patch) | |
tree | 51c6b5438568240d8a68197f4b7199589294f814 /gdb | |
parent | 4136fdd244ae908cbfccea8c38a1971182f6bbca (diff) | |
download | gdb-e8e6c82edd88aed7fcc845e99517bd436c5ebe52.zip gdb-e8e6c82edd88aed7fcc845e99517bd436c5ebe52.tar.gz gdb-e8e6c82edd88aed7fcc845e99517bd436c5ebe52.tar.bz2 |
* windows-tdep.c (windows_get_tlb_type): Change current_seh.handle
type to void function.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/windows-tdep.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0eed998..22456f2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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> diff --git a/gdb/windows-tdep.c b/gdb/windows-tdep.c index ba0fba9..50dfbe2 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); |