Pelle ten Cate wrote:
Dank je, Marco.
Still I don't know how to apply this command, just entering it on the
gdb commandline gives me a "Target 'None' cannot support this
command.". If I open gdb with the executable filename as first
argument, it gives the same error, but then Target 'exec' is
mentioned.
I feel like there must be some way to apply this command in the
lazarus interface. Could you tell me how I should execute this gdb
command?
Just before Marco's quote from the GDB manual, it says:
'On some OSes, you can lock the OS scheduler and thus allow only a single
thread to run.'
Maybe Windows is not one of those 'some OSes'. It's a pity the docs are not
more specific on this...
Inspecting the GDB sources, it appears that a target must at least define that
to_has_thread_control = tc_schedlock in order for scheduler locking to work.
This indeed appears not to be defined for the win32 target, though some other
targets do do this (at least in recent GDB versions).
Regards,
Bram
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives