Bug 7538 - arm sim should accept command line options through gdb interface
Summary: arm sim should accept command line options through gdb interface
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: sim (show other bugs)
Version: unknown
: P3 normal
Target Milestone: ---
Assignee: Nick Clifton
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-18 13:58 UTC by Anthony Green
Modified: 2015-03-30 17:16 UTC (History)
3 users (show)

See Also:
Host:
Target: arm-*
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Green 2002-03-18 21:58:01 UTC
[Converted from Gnats 433]

xscale-elf-gdb's "target sim" command should accept command 
line args, just like xscale-elf-run.  So, for instance,
"target sim -m 8000000" should work just like "xscale-elf-run
-m 8000000".  The documentation suggests that this is the
case.

Release:
latest trunk sources

Environment:
Red Hat Linux 7.2 host

How-To-Repeat:
Build and debug an xscale-elf executable and try "target sim -m
 -m 8000000".  A good hint that this worked is that your
stack will live in a completely different spot then before the
"-m" option was used.
Comment 1 Andrew Cagney 2002-09-27 23:57:53 UTC
From: cagney@sources.redhat.com
To: gdb-gnats@sources.redhat.com
Cc:  
Subject: gdb/433
Date: 27 Sep 2002 23:57:53 -0000

 CVSROOT:	/cvs/src
 Module name:	src
 Changes by:	cagney@sources.redhat.com	2002-09-27 16:57:51
 
 Modified files:
 	sim/arm        : ChangeLog wrapper.c 
 
 Log message:
 	Add support for -m option.  Fix PR gdb/433.
 
 Patches:
 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/arm/ChangeLog.diff?cvsroot=src&r1=1.65&r2=1.66
 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/arm/wrapper.c.diff?cvsroot=src&r1=1.22&r2=1.23
Comment 2 Mike Frysinger 2011-11-06 07:15:29 UTC
the arm sim needs quite a bit of updating to the common infrastructure
Comment 3 Mike Frysinger 2015-03-30 17:16:00 UTC
should be fixed now with the conversion to nrun in the latest tree