From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23435 invoked by alias); 14 Nov 2008 08:13:56 -0000 Received: (qmail 23405 invoked by uid 22791); 14 Nov 2008 08:13:55 -0000 X-Spam-Check-By: sourceware.org Received: from fk-out-0910.google.com (HELO fk-out-0910.google.com) (209.85.128.185) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 14 Nov 2008 08:13:13 +0000 Received: by fk-out-0910.google.com with SMTP id 19so1409334fkr.8 for ; Fri, 14 Nov 2008 00:13:10 -0800 (PST) Received: by 10.181.199.19 with SMTP id b19mr170800bkq.191.1226650390311; Fri, 14 Nov 2008 00:13:10 -0800 (PST) Received: by 10.181.50.11 with HTTP; Fri, 14 Nov 2008 00:13:10 -0800 (PST) Message-ID: <67ea2eb0811140013k607b4ee9nabadc956e85397e1@mail.gmail.com> Date: Fri, 14 Nov 2008 08:13:00 -0000 From: "Ramana Radhakrishnan" To: raja.saleru@iap-online.com Subject: Re: gdb load command flow Cc: gdb@sourceware.org In-Reply-To: <59596.210.143.35.18.1226650011.squirrel@www.iap-online.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <33036.210.143.35.19.1225860010.squirrel@www.iap-online.com> <59596.210.143.35.18.1226650011.squirrel@www.iap-online.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-11/txt/msg00113.txt.bz2 On Fri, Nov 14, 2008 at 8:06 AM, 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 > >