This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: linux native async mode support
On Sat, Mar 15, 2008 at 01:57:47AM +0000, Pedro Alves wrote:
> we get to the point where the non-async code path is not needed anymore,
> we can drop a bunch of support code. That's doesn't seem likelly to
> happen anytime soon in the common code, but it can be done target by
> target. Linux native and target (extended-)remote are the first
> candidates.
Exactly. Pedro and I both know how to do this on native Windows, and
can test there. A similar version to the GNU/Linux code will work on
other ptrace targets (not exactly the same, I think, but pretty
close). Ttrace may need something different, but I'm sure it's
possible. I suspect that procfs will be easy, for someone more
familiar with it. And the various remote targets are all similar
in this regard.
In short, I don't think it will be very difficult to get rid of
synchronous target_wait. It will probably take a year from when
we get GNU/Linux and remote working, while we round up people familiar
with all the various supported interfaces, and some of them we'll
probably have to guess. But I think we can do it.
--
Daniel Jacobowitz
CodeSourcery