This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]: Fix thread debugging on Sparc/Linux


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]