Re: kgdb for mainline kernel: core-lite [patch 1/3]

Randy.Dunlap
2004-03-11T05:10:01Z

On Thu, 11 Mar 2004 10:27:51 +0530 "Amit S. Kale" <amitkale@emsyssoft.com> wrote:

| On Wednesday 10 Mar 2004 8:57 pm, Tom Rini wrote:
| > On Wed, Mar 10, 2004 at 01:36:05PM +0100, Andi Kleen wrote:
| > > > Yes. But as things stand, gdb 6.0 doesn't show stack traces correctly
| > > > with esp and eip got from switch_to and gas 2.14 can't handle i386
| > > > dwarf2 CFI. Do we want to enforce getting a CVS version of gdb _and_
| > > > gas to build kgdb? Certainly not.
| > >
| > > binutils 2.15 should be released soon anyways AFAIK. And for x86-64 this
| > > all works just fine (as demonstrated by Jim's/George's stub), so please
| > > get rid of it at least for x86-64. I really don't want user_schedule
| > > there, because it's completely unnecessary.
| >
| > I think more importantly, it's probably going to be one of those ugly
| > things that will make it so much harder to get it into Linus' tree. So
| > lets just say it'll require gdb 6.1 / binutils 2.15 for KGDB to work
| > best.
|
| If we are enforcing this we need to do it correctly: is there any way to check
| from source code whether binutils version is correct (even a gas check will
| suffice)

Documentation/Changes says to use "ld -v" for binutils version.

--
~Randy