This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Why is the LIN-LVP target not stacked?
- To: Mark Kettenis <kettenis at science dot uva dot nl>
- Subject: Re: Why is the LIN-LVP target not stacked?
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 06 Jun 2001 06:43:21 -0400
- Cc: "John S. Kallal" <jskallal at home dot com>, gdb at sources dot redhat dot com
- References: <3B047EE5.D9D8082@home.com> <s3i8zjuvepg.fsf@debye.wins.uva.nl>
> "John S. Kallal" <jskallal@home.com> writes:
>
>
>> Why are the target routine in the file lin-lwp.c not put onto
>> the target stack with a stratum level between thread_stratum and
>> process_stratum?
>
>
> I think it should. However when I checked in the code to see whether
> it worked as well for other people as it did for me, I didn't want to
> make the necessary changes to the rest of GDB. Feel free to submit
> any patches. On second thought, perhaps this should be discussed a
> bit more first...
Yes, the idea is correct. The problem, as you've probably noticed is
that the target stack isn't really a stack :-( Cleanly slipping a new
layer in between thread_stratum and process_stratum isn't as easy as it
should be.
However, having said that I'm very interested in changes that start
converting the target layers into a real stack.
Andrew