"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "bashdb-trace.in" between
bashdb-4.4-1.0.1.tar.bz2 and bashdb-5.0-1.1.0.tar.bz2

About: BASHDB is a source-code debugger for the bash shell that follows the gdb command syntax (for bash 5.0 or higher).

bashdb-trace.in  (bashdb-4.4-1.0.1.tar.bz2):bashdb-trace.in  (bashdb-5.0-1.1.0.tar.bz2)
# -*- shell-script -*- # -*- shell-script -*-
# This program needs to be SOURCE'd and is not called as an executable # This program needs to be SOURCE'd and is not called as an executable
# Note: bashdb-trace is created from bashdb-trace.in # Note: bashdb-trace is created from bashdb-trace.in
# #
# Copyright (C) 2006, 2007, 2008, 2010, 2012 # Copyright (C) 2006, 2007, 2008, 2010, 2012, 2019
# Rocky Bernstein <rocky@gnu.org> # Rocky Bernstein <rocky@gnu.org>
# #
# This program is free software; you can redistribute it and/or # This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as # modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2, or # published by the Free Software Foundation; either version 2, or
# (at your option) any later version. # (at your option) any later version.
# #
# This program is distributed in the hope that it will be useful, # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
skipping to change at line 32 skipping to change at line 32
# #
# The alternate way to invoke debugger, "bash --debugger", has some # The alternate way to invoke debugger, "bash --debugger", has some
# advantages: it sets $0 correctly and doesn't show this script in # advantages: it sets $0 correctly and doesn't show this script in
# the call trace. However the bash has been a bit inflexible and # the call trace. However the bash has been a bit inflexible and
# quirky so sadly this script seems to be needed more than it would # quirky so sadly this script seems to be needed more than it would
# normally. # normally.
typeset _Dbg_trace_old_set_opts typeset _Dbg_trace_old_set_opts
_Dbg_trace_old_set_opts=$- _Dbg_trace_old_set_opts=$-
set +u set +u
if [[ ! $BASH_VERSION =~ ^4. ]] ; then if [[ ! $BASH_VERSION =~ ^5. ]] ; then
echo "This debugger needs bash version 4 or greater. You have ${BASH_VERSION echo "This debugger needs bash version 5 or greater. You have ${BASH_VERSION
} " >&2 } " >&2
exit 1 exit 1
fi fi
# Name we refer to ourselves by # Name we refer to ourselves by
typeset _Dbg_debugger_name='@PACKAGE@' typeset _Dbg_debugger_name='@PACKAGE@'
# The shell we are configured to run under. # The shell we are configured to run under.
typeset _Dbg_shell='@SH_PROG@' typeset _Dbg_shell='@SH_PROG@'
# The short shell name. Helps keep code common in bash, zsh, and ksh debuggers. # The short shell name. Helps keep code common in bash, zsh, and ksh debuggers.
 End of changes. 2 change blocks. 
4 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)