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
- From: "Ramana Radhakrishnan" <ramana dot radhakrishnan at codito dot com>
- To: "Srinivas Murthy" <codevana at gmail dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 9 Jun 2005 00:01:47 +0530 (IST)
- Subject: Re: GDB over a serial link (with no OS) for MIPS32
- References: <7cb1293c0506081005edd8c93@mail.gmail.com>
- Reply-to: ramana dot radhakrishnan at codito dot com
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