|
From: Tom H. <to...@co...> - 2005-08-10 09:00:43
|
In message <21B78378E540EC4795820EFF451D857F199FF2@MCHP7I5A.ww002.siemens.net>
Joachim Bauernberger <joa...@si...> wrote:
> i have however a small problem with the above limitation. has this
> changed within 3.0.0?
>
> the manpage says:
> vvvvvvvvvvv
> 1 May 2002: this is a historical relic which could be easily fixed if
> it gets in your way.
> Mail me and complain if this is a problem for you.
> ^^^^^^^^^^^^
I don't believe it has changed, and I'm not convinced it is easily
fixed - that comment is very old and the whole db-attach scheme has
changed since then I think.
The main problem I suspect is that if you've got multiple programs
running in the terminal there is no way to control which one will get
the input when you try and answer the question about whether to attach
the debugger.
So if you do a straight execve it will probably be fine, but if you
fork and exec so that you have multiple processes it might not be
reliable. Not that is that reliable to start with...
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|