Debugging an application – Rainbow Electronics QIL-A9260-C11 User Manual

Page 13

Advertising
background image

1.3. Debugging an application

In order to debug your appplication you need first to enable the building of both GDB
server for the target and GDB client for the host from the buildroot menu (Toolchain
options).

Once your target root file systems is built, you can install it on the target and start the
gdbserver.

# gdbserver localhost:2000 hello
Process hello created; pid = 723
Listening on port 2000

On your host issue the following command:

gh@gh-desktop:~/hello_world$ arm-linux-gdb hello

GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.

Datasheet GSG-00006-A01

13/34

Advertising