The branch, master has been updated via c254527 build: update gdb_backtrace to make it search for gdb66 as it work on freebsd via 06beebd fix bad shell from ef8349e replace:wscript - reintroduce the size check for "bool" due to a request of metze
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit c254527386afcbe60fe57bd87fb367486abde52d Author: Matthieu Patou <m...@matws.net> Date: Sun Nov 28 17:32:06 2010 +0300 build: update gdb_backtrace to make it search for gdb66 as it work on freebsd Autobuild-User: Matthieu Patou <m...@samba.org> Autobuild-Date: Sun Nov 28 16:37:08 CET 2010 on sn-devel-104 commit 06beebd1e4e3b4214682dcafd15864ce8fc483e8 Author: Matthieu Patou <m...@matws.net> Date: Sun Nov 28 17:28:57 2010 +0300 fix bad shell ----------------------------------------------------------------------- Summary of changes: selftest/gdb_backtrace | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/selftest/gdb_backtrace b/selftest/gdb_backtrace index 5a7d230..91637ec 100755 --- a/selftest/gdb_backtrace +++ b/selftest/gdb_backtrace @@ -36,6 +36,14 @@ case "${UNAME}" in # SunOS) DB_LIST="dbx ${DB_LIST}" + ;; + # + # FreeBSD comes with a flavor that works gdb66 and one that don't gdb + # (gdb 6.1) let's try it first the one that works ! + # + FreeBSD) + DB_LIST="gdb66 ${DB_LIST}" + ;; esac for DB in ${DB_LIST}; do @@ -82,6 +90,16 @@ quit EOF ${DB_BIN} -c "${BATCHFILE_MAIN}" -i "${BATCHFILE_PRE}" -pid "${PID}" "${BINARY}" ;; + gdb66) +cat << EOF > ${BATCHFILE_MAIN} +set height 1000 +bt full +info locals +kill +quit +EOF + ${DB_BIN} -x "${BATCHFILE_MAIN}" "${BINARY}" "${PID}" + ;; gdb) cat << EOF > ${BATCHFILE_MAIN} set height 1000 -- Samba Shared Repository