passing extended sim options when using gdb sim target

Mike Frysinger vapier@gentoo.org
Thu Mar 18 07:35:00 GMT 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/gdb/attachments/20100318/053a51c3/attachment.sig>


More information about the Gdb mailing list