Garz & Fricke Yocto User Manual page 71

Embedded computer systems
Table of Contents

Advertisement

sudo apt-get install kdbg
The cross debugger to be used by KDbg is set up by starting
connecting to the target:
$ kdbg
The GDB command to invoke can be set up under the dialog opened with
s
in
[
Figure
18].
Set up
How to invoke GDB
!
$ arm-guf-linux-gnueabi-gdb -iex "set sysroot /opt/guf/
!
GUF-Yocto-jethro-9.0-r7707-0-sdk/sysroots/imx6guf-guf-linux-gnueabi set auto-
,
!
load safe-path /opt/guf/GUF-Yocto-jethro-9.0-r7707-0-sdk/sysroots/imx6guf-guf-
,
!
linux-gnueabi" `find /opt/guf/GUF-Yocto-jethro-9.0-r7707-0-sdk/sysroots/
,
!
imx6guf-guf-linux-gnueabi/usr/src/debug/ -type d -printf '-d %p '` -d $PWD --
,
fullname --nx
,
KDbg
does not have the possibility to enter gdb commands. So the sysroot setup is done through GDB's
command line parameter instead.
Figure 18: KDbg global options
Figure 19: KDbg global options dialog
in the dialog as shown in
GUF-Yocto-jethro-9.0-r7707-0
KDbg
on the development host once without
Settings->Global Options...
s
[
Figure 19]
as follows:
i.MX6
User Manual
¡
¡
as shown
-iex
71

Advertisement

Table of Contents
loading

Related Products for Garz & Fricke Yocto

Table of Contents