This is the mail archive of the gdb-patches@sources.redhat.com 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: kgdb support for gdb


On Saturday 02 Oct 2004 3:30 am, Mark Kettenis wrote:
>    From: "Amit S. Kale" <amitkale@linsyssoft.com>
>    Date: Fri, 1 Oct 2004 13:14:33 +0530
>
>    Hi,
>
>    Attached patches add kgdb support to gdb. They define two new
>    targets i386-lk and x86_64-lk. Because of the definition of these
>    targets, one can build a gdb with does not contain the linux
>    operating environment specific things which are inappropriate for
>    the kernel, like signal trampoline frame parsing.
>
> I don't think you/we should add a new target triple for this stuff.
> Instead you should add a special OS ABI variant for the kernel, and
> use that to define your own kernel architecture vector.  I suppose
> there is a way to detect that a binary is a Linux kernel instead of a
> normal ELF executable?

Yes. There is a way to detect that. I'll look into this and get back with a 
different patch.

>
> Oh, and if you want this code to be included in the official GDB
> sources, you'll have to assign copyright to the FSF of course.

Definitely. Do I have to change the copyright message on the cfiles myself, or 
the gdb folks do it while including them into the gdb cvs tree? I have 
already signed a blanket copyright disclaimer for gdb contributions from 
myself as an individual. I'll have to sign one more for my company, 
LinSysSoft.

-Amit


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