This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: GDB over a serial link (with no OS) for MIPS32
Thanks for the email.
I will need a little more hand-holding :(
Can you please give me some more pointers on how to get started?
More specifically,
1. What are the OS-dependent and OS-independent portions of the code?
2. Specifically using a serial port, what is transport dependent part
of the code?
3. What is the arch. dependent part?
Any pointers on how to get started (maybe something like a porting
guide, perhaps?).
Thanks much for your help.
Regards,
-Srinivas
On 6/8/05, Ramana Radhakrishnan <ramana.radhakrishnan@codito.com> wrote:
>
> Hi,
>
> You'd want to write a new target in GDB. Take a look at the target
> abstraction.
> Look at a sample target ... lets say remote.c .
>
> cheers
> Ramana
>
> > Hi,
> > We need to develop a gdb debug tool for a custom multi-processor MIPS
> > target running in an infinite loop (without an OS) over a serial link
> > with a UART. The host is an x86 machine with Linux OS.
> >
> > The single UART needs to provide connectivity to all the processors
> > on the target and the debug tool needs to do processor specific
> > commands (breakpoints, source-level debug, etc.).
> >
> > Can you guys please point me to any reference material,
> > implementations, etc. for me to get started with this?
> >
> > Thanks much for your help.
> >
> > Regards,
> > -Srinivas
> >
>
>
> ----
> Ramana Radhakrishnan
> Codito Technologies
>
>