Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: gdb@sourceware.org
Subject: passing extended sim options when using gdb sim target
Date: Thu, 18 Mar 2010 07:35:00 -0000	[thread overview]
Message-ID: <201003180335.17827.vapier@gentoo.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 650 bytes --]

a compiled simulator has a lot of fun options:
	--hw-device <...>
	--memory-region <...>
	--model <...>
	--environment <...>
	etc...

when using the command line simulator (`run`), passing these options via the 
command line is obvious.  but i cant seem to figure out how to do the same 
thing when running gdb and using the sim target.

the gdb manual indicates the form is:
	target <type> <parameters>
but nothing i stick in for <parameters> seems to make a difference

i also recall seeing references to adding hardware devices on the fly from the 
gdb command line, but i cant locate any info along these lines either ...
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

             reply	other threads:[~2010-03-18  7:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-18  7:35 Mike Frysinger [this message]
2010-03-18 15:55 ` Doug Evans
2010-03-19  1:09   ` Mike Frysinger

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=201003180335.17827.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=gdb@sourceware.org \
    /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