Get rid of more .libs stuff.
Again, no more autotools/libtool, so no more .libs, as that's a libtoolism. Change-Id: I909c18b969ca8e04a252ff45f7f3e6bc9d0c8476 Reviewed-on: https://code.wireshark.org/review/27138 Petri-Dish: Guy Harris <guy@alum.mit.edu> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
8930b986aa
commit
372b820255
|
@ -64,18 +64,6 @@ echo last expr command was expr "$1" : ".*=.*"
|
|||
then
|
||||
#
|
||||
# Found the executable.
|
||||
# Is it a libtool wrapper script? Look for a .libs
|
||||
# directory.
|
||||
#
|
||||
executable_dirname=`dirname "$executable"`
|
||||
if [ -d "$executable_dirname"/.libs ]
|
||||
then
|
||||
is_libtool_wrapper=yes
|
||||
else
|
||||
is_libtool_wrapper=no
|
||||
fi
|
||||
|
||||
#
|
||||
# Now, look for a debugger.
|
||||
# XXX - lldb?
|
||||
#
|
||||
|
@ -87,18 +75,10 @@ echo last expr command was expr "$1" : ".*=.*"
|
|||
# cause the stack trace to go to the standard
|
||||
# error.
|
||||
#
|
||||
if [ $is_libtool_wrapper = yes ]
|
||||
then
|
||||
$executable_dirname/libtool --mode=execute dbx "$executable" core 1>&2 <<EOF
|
||||
dbx "$executable" core 1>&2 <<EOF
|
||||
where
|
||||
quit
|
||||
EOF
|
||||
else
|
||||
dbx "$executable" core 1>&2 <<EOF
|
||||
where
|
||||
quit
|
||||
EOF
|
||||
fi
|
||||
else
|
||||
gdb=`which gdb`
|
||||
if [ ! -z "$gdb" ]
|
||||
|
@ -108,18 +88,10 @@ EOF
|
|||
# cause the stack trace to go to the standard
|
||||
# error.
|
||||
#
|
||||
if [ $is_libtool_wrapper = yes ]
|
||||
then
|
||||
$executable_dirname/libtool --mode=execute gdb "$executable" core 1>&2 <<EOF
|
||||
gdb "$executable" core 1>&2 <<EOF
|
||||
backtrace
|
||||
quit
|
||||
EOF
|
||||
else
|
||||
gdb "$executable" core 1>&2 <<EOF
|
||||
backtrace
|
||||
quit
|
||||
EOF
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
|
|
@ -32,17 +32,12 @@ function acc () {
|
|||
V1_PATH=$1
|
||||
V2_PATH=$2
|
||||
|
||||
# both working copies have to be built first with autotools or with cmake
|
||||
# both working copies have to be built first with cmake
|
||||
# make -C $V1_PATH all dumpabi
|
||||
# make -C $V2_PATH all dumpabi
|
||||
|
||||
if test -d $V1_PATH/lib; then
|
||||
REL_LIB_PATH=../lib
|
||||
REL_DUMP_PATH=.
|
||||
else
|
||||
REL_LIB_PATH=.libs
|
||||
REL_DUMP_PATH=.libs
|
||||
fi
|
||||
REL_LIB_PATH=../lib
|
||||
REL_DUMP_PATH=.
|
||||
|
||||
acc libwiretap wiretap $V1_PATH $V2_PATH
|
||||
RET=$?
|
||||
|
|
Loading…
Reference in New Issue