public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug sim/10597] New: simulated program arguments are processed as simulator arguments
@ 2009-09-03 16:10 Pierre dot Habraken at imag dot fr
  0 siblings, 0 replies; only message in thread
From: Pierre dot Habraken at imag dot fr @ 2009-09-03 16:10 UTC (permalink / raw)
  To: gdb-prs

Arguments of the simulated program beginning with a '-' are not passed to the
the program (they are caught by the simulator and rejected as invalid):
================================================================================
$ arm-elf-run prog -i input-file -o result_file
Usage: arm-elf-run [options] program [program args]
Options:
-a args         Pass `args' to simulator.
-m size         Set memory size of simulator, in bytes.
-t              Perform instruction tracing.
                Note: Very few simulators support tracing.
-v              Verbose output.

program args    Arguments to pass to simulated program.
                Note: Very few simulators support this.

Target specific options:
--swi-support=<list>  Comma seperated list of SWI protocols to supoport.
                This list can contain: NONE, DEMON, ANGEL, REDBOOT and/or ALL.
$
================================================================================

If none argument begins with a '-' simulation performs fine:
================================================================================
$ arm-elf-run prog +i input_file +o result_file
$
================================================================================

-- 
           Summary: simulated program arguments are processed as simulator
                    arguments
           Product: gdb
           Version: 6.8
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: sim
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: Pierre dot Habraken at imag dot fr
                CC: gdb-prs at sourceware dot org
  GCC host triplet: linux-i686
GCC target triplet: arm-elf


http://sourceware.org/bugzilla/show_bug.cgi?id=10597

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-03 16:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-03 16:10 [Bug sim/10597] New: simulated program arguments are processed as simulator arguments Pierre dot Habraken at imag dot fr

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).