Jeff,
You will need to get the source code for gdb if you don't already have
it. You need to compile gdb to run on your pentium/linux box, but you need
to specify the target architecture as MIPS/linux. I've done a similar
thing here at SGI, but actually the opposite of what you want. I run
gdb on an SGI MIPS machine, but my target machine (the one I am debugging)
is ia32/linux. Compiling gdb for this was pretty simple if I remember
correctly. Let me know if you run into any difficulties.
Scott
--- Jeff Harrell <jharrell@xxxxxx> wrote:
> I am currently working on a project to port the MIPS/Linux to Evaluation
> board
> and am interested in using kgdb to debug the kernel that we are using.
> The MIPS/
> Linux kernel is 2.3.19 and looks like it has remote kernel debugging
> built into the
> kernel source. My question is the necessary code that I am going to
> need on both
> my development system and the target system. When connecting with kgdb
> to my
> MIPS target board, are there any modifications to the host side gdb (in
> my case this
> is a pentium box running linux)? Does this use standard gdb? Are the
> patches that
> are available on the sgi website (kgdb0.2-2.2.12) merged into the kernel
> that we are
> using? Any additional information that anybody can provide concerning
> kgdb and
> the debug process would be greatly appreciated.
>
> Thanks,
> Jeff
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Jeff Harrell Work: (801) 619-6104
> Broadband Access group/TI
> jharrell@xxxxxx
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>
>
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://messenger.yahoo.com
|