[Lazarus] Single-stepping assembler

Martin lazarus at mfriebe.de
Sat Sep 10 22:47:31 CEST 2011


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.




More information about the Lazarus mailing list