This is the mail archive of the
mailing list for the GDB project.
Re: Linux sigtramp detection code moved to its proper place
On Fri, Mar 17, 2000 at 12:11:30AM +0100, Mark Kettenis wrote:
> From: Chris Faylor <firstname.lastname@example.org>
> Date: Thu, 16 Mar 2000 18:00:48 -0500
> On Thu, Mar 16, 2000 at 03:55:04PM -0700, Kevin Buettner wrote:
> >On Mar 16, 5:41pm, Jim Blandy wrote:
> >> There's a lot of code in i386-tdep.c devoted to identifying and
> >> unraveling Linux signal trampolines. There's absolutely no reason I
> >> can think of that this should be in i386-tdep.c, intead of
> >> i386-linux-nat.c.
> >I think it should go in i386-linux-tdep.c instead. That way you'd be
> >able to debug a linux/ia32 target from a non-linux/ia32 host.
>I fully agree with Kevin here.
> What about the 14 character limit for filenames?
>That's why I dumped the issue after raking it up a week ago.
>i386-tdep.c is a better place for this code than i386-linux-nat.c.
FWIW, so do I. I thought that there was agreement to this when you
brought it up before.
I would be in favor of just creating an i386-linux-tdep.c and working
out the 8.3 issues later. Since there are already 8.3 issues in
the gdb source directory, adding one more is not going to aggravate
the problem unduly.