From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Received: (qmail 4587 invoked from network); 9 Jan 2003 23:07:16 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by 209.249.29.67 with SMTP; 9 Jan 2003 23:07:16 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id D40D73ED7; Thu, 9 Jan 2003 18:07:06 -0500 (EST) Message-ID: <3E1E009A.5000302@redhat.com> Date: Thu, 09 Jan 2003 23:07:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.1) Gecko/20021211 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Benjamin Tze-Kit Lee Cc: gdb@sources.redhat.com Subject: Re: reset command for GDB References: <20030109212151.GA1780@sfu.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-01/txt/msg00153.txt.bz2 > Hi all, > > I am using GDB to remotely debug on a board that runs an ARM processor. > Everything seems to be working for now but I don't know how to reset the > board and halt it at the beginning of the program where I want it to be? > Is there a way to reset the board and let it halt at the beginning of the > program? I was thinking "run" might do it but then I found out that it > only works on non-remote debug program. > > Thx a lot for your help. Play with `target extended-remote'. Andrew