Debugging Gem5 with GDB (SE mode)

In order to debug gem5, we don’t need to hook on via the port that is printed when executing the simulator

0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000

Rather just run with gdb --args ./build/X86/gem5.opt ...

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s