config/debug/gdb.in.gdbserver
author Bernhard Walle <bernhard@bwalle.de>
Sun May 11 13:00:36 2014 +0200 (2014-05-11)
changeset 3318 579bc9107f99
parent 2484 d1a8c2ae7946
permissions -rw-r--r--
complibs/ppl: Fix build of ppl 0.11.2 with gcc 4.9

From: Roberto Bagnara <bagnara@cs.unipr.it>
Date: Tue, 29 Apr 2014 19:51:43 +0000 (+0200)
Subject: Added missing inclusions. Use std::ptrdiff_t.
X-Git-Url: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl%2Fppl.git;a=commitdiff;h=61d4e14dfd9f1121e9b4521dead5728b2424dd7c

Added missing inclusions. Use std::ptrdiff_t.
(Thanks to Paulo Cesar Pereira de Andrade.)

Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
Message-Id: <5632a171e7c1dc4c0fb5.1399806148@euler.fritz.box>
Patchwork-Id: 347777
yann@1849
     1
# Menu for the native gdbserver
yann@622
     2
yann@583
     3
config GDB_GDBSERVER
yann@583
     4
    bool
yann@583
     5
    prompt "gdbserver"
yann@850
     6
    depends on ! BARE_METAL
yann@583
     7
    help
yann@583
     8
      Build and install a gdbserver for the target, to run on the target.
yann@583
     9
yann@1849
    10
if GDB_GDBSERVER
yann@1849
    11
yann@2986
    12
config GDB_GDBSERVER_HAS_IPA_LIB
yann@2986
    13
    bool
yann@2986
    14
    depends on GDB_7_2_or_later
yann@2986
    15
    default y
yann@2986
    16
yann@583
    17
config GDB_GDBSERVER_STATIC
yann@175
    18
    bool
yann@175
    19
    prompt "Build a static gdbserver"
yann@622
    20
    default y
yann@175
    21
    help
yann@175
    22
      In case you have trouble with dynamic loading of shared libraries,
yann@175
    23
      you will find that a static gdbserver comes in handy.
yann@175
    24
yann@2986
    25
config GDB_GDBSERVER_BUILD_IPA_LIB
yann@2986
    26
    bool
yann@2986
    27
    prompt "Build the IPA library"
yann@2986
    28
    depends on GDB_GDBSERVER_HAS_IPA_LIB && !GDB_GDBSERVER_STATIC
yann@2986
    29
    help
yann@2986
    30
      gdbserver >= 7.2 comes with an optional library to use tracepoints,
yann@2986
    31
      the In Process Agent (IPA) library, libinproctrace.so.
yann@2986
    32
      
yann@2986
    33
      Say 'y' if you indend to use tracepoints when debugging your
yann@2986
    34
      programs with gdbserver.
yann@2986
    35
      
yann@2986
    36
      Note: Currently, building this library is not possible when the
yann@2986
    37
            gdbserver is built statically. This is a limitation in
yann@2986
    38
            crosstool-NG, so do not bug upstream about it...
yann@2986
    39
yann@1849
    40
endif # GDB_GDBSERVER
yann@1849
    41
yann@1269
    42
if BARE_METAL
yann@1269
    43
comment "In bare-metal, you'll need to   "
yann@1269
    44
comment "provide your own gdbserver stub."
yann@1269
    45
endif # BARE_METAL