diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2004-12-01 11:02:40 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2004-12-01 11:02:40 +0000 |
commit | 127efa3bad7844dcdd564028ff3bf92dab27d66f (patch) | |
tree | af9ad399247b97dbdf38db421c90c38d8f42c935 /rules/gdb.in | |
parent | 065fbac643b59338bf8f9fe2c501dd8aa0ae698b (diff) | |
download | ptxdist-127efa3bad7844dcdd564028ff3bf92dab27d66f.tar.gz ptxdist-127efa3bad7844dcdd564028ff3bf92dab27d66f.tar.xz |
* fixed thread-debugging problem
(simply don't strip debugging symbols from glibc)
* introduced a nice thread-debugging switch
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.7-trunk@2071 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/gdb.in')
-rw-r--r-- | rules/gdb.in | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/rules/gdb.in b/rules/gdb.in index 2ad9b579f..6507e873f 100644 --- a/rules/gdb.in +++ b/rules/gdb.in @@ -1,6 +1,14 @@ config XGDB bool "Build Cross GDB" +config GDB_WRAPPERS + bool "Build cross-GDB wrapper" + depends on XGDB + help + Creates wrapper scripts in $PTXCONF_PREFIX/bin which preset + all necessary preferences to use the cross debugger. + + config GDBSERVER bool "Build gdbserver for target" @@ -8,7 +16,8 @@ config GDBSERVER_SHARED bool "Build shared" default y depends on GDBSERVER - select GLIBC_THREAD_DB + select GLIBC_THREAD_DB if GLIBC + config GDB bool "Build GDB for target" @@ -17,7 +26,7 @@ config GDB_SHARED bool "Build shared" default y depends on GDB - select GLIBC_LIBM + select GLIBC_LIBM if GLIBC choice prompt "Select term library" @@ -31,10 +40,12 @@ choice config GDB_NCURSES bool "ncurses" select NCURSES -endchoice +endchoice -config GDB_WRAPPERS - bool "Build cross-GDB wrapper" - help - Creates wrapper scripts in $PTXCONF_PREFIX/bin which preset - all necessary preferences to use the cross debugger. +config GDB_THREAD_DEBUG + bool "enable Thread Debugging (i.e.: don't strip C-library)" + depends on GDB || GDBSERVER + default y + select GLIBC_DEBUG if GLIBC + +comment "---" |