config/debug/gdb.in.gdbserver
author Anthony Foiani <anthony.foiani@gmail.com>
Thu Apr 26 19:55:59 2012 -0600 (2012-04-26)
changeset 2939 58974be61289
parent 1849 73f76483a389
child 2986 c301df1af7cb
permissions -rw-r--r--
Allow multi-word "install" command.

Autoconf can determine that the correct install command includes flags,
e.g., "/usr/bin/install -c". When using this as a command, we can't
enclose the value in double-quotes, as that makes some shells use the
whole expression as a filename:

# this is the value returned by autoconf and stored in CT_install
$ ins="/usr/bin/install -c"

# if we call it with quotes, the command is not found
$ "${ins}"
bash: /usr/bin/install -c: No such file or directory

# removing the quotes lets it work as expected
$ ${ins}
/usr/bin/install: missing file operand
Try `/usr/bin/install --help' for more information.

Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>
     1 # Menu for the native gdbserver
     2 
     3 config GDB_GDBSERVER
     4     bool
     5     prompt "gdbserver"
     6     depends on ! BARE_METAL
     7     help
     8       Build and install a gdbserver for the target, to run on the target.
     9 
    10 if GDB_GDBSERVER
    11 
    12 config GDB_GDBSERVER_STATIC
    13     bool
    14     prompt "Build a static gdbserver"
    15     default y
    16     help
    17       In case you have trouble with dynamic loading of shared libraries,
    18       you will find that a static gdbserver comes in handy.
    19 
    20 endif # GDB_GDBSERVER
    21 
    22 if BARE_METAL
    23 comment "In bare-metal, you'll need to   "
    24 comment "provide your own gdbserver stub."
    25 endif # BARE_METAL