• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/gdb/Config.in
Thomas PetazzoniThomas Petazzoni committed 60e5ed19e7503 May 2015
Raw file
Source viewDiff to previous
 
1
comment "gdb/gdbserver needs a toolchain w/ threads, threads debug"
2
    depends on !BR2_nios2 && !BR2_bfin
3
    depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_HAS_THREADS_DEBUG
4
​
5
config BR2_PACKAGE_GDB
6
    bool "gdb"
7
    # When the external toolchain gdbserver is copied to the
8
    # target, we don't allow building a separate gdbserver. The
9
    # one from the external toolchain should be used.
10
    select BR2_PACKAGE_GDB_SERVER if \
11
        (!BR2_PACKAGE_GDB_DEBUGGER && !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY)
12
    depends on BR2_TOOLCHAIN_HAS_THREADS && BR2_TOOLCHAIN_HAS_THREADS_DEBUG
13
    depends on !BR2_nios2 && !BR2_bfin
14
    help
15
      GDB, the GNU Project debugger, allows you to see what is
16
      going on `inside' another program while it executes -- or
17
      what another program was doing at the moment it crashed.
18
​
19
      This option allows to build gdbserver and/or the gdb
20
      debugger for the target.
21
​
22
      For embedded development, the most common solution is to
23
      build only 'gdbserver' for the target, and use a cross-gdb
24
      on the host. See BR2_PACKAGE_HOST_GDB in the Toolchain menu
25
      to enable one. Notice that external toolchains often provide
26
      their own pre-built cross-gdb and gdbserver binaries.
27
​
28
      http://www.gnu.org/software/gdb/
29
​
30
if BR2_PACKAGE_GDB
31
​
32
config BR2_PACKAGE_GDB_SERVER
33
    bool "gdbserver"
34
    depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
35
    help
36
      Build the gdbserver stub to run on the target.
37
      A full gdb is needed to debug the progam.
38
​
39
config BR2_PACKAGE_GDB_DEBUGGER
40
    bool "full debugger"
41
    select BR2_PACKAGE_NCURSES
42
    depends on BR2_USE_WCHAR
43
    depends on !BR2_sh && !BR2_sh64 && !BR2_microblaze
44
​
45
comment "full gdb on target needs a toolchain w/ wchar"
46
    depends on !BR2_sh && !BR2_sh64 && !BR2_microblaze
47
    depends on !BR2_USE_WCHAR
48
​
49
if BR2_PACKAGE_GDB_DEBUGGER
50
​
51
config BR2_PACKAGE_GDB_TUI
52
    bool "TUI support"
53
    help
54
      This option enables terminal user interface (TUI) for gdb
55
​
56
      "The GDB Text User Interface (TUI) is a terminal interface
57
      which uses the curses library to show the source file, the
58
      assembly output, the program registers and GDB commands in
59
      separate text windows."
60
​
61
      https://sourceware.org/gdb/current/onlinedocs/gdb/TUI.html
62
​
63
config BR2_PACKAGE_GDB_PYTHON
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.