Skip to content
Ola Jeppsson edited this page Nov 25, 2016 · 17 revisions

e-server

e-server --multiprocess

A program

cd epiphany-examples
git pull
cd apps/e-prime
./build.sh

gdb

$ 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

...