public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: "Peter Reilley" <micrio@mv.com>
To: "Cliff" <gdbinsight@citiz.net>, <insight@sources.redhat.com>
Subject: Re: How to use "Command to issue after attaching"
Date: Wed, 22 Oct 2003 13:05:00 -0000	[thread overview]
Message-ID: <010001c3989d$1951e230$c9d145cc@lndnnh.adelphia.net> (raw)
In-Reply-To: <007f01c39898$5c39d210$0100a8c0@tamahome>

Cliff;

Do not use the "run" command when debugging a remote target,
use the "continue" command.

Pete.

----- Original Message -----
From: "Cliff" <gdbinsight@citiz.net>
To: <insight@sources.redhat.com>
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?


  reply	other threads:[~2003-10-22 13:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-22 12:30 Cliff
2003-10-22 13:05 ` Peter Reilley [this message]
2003-10-22 16:19 ` Keith Seitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='010001c3989d$1951e230$c9d145cc@lndnnh.adelphia.net' \
    --to=micrio@mv.com \
    --cc=gdbinsight@citiz.net \
    --cc=insight@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).