• 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 0cd6d15a20805 Apr 2018
Raw file
Source viewDiff to previous
 
1
config BR2_PACKAGE_GDB_ARCH_SUPPORTS
2
    bool
3
    default y
4
    depends on !((BR2_arm || BR2_armeb) && BR2_BINFMT_FLAT)
5
    depends on !BR2_microblaze
6
    depends on !BR2_nios2
7
    depends on !BR2_or1k
8
​
9
comment "gdb/gdbserver needs a toolchain w/ threads, threads debug"
10
    depends on BR2_PACKAGE_GDB_ARCH_SUPPORTS
11
    depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_HAS_THREADS_DEBUG
12
​
13
config BR2_PACKAGE_GDB
14
    bool "gdb"
15
    depends on BR2_TOOLCHAIN_HAS_THREADS && BR2_TOOLCHAIN_HAS_THREADS_DEBUG
16
    depends on BR2_PACKAGE_GDB_ARCH_SUPPORTS
17
    # When the external toolchain gdbserver is copied to the
18
    # target, we don't allow building a separate gdbserver. The
19
    # one from the external toolchain should be used.
20
    select BR2_PACKAGE_GDB_SERVER if \
21
        (!BR2_PACKAGE_GDB_DEBUGGER && !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY)
22
    help
23
      GDB, the GNU Project debugger, allows you to see what is
24
      going on `inside' another program while it executes -- or
25
      what another program was doing at the moment it crashed.
26
​
27
      This option allows to build gdbserver and/or the gdb
28
      debugger for the target.
29
​
30
      For embedded development, the most common solution is to
31
      build only 'gdbserver' for the target, and use a cross-gdb
32
      on the host. See BR2_PACKAGE_HOST_GDB in the Toolchain menu
33
      to enable one. Notice that external toolchains often provide
34
      their own pre-built cross-gdb and gdbserver binaries.
35
​
36
      http://www.gnu.org/software/gdb/
37
​
38
if BR2_PACKAGE_GDB
39
​
40
config BR2_PACKAGE_GDB_SERVER
41
    bool "gdbserver"
42
    depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
43
    help
44
      Build the gdbserver stub to run on the target.
45
      A full gdb is needed to debug the progam.
46
​
47
config BR2_PACKAGE_GDB_DEBUGGER
48
    bool "full debugger"
49
    depends on BR2_USE_WCHAR
50
    depends on !BR2_sh
51
    select BR2_PACKAGE_NCURSES
52
​
53
comment "full gdb on target needs a toolchain w/ wchar"
54
    depends on !BR2_sh
55
    depends on !BR2_USE_WCHAR
56
​
57
if BR2_PACKAGE_GDB_DEBUGGER
58
​
59
config BR2_PACKAGE_GDB_TUI
60
    bool "TUI support"
61
    help
62
      This option enables terminal user interface (TUI) for gdb
63
​
  • 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.