mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 19:29:39 +02:00
* fixed compilation errors
git-svn-id: trunk@2815 -
This commit is contained in:
parent
123951865c
commit
cb94ba5457
@ -76,11 +76,13 @@
|
|||||||
}
|
}
|
||||||
{ THREAD_STATE_FLAVOR_LIST 0 }
|
{ THREAD_STATE_FLAVOR_LIST 0 }
|
||||||
|
|
||||||
|
{
|
||||||
const
|
const
|
||||||
i386_THREAD_STATE = 1;
|
i386_THREAD_STATE = 1;
|
||||||
i386_FLOAT_STATE = 2;
|
i386_FLOAT_STATE = 2;
|
||||||
i386_EXCEPTION_STATE = 3;
|
i386_EXCEPTION_STATE = 3;
|
||||||
THREAD_STATE_NONE = 4;
|
THREAD_STATE_NONE = 4;
|
||||||
|
}
|
||||||
{
|
{
|
||||||
* Main thread state consists of
|
* Main thread state consists of
|
||||||
* general registers, segment registers,
|
* general registers, segment registers,
|
||||||
@ -106,7 +108,7 @@
|
|||||||
fs : cuint;
|
fs : cuint;
|
||||||
gs : cuint;
|
gs : cuint;
|
||||||
end;
|
end;
|
||||||
|
i386_thread_state_t = i386_thread_state;
|
||||||
{
|
{
|
||||||
* Default segment register values.
|
* Default segment register values.
|
||||||
}
|
}
|
||||||
|
@ -50,7 +50,7 @@ begin
|
|||||||
{$endif }
|
{$endif }
|
||||||
|
|
||||||
if (res <> 0) then
|
if (res <> 0) then
|
||||||
HandleErrorAddrFrame(res,pointer(sigcontext^.ts.eip),pointer(sigcontext^.ts.ebp);
|
HandleErrorAddrFrame(res,pointer(sigcontext.ts.eip),pointer(sigcontext.ts.ebp));
|
||||||
(*
|
(*
|
||||||
{ return to trampoline }
|
{ return to trampoline }
|
||||||
if res <> 0 then
|
if res <> 0 then
|
||||||
|
Loading…
Reference in New Issue
Block a user