config/debug/gdb.in
changeset 1849 73f76483a389
parent 1844 4d6a56579d9d
child 1852 3f6a165d8ba7
     1.1 --- a/config/debug/gdb.in	Fri Mar 05 18:19:25 2010 +0100
     1.2 +++ b/config/debug/gdb.in	Mon Mar 15 21:42:55 2010 +0100
     1.3 @@ -4,94 +4,9 @@
     1.4      help
     1.5        Enable gdb for the target
     1.6  
     1.7 -config GDB_CROSS
     1.8 -    bool
     1.9 -    prompt "Cross-gdb"
    1.10 -    default y
    1.11 -    select GDB_GDBSERVER if ! BARE_METAL
    1.12 -    help
    1.13 -      Build and install a cross-gdb for the target, to run on host.
    1.14 -
    1.15 -config GDB_CROSS_STATIC
    1.16 -    bool
    1.17 -    prompt "Build a static cross gdb"
    1.18 -    default n
    1.19 -    depends on GDB_CROSS
    1.20 -    help
    1.21 -      A static cross gdb can be usefull if you debug on a machine that is
    1.22 -      not the one that is used to compile the toolchain.
    1.23 -      
    1.24 -      That way, you can share the cross-gdb without installing a toolchain
    1.25 -      on every machine that will be used to debug target programs.
    1.26 -
    1.27 -config GDB_CROSS_INSIGHT
    1.28 -    bool
    1.29 -    prompt "Use Insight instead (EXPERIMENTAL)"
    1.30 -    default n
    1.31 -    depends on GDB_CROSS
    1.32 -    depends on EXPERIMENTAL
    1.33 -    help
    1.34 -      If you say 'Y' here, then Insight will be used to build the cross
    1.35 -      debugger, instead of the plain gdb.
    1.36 -      
    1.37 -      Insight is gdb plus a TCL/TK GUI: http://sourceware.org/insight/
    1.38 -
    1.39 -config GDB_NATIVE
    1.40 -    bool
    1.41 -    prompt "Native gdb"
    1.42 -    default n
    1.43 -    depends on ! BARE_METAL
    1.44 -    depends on ! BACKEND
    1.45 -    help
    1.46 -      Build and install a native gdb for the target, to run on the target.
    1.47 -
    1.48 -config GDB_NATIVE_STATIC
    1.49 -    bool
    1.50 -    prompt "Build a static native gdb"
    1.51 -    default n
    1.52 -    depends on GDB_NATIVE
    1.53 -    help
    1.54 -      In case you have trouble with dynamic loading of shared libraries,
    1.55 -      you will find that a static gdb comes in handy.
    1.56 -
    1.57 -config GDB_NATIVE_USE_GMP_MPFR
    1.58 -    bool
    1.59 -    prompt "Use GMP and MPFR"
    1.60 -    default n
    1.61 -    depends on GDB_NATIVE
    1.62 -    select GMP_TARGET
    1.63 -    select MPFR_TARGET
    1.64 -    help
    1.65 -      gdb can make use of the GMP and MPFR libraries.
    1.66 -      
    1.67 -      While the cross-gdb (above) can use the libraries compiled for the
    1.68 -      host, the native gdb needs the libraries for the target (where it will
    1.69 -      eventually run).
    1.70 -      
    1.71 -      Setting this option will force building the GMP and MPFR libraries for
    1.72 -      the target, and configure the native gdb to use them.
    1.73 -
    1.74 -config GDB_GDBSERVER
    1.75 -    bool
    1.76 -    prompt "gdbserver"
    1.77 -    default n
    1.78 -    depends on ! BARE_METAL
    1.79 -    help
    1.80 -      Build and install a gdbserver for the target, to run on the target.
    1.81 -
    1.82 -config GDB_GDBSERVER_STATIC
    1.83 -    bool
    1.84 -    prompt "Build a static gdbserver"
    1.85 -    default y
    1.86 -    depends on GDB_GDBSERVER
    1.87 -    help
    1.88 -      In case you have trouble with dynamic loading of shared libraries,
    1.89 -      you will find that a static gdbserver comes in handy.
    1.90 -
    1.91 -if BARE_METAL
    1.92 -comment "In bare-metal, you'll need to   "
    1.93 -comment "provide your own gdbserver stub."
    1.94 -endif # BARE_METAL
    1.95 +source "config/debug/gdb.in.cross"
    1.96 +source "config/debug/gdb.in.native"
    1.97 +source "config/debug/gdb.in.gdbserver"
    1.98  
    1.99  choice
   1.100      bool