From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21873 invoked by alias); 14 Nov 2008 08:07:37 -0000 Received: (qmail 21649 invoked by uid 22791); 14 Nov 2008 08:07:36 -0000 X-Spam-Check-By: sourceware.org Received: from www.iap-online.com (HELO www.iap-online.com) (69.20.70.12) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 14 Nov 2008 08:06:59 +0000 Received: from www.iap-online.com (localhost [127.0.0.1]) by www.iap-online.com (8.12.11.20060308/8.12.11) with ESMTP id mAE86qVi022751 for ; Fri, 14 Nov 2008 03:06:52 -0500 Received: (from apache@localhost) by www.iap-online.com (8.12.11.20060308/8.12.11/Submit) id mAE86pvF022749; Fri, 14 Nov 2008 03:06:51 -0500 Received: from 210.143.35.18 (SquirrelMail authenticated user raja.saleru) by www.iap-online.com with HTTP; Fri, 14 Nov 2008 03:06:51 -0500 (EST) Message-ID: <59596.210.143.35.18.1226650011.squirrel@www.iap-online.com> In-Reply-To: <33036.210.143.35.19.1225860010.squirrel@www.iap-online.com> References: <33036.210.143.35.19.1225860010.squirrel@www.iap-online.com> Date: Fri, 14 Nov 2008 08:07:00 -0000 Subject: gdb load command flow From: raja.saleru@iap-online.com To: gdb@sourceware.org User-Agent: SquirrelMail/1.4.8-6.el3 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-2022-jp Content-Transfer-Encoding: 8bit X-Synonym: Copied by Synonym (http://www.modulo.ro/synonym) to: mscopy 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/msg00112.txt.bz2 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 ? At the OpenOCD, which function is called for loading ? Thanks in Advance Raja Saleru