[Lazarus] Single-stepping assembler

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Sun Sep 11 09:33:20 CEST 2011


Martin wrote:
> On 10/09/2011 20:50, Mark Morgan Lloyd wrote:
>> (gdb) bt
>> #0  0xf7f0f25c in __read_nocancel () from /lib/libpthread.so.0
>> #1  0x00ae7450 in TPSEUDOTERMINAL__READ (this=0xf61fe580, result=0x0)
>>     at /usr/local/share/lazarus-trunk/debugger/gdbmimiscclasses.pp:539
>> #2  0x00ae7570 in TPSEUDOTERMINAL__CHECKCANREAD (this=0xf61fe580)
>>     at /usr/local/share/lazarus-trunk/debugger/gdbmimiscclasses.pp:546
> 
> I had a look at that code.
> 
> It looks like the error handling was all, but not appropriate.
> It is possible that pseudo terminal creation failed, or that your system 
> has an issue with none blocking handles, then anything may have happened.
> 
> I added some checks, since it doesn't fail here, I am limited in what I 
> can test.

Grabbing trunk and rebuilding. I'll also try some different 
architectures if possible.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list