-
Notifications
You must be signed in to change notification settings - Fork 35
Debugging Epiphany
Ola Jeppsson edited this page Nov 25, 2016
·
17 revisions
e-server --multiprocess
cd epiphany-examples
git pull
cd apps/e-prime
./build.sh
$ cd ~/epiphany-examples/apps/e-prime
$ epiphany-elf-gdb e_prime.elf
(gdb) set mi-async
(gdb) set non-stop
(gdb) target extended-remote localhost:51000
(gdb) info os processes
(gdb) attach 1 # 1 is the default process
(gdb)interrupt -a
(gdb) info threads
(gdb) thread 7
(gdb) bt
(gdb) b is_prime
(gdb) c -a
(gdb) info locals
(gdb) info args
...