Middleware, development tools, realtime operating system
software and services for superior embedded design
‹ QNX.com
Home
Project Categories
Projects
Community Search
Search Wiki Pages Project: Core Development Tools     Wiki > Resources_GDB > View Wiki Page
wiki1093: Resources_GDB

GDB Resources

The GNU Debugger (GDB) is a standard source-level debugger available on several platforms. GDB can be used as a native debugger on x86 Neutrino hosts and as a host side debugger with remote debugging facilities necessary to debug embedded targets.

User Resources

Developer Resources

How to build

  1. Check out source from branch.
  2. Change directory into a build directory that matches the desired configuration. If you want the debugger to execute on a Linux host, and debug Sh4 binaries, change into the linux-x86-o-ntosh/ directory. If you desire a Windows hosted debugger that debugs MIPS binaries, change into win32-x86-o-ntomips/.
  3. Remove any existing files with the exception of 'GNUmakefile'.
  4. Type 'make'. The build will take sometime to complete.
  5. Once Make has successfully completed, if you are on a system that has write permissions on $QNX_HOST and $QNX_TARGET, switch to superuser/administrator access.
  6. Type 'make install'. The build system will install the debugger into the directories specified in root 'build-hooks' file. (Default: $QNX_HOST/usr/bin)

Branches

BranchVersionStatus
tools/gdb/trunk/gdb-6.7/ 6.7 Active
tools/gdb/branches/gdb-6.6/ 6.6 Active
tools/gdb/branches/gdb_5_2_branch/ 5.2.1 Inactive