This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb load command flow
- From: "Ramana Radhakrishnan" <ramana dot r at gmail dot com>
- To: raja dot saleru at iap-online dot com
- Cc: gdb at sourceware dot org
- Date: Fri, 14 Nov 2008 08:13:10 +0000
- Subject: Re: gdb load command flow
- References: <33036.210.143.35.19.1225860010.squirrel@www.iap-online.com> <59596.210.143.35.18.1226650011.squirrel@www.iap-online.com>
On Fri, Nov 14, 2008 at 8:06 AM, <raja.saleru@iap-online.com> wrote:
>
> Hi
>
> I would like to know the flow between the gdb and OpenOPCD communication
> when the below command is executed.
>
> (gdb) load
>
> I understand till the flow
>
> command_line_handler -> load_command() -> target_load() -> generic_load()->
>
> from generic load, how it will communicate with gdbserver of OpenOCD ? Is
> it through socket write() or through RSP (remtoe serial protocol) ? for
> sending the executable segments into the target for loading ?
set debug remote on
help set debug
will help you.
cheers
Ramana
>
>
> At the OpenOCD, which function is called for loading ?
>
> Thanks in Advance
> Raja Saleru
>
>