EasyManua.ls Logo

AMD SimNow Simulator 4.4.5 - Alternate Approach; Using Another Port on the same Machine; Using Two Separate Machines; Linux Host Serial Port Communication

AMD SimNow Simulator 4.4.5
269 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AMD Confidential
User Manual November 21
st
, 2008
Chapter 11: Debug Interface 157
Run the following automation command:
1 simnow> shell.gdb <ENTER>
Start gdb
gdb> set architecture i386:x86-64 <ENTER>
gdb> target remote:2222 <ENTER>
11.2.2 Alternate Approach
This assumes you are running the simualtor and gdb on the same machine.
Start the simulator
Run the following automation command:
1 simnow> shell.gdb <ENTER>
Add the following to your .gdbinit file
define simnow
set architecture i386:x86-64
target remote:2222
end
Start gdb
gdb> simnow <ENTER>
11.2.3 Using Another Port on the Same Machine
The simualtor defaults to using port 2222 but can be directed to use another port.
Start the simulator
Run the following automation command:
1 simnow> shell.gdb 2233 <ENTER>
Start gdb
gdb> set architecture i386:x86-64 <ENTER>
gdb> target remote:2233 <ENTER>
11.2.4 Using Two Separate Machines
Start the simualtor on simnow-host
Run the following automation command:
1 simnow> shell.gdb <ENTER>
Start gdb on gdb-host
gdb> set architecture i386:x86-64 <ENTER>
gdb> target remote simnow-host:2222 <ENTER>
11.3 Linux Host Serial Port Communication
When running the simulator on a Linux host, the serial port is able to communicate with
external host applications via either a named-pipe or the host serial port. If the user has
configuired named-pipe communication, the simualtor will set up an input pipe and an

Table of Contents