Skip to content

kimushu/nios2-gdb-7.0

Repository files navigation

Readme for nios2-gdb-7.0 with simulator

This GDB is based on Altera's Nios II GNU tools source version 13.0 (http://www.altera.com/support/ip/processors/nios2/ide/ips-nios2-ide-tutorial.html)

##How to build

  1. Execute configure
 ./configure --target=nios2-elf
  1. Build gdb
make

##How to use

###Build as standalone program (not for FPGA)

  1. Compile program with hook
$ nios2-elf-gcc -o test test.c <repository_root>/sim/nios2/hook_sim_nios2.c
  1. Run simulator
$ <repository_root>/gdb/gdb ./test
(gdb) target sim
(gdb) load
(gdb) run

###Build as FPGA embedded program (by Nios II SBT)

coming soon...

##Future plans

  1. Load .sopcinfo and emulate some memory/timer devices.

  2. Forwarding stdin/stdout/stderr to socket (telnet port).

About

Nios2 GDB with simulator

Resources

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
COPYING
Unknown
COPYING.LIB

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published