This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH]: Fix thread debugging on Sparc/Linux
- From: "David S. Miller" <davem at davemloft dot net>
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 04 Apr 2006 14:54:55 -0700 (PDT)
- Subject: Re: [PATCH]: Fix thread debugging on Sparc/Linux
- References: <20060401.231203.48434968.davem@davemloft.net>
From: "David S. Miller" <davem@davemloft.net>
Date: Sat, 01 Apr 2006 23:12:03 -0800 (PST)
> Normally the {supply,fill}_{gregset,fpregset}() functions don't
> get used on Sparc/Linux because all of the register stuff does
> ptrace() inside of sparc-nat.c
>
> However, for proc-service.c thread debugging (and I think also
> for core files) these routines do get used.
>
> Currently, we're linking in sparc-sol2-nat.o but that doesn't
> work so well because it hardcodes using the sparc_sol2_gregset
> which causes no end of troubles if used on another native Sparc
> platform.
>
> Any objections to the following fix?
Since there were no objections, I've checked in the fix.