![Ronetix PEEDI User Manual Download Page 100](http://html1.mh-extra.com/html/ronetix/peedi/peedi_user-manual_1485040100.webp)
Using PEEDI
or
(gdb) si
; make single step
When finished debugging, you can leave gdb/insight in two ways - with or without resetting the
target. To exit resetting the target type:
(gdb) quit
Otherwise type:
(gdb) detach
(gdb) quit
To make your life easier you may define various commands in a gdb init file and tell gdb to load
that file when starting like this:
$ arm-elf-insight -command=my_gdb_init
Assuming that PEEDI has IP 192.168.1.10, my_gdb_init file may contain something like this:
# this will tell gdb to connect to PEEDI using remote protocol
target remote 192.168.1.10:2000
info target
# the following will define a user command
define ll
set $cpsr=0xD3
load
end
3.13 Debugging Linux kernel
To debug the kernel you bootloader must be set to load and start the kernel successfully.
In the target configuration file set the COREn_STARTUP_MODE to RESET and in the INIT
section add this for all targets except Xscale:
PEEDI User’s Manual
100