SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

MAN page from OpenSuSE cross-avr-gdb-7.9.1-3.1.x86_64.rpm

run

Section: GNU Tools (1)
Updated: 13oct1993
Index

 

NAME

run---Simulator front-end

 

SYNOPSIS

run
[-v][-pfreq][-mmemory][--sysrootfilepath]program
 

DESCRIPTION

Use `run program' to execute a binary by interpreting machine instructions on yourhost computer.

runis the same emulator used by GDB's `target sim' command. You can run it directly by executingrunif you just want to see your program execute, and do not need anydebugger functionality. You can also userunto generate profiling information for analysis withgprof.

 

OPTIONS

-v
Verbose output. Display the name of the program to run beforeexecution; after execution, display the number of instructionsexecuted, the number of machine cycles emulated, the number ofpipeline stalls, the real time taken, the emulated execution timetaken, and a summary of how much profiling information was generated.

-p freq
Generate profile information (for use withgprof).freqis the profiling frequency. Write the profiling information to a file calledgmon.out.

-m memory
Set the memory size for the emulated machine to two to the powermemory.The default value is 19, emulating a board with 524288 bytes of memory.

--sysroot filepath
Prependfilepathto all simulator system calls that pass absolute file paths.Change working directory tofilepathat program start. Not all simulators support this option; thosethat don't, will ignore it.

 

SEE ALSO

`gprof'entry ininfo;`gdb'entry ininfo;Using GDB: A Guide to the GNU Source-Level Debugger, Richard M. Stallman and Roland H. Pesch.

 

COPYING

Copyright (c) 1993-2015 Free Software Foundation, Inc.

This document is distributed under the terms of the GNU FreeDocumentation License, version 1.1. That license is described in thesources for this manual page, but it is not displayed here in order tomake this manual more consise. Copies of this license can also beobtained from: http://www.gnu.org/copyleft/.


     


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO
COPYING

This document was created byman2html,using the manual pages.