config/debug/gdb.in.gdbserver
branch1.16
changeset 3107 91a52bc04af9
parent 2484 d1a8c2ae7946
     1.1 --- a/config/debug/gdb.in.gdbserver	Tue May 31 16:27:39 2011 +0200
     1.2 +++ b/config/debug/gdb.in.gdbserver	Sun Nov 11 21:42:47 2012 +0100
     1.3 @@ -9,6 +9,11 @@
     1.4  
     1.5  if GDB_GDBSERVER
     1.6  
     1.7 +config GDB_GDBSERVER_HAS_IPA_LIB
     1.8 +    bool
     1.9 +    depends on GDB_7_2_or_later
    1.10 +    default y
    1.11 +
    1.12  config GDB_GDBSERVER_STATIC
    1.13      bool
    1.14      prompt "Build a static gdbserver"
    1.15 @@ -17,6 +22,21 @@
    1.16        In case you have trouble with dynamic loading of shared libraries,
    1.17        you will find that a static gdbserver comes in handy.
    1.18  
    1.19 +config GDB_GDBSERVER_BUILD_IPA_LIB
    1.20 +    bool
    1.21 +    prompt "Build the IPA library"
    1.22 +    depends on GDB_GDBSERVER_HAS_IPA_LIB && !GDB_GDBSERVER_STATIC
    1.23 +    help
    1.24 +      gdbserver >= 7.2 comes with an optional library to use tracepoints,
    1.25 +      the In Process Agent (IPA) library, libinproctrace.so.
    1.26 +      
    1.27 +      Say 'y' if you indend to use tracepoints when debugging your
    1.28 +      programs with gdbserver.
    1.29 +      
    1.30 +      Note: Currently, building this library is not possible when the
    1.31 +            gdbserver is built statically. This is a limitation in
    1.32 +            crosstool-NG, so do not bug upstream about it...
    1.33 +
    1.34  endif # GDB_GDBSERVER
    1.35  
    1.36  if BARE_METAL