[fpc-devel] ExceptAddr, but no ExceptFrameCount and ExceptFrames

Florian Klaempfl florian at freepascal.org
Tue Jun 21 14:56:31 CEST 2005


Vincent Snijders wrote:

> Vincent Snijders wrote:
> 
>> Michael Van Canneyt wrote:
>>
>>>
>>>
>>> On Tue, 21 Jun 2005, Vincent Snijders wrote:
>>>
>>>> Hi,
>>>>
>>>> Sysutil has a function ExceptAddr to current exception address, but
>>>> no corresponding functions to get the frame count and the frames of
>>>> the current exception.
>>>>
>>>> Are these function just not yet implemented or are the ommitted on
>>>> purpose?
>>>
>>>
>>>
>>>
>>> Just not yet implemented. Delphi didn't have them either.
>>>
>>
> 
> Attached are two patches:
> 1. except.patch implements ExceptFrameCount and ExceptFrames
> 2. arg.patch fixes a bug in the copying of the commandfilename to the
> arg array. The #0 character was not copied, so the pchar was not
> properly terminated.
> 
> If these patches are applied in the trunk, wil they be merged into the
> fixes branch too?
> 

Applied, I'll merge them too.




More information about the fpc-devel mailing list