From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Mark Kettenis Cc: "John S. Kallal" , gdb@sources.redhat.com Subject: Re: Why is the LIN-LVP target not stacked? Date: Wed, 06 Jun 2001 03:42:00 -0000 Message-id: <3B1E0949.2010403@cygnus.com> References: <3B047EE5.D9D8082@home.com> X-SW-Source: 2001-06/msg00015.html > "John S. Kallal" 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