From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11790 invoked by alias); 22 Oct 2003 13:05:06 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 11783 invoked from network); 22 Oct 2003 13:05:06 -0000 Received: from unknown (HELO mercury.mv.net) (199.125.85.40) by sources.redhat.com with SMTP; 22 Oct 2003 13:05:06 -0000 Received: (qmail 6957 invoked from network); 22 Oct 2003 09:05:03 -0400 Received: from xbnh-1-16.mv.com (HELO ppro) (199.125.98.208) by mercury.mv.net with SMTP; 22 Oct 2003 09:05:03 -0400 X-Peer-Info: remote-ip 199.125.98.208 local-ip 199.125.85.40 local-name mercury.mv.net Message-ID: <010001c3989d$1951e230$c9d145cc@lndnnh.adelphia.net> From: "Peter Reilley" To: "Cliff" , References: <007f01c39898$5c39d210$0100a8c0@tamahome> Subject: Re: How to use "Command to issue after attaching" Date: Wed, 22 Oct 2003 13:05:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-SW-Source: 2003-q4/txt/msg00053.txt.bz2 Cliff; Do not use the "run" command when debugging a remote target, use the "continue" command. Pete. ----- Original Message ----- From: "Cliff" To: Sent: Wednesday, October 22, 2003 8:31 AM Subject: How to use "Command to issue after attaching" > Hi, all: > > I'm using arm-elf-insight with ocdlibremote, and I want to send some commands to ocdlibremote after attaching it. > > I put them in .gdbinit file and it really executes, but when I push the "run" button, insight try to detach and re-attach the target, so my settings are all lost. > > I want to write some registers into the target CPU(S3C44BOX) so that I can use it's SDRAM without initialize by the user program. > > It is a serial of commands like > monitor long 0x01c80000 = 0x11111002 > monitor long 0x01c80004 = 0x0600 > monitor long 0x01c80008 = 0x7ffc > ..... > > Then I try the "Command to issue after attaching" in the Target Selection dialog, but it seems only one command to issue. How can I run more than one command after attaching the target?