From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20381 invoked by alias); 18 May 2010 15:05:31 -0000 Received: (qmail 20372 invoked by uid 22791); 18 May 2010 15:05:30 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-qy0-f194.google.com (HELO mail-qy0-f194.google.com) (209.85.221.194) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 18 May 2010 15:05:21 +0000 Received: by qyk32 with SMTP id 32so2471042qyk.0 for ; Tue, 18 May 2010 08:05:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.26.154 with SMTP id e26mr3827604qac.247.1274195118474; Tue, 18 May 2010 08:05:18 -0700 (PDT) Received: by 10.229.74.134 with HTTP; Tue, 18 May 2010 08:05:17 -0700 (PDT) In-Reply-To: <201005171017.17564.pedro@codesourcery.com> References: <201005171017.17564.pedro@codesourcery.com> Date: Tue, 18 May 2010 15:05:00 -0000 Message-ID: Subject: Re: gdbserver "load" command From: Venkata Subbarao To: Pedro Alves Cc: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 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: 2010-05/txt/msg00052.txt.bz2 Sorry, But how can I run without loading the file. I have tried with "remote put" and I have succeeded with it. But I wanted to use "load" followed by "continue" command. I am also curious to know what actually happens when we say "load" command. Where does it dump the file contents ? I request you to kindly help me. Thanks in advance, --Subbarao On Mon, May 17, 2010 at 2:47 PM, Pedro Alves wrote: > On Monday 17 May 2010 08:38:34, Venkata Subbarao wrote: > >> 2) How can i load a program dynamically using "load" command in gdb ? > > Use "run" instead. > > -- > Pedro Alves >