summaryrefslogtreecommitdiff
path: root/config/debug/gdb.in.native
blob: c959e883002d1028e6d33a5d9352a1e480cc1722 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Menu for the native GDB

config GDB_NATIVE
    bool
    prompt "Native gdb"
    default n
    depends on ! BARE_METAL
    depends on ! BACKEND
    help
      Build and install a native gdb for the target, to run on the target.

if GDB_NATIVE

config GDB_NATIVE_USE_GMP_MPFR
    bool
    prompt "Use GMP and MPFR"
    default n
    select GMP_TARGET
    select MPFR_TARGET
    select GDB_NATIVE_NO_STATIC
    help
      gdb can make use of the GMP and MPFR libraries.
      
      While the cross-gdb (above) can use the libraries compiled for the
      host, the native gdb needs the libraries for the target (where it will
      eventually run).
      
      Setting this option will force building the GMP and MPFR libraries for
      the target, and configure the native gdb to use them.

config GDB_NATIVE_NO_STATIC
    bool
    default n

config GDB_NATIVE_STATIC
    bool
    prompt "Build a static native gdb"
    depends on ! GDB_NATIVE_NO_STATIC
    default n
    help
      In case you have trouble with dynamic loading of shared libraries,
      you will find that a static gdb comes in handy.

endif # GDB_NATIVE