[Lazarus] Single-stepping assembler

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Sep 13 17:09:07 CEST 2011


On Tue, 13 Sep 2011 15:56:07 +0100
Martin <lazarus at mfriebe.de> wrote:

> On 13/09/2011 15:17, Mark Morgan Lloyd wrote:
> > Martin wrote:
> >>
> >>
> >> I added a ifdef, as found in the fpc source.
> >>
> >> Most curious that it depends on CPUsparc , instead of OSsomething.
> >
> > But Solaris and some other OSes have their own implementations of 
> > ostypes.inc, with constants eventually expressed by FPC's BaseUnix unit.
> >
> > Is there any particular reason that you're redefining O_NONBLOCK, 
> > rather than using the one from BaseUnix?
> 
> I didn't.
> 
> I am mainly windows. I have linux in a VM for testing.  I did use libs, 
> I was told I can't. Mattias provided the IdeMiniLibc. Where he took the 
> values from I do not know.

The C header files I found on Linux.

 
> If baseunix can be used then that is probably fine too.

At the time of writing the value did not exist in the BaseUnix.
The IDEMiniLibc has a comment about only putting things there that do
not exist in the RTL.
If the value now exists, then it should be removed from IDEMiniLibc.

Mattias




More information about the Lazarus mailing list