Alternate Approach; Using Another Port On The Same Machine; Using Two Separate Machines; Linux Host Serial Port Communication - AMD SimNow Simulator 4.4.4 User Manual

Amd simnow simulator user manual
Table of Contents

Advertisement

User Manual
 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
Chapter 11: Debug Interface
AMD Confidential
th
September 12
, 2008
153

Advertisement

Table of Contents
loading

Table of Contents