(CommandList children: [ (FuncDef name: _Dbg_msg body: (BraceGroup children: [ (SimpleCommand words: [{(echo)} {($ VSub_At "$@")}] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[93])] ) ] spids: [88] ) spids: [84 87] ) (FuncDef name: _Dbg_errmsg body: (BraceGroup children: [ (SimpleCommand words: [{(echo)} {(DQ (${ VSub_Name _Dbg_pname) (": ") ($ VSub_At "$@"))}] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[113])] ) ] spids: [108] ) spids: [104 107] ) (FuncDef name: _Dbg_do_show_version body: (BraceGroup children: [ (AndOr children: [ (DBracket expr: (BoolUnary op_id:BoolUnary_n child:{($ VSub_Number "$1")}) ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:label) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [(C {(_Dbg_printf_nocr)} {(DQ ("%-12s: "))} {(version)})] ) left_token: <Left_CommandSub "$("> spids: [149 157] ) } spids: [148] ) ] spids: [148] ) ] op_id: Op_DAmp ) (C {(_Dbg_msg)} { (DQ (${ VSub_Name label) ($ VSub_Name "$_Dbg_debugger_name") (", release ") ($ VSub_Name "$_Dbg_release") ) } ) ] spids: [135] ) spids: [131 134] ) (FuncDef name: _Dbg_expand_filename body: (BraceGroup children: [ (C {(typeset)} {(-r)} {(Lit_VarLike "filename=") (DQ ($ VSub_Number "$1"))}) (C {(typeset)} {(Lit_VarLike "basename=") (DQ (BracedVarSub token: <VSub_Name filename> suffix_op: (StringUnary op_id:VOp1_DPound arg_word:{("*") (Lit_Slash /)}) spids: [222 227] ) ) } ) (C {(typeset)} {(-x)} {(Lit_VarLike "dirname=") (DQ (BracedVarSub token: <VSub_Name filename> suffix_op: (StringUnary op_id:VOp1_Percent arg_word:{(Lit_Slash /) ("*")}) spids: [237 242] ) ) } ) (AndOr children: [ (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_Name "$dirname")} right: {($ VSub_Name "$basename")} ) ) (AndOr children: [ (DBracket expr: (BoolBinary op_id: BoolBinary_GlobNEqual left: {($ VSub_Name "$filename")} right: {(SQ </>)} ) ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:dirname) op: Equal rhs: {(SQ <.>)} spids: [277] ) ] spids: [277] ) ] op_id: Op_DAmp ) ] op_id: Op_DAmp ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:dirname) op: Equal rhs: { (BracedVarSub token: <VSub_Name dirname> suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(Lit_Slash /)}) spids: [289 293] ) } spids: [288] ) ] spids: [288] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:dirname) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [(C {(echo)} {($ VSub_Name "$dirname")})] ) left_token: <Left_CommandSub "$("> spids: [302 306] ) } spids: [301] ) ] spids: [301] ) (C {(typeset)} {(long_path)}) (AndOr children: [ (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_Name "$basename")} right: {(SQ <.>)} ) ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:basename) op:Equal rhs:{(SQ )} spids:[330])] spids: [330] ) ] op_id: Op_DAmp ) (If arms: [ (if_arm cond: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:long_path) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Subshell child: (CommandList children: [ (Sentence child: (C {(cd)} {(DQ ($ VSub_Name "$dirname"))}) terminator: <Op_Semi ";"> ) (C {(pwd)}) ] ) redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [352] ) ] spids: [340 350] ) ] ) left_token: <Left_CommandSub "$("> spids: [338 355] ) } spids: [337] ) ] spids: [337] ) terminator: <Op_Semi ";"> ) ] action: [ (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: {(DQ ($ VSub_Name "$long_path"))} right: {(SQ </>)} ) ) terminator: <Op_Semi ";"> ) ] action: [(C {(echo)} {(DQ (/) ($ VSub_Name "$basename"))})] spids: [-1 380] ) ] else_action: [ (C {(echo)} {(DQ ($ VSub_Name "$long_path") (/) ($ VSub_Name "$basename"))}) ] spids: [391 403] ) (ControlFlow token:<ControlFlow_Return return> arg_word:{(0)}) ] spids: [-1 359] ) ] else_action: [ (C {(echo)} {($ VSub_Name "$filename")}) (ControlFlow token:<ControlFlow_Return return> arg_word:{(1)}) ] spids: [411 424] ) ] spids: [200] ) spids: [196 199] ) (FuncDef name: _Dbg_tempname body: (BraceGroup children: [ (C {(echo)} { (DQ ($ VSub_Name "$_Dbg_tmpdir") (/) (${ VSub_Name _Dbg_debugger_name) (_) ($ VSub_Number "$1") (_) ($ VSub_Dollar "$$") ) } ) ] spids: [439] ) spids: [435 438] ) (C {(.)} {(${ VSub_Name _Dbg_libdir) (/init/opts.sh)}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:OPTLIND) op:Equal rhs:{(1)} spids:[469])] spids: [469] ) (C {(_Dbg_parse_options)} {(DQ ($ VSub_At "$@"))}) (If arms: [ (if_arm cond: [ (Sentence child: (AndOr children: [ (DBracket expr: (LogicalNot child: (BoolUnary op_id:BoolUnary_d child:{($ VSub_Name "$_Dbg_tmpdir")}) ) ) (DBracket expr: (LogicalNot child: (BoolUnary op_id:BoolUnary_w child:{($ VSub_Name "$_Dbg_tmpdir")}) ) ) ] op_id: Op_DAmp ) terminator: <Op_Semi ";"> ) ] action: [ (SimpleCommand words: [ {(echo)} { (DQ (${ VSub_Name _Dbg_pname) (": cannot write to temp directory ") ($ VSub_Name "$_Dbg_tmpdir") (.) ) } ] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[519])] ) (SimpleCommand words: [{(echo)} {(DQ (${ VSub_Name _Dbg_pname) (": Use -T try directory location."))}] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[532])] ) (C {(exit)} {(1)}) ] spids: [-1 505] ) ] spids: [-1 540] ) (C {(typeset)} {(-x)} {(Lit_VarLike "_Dbg_init_cwd=") ($ VSub_Name "$PWD")}) (C {(typeset)} {(-i)} {(Lit_VarLike "_Dbg_running=") (1)}) (C {(typeset)} {(-i)} {(Lit_VarLike "_Dbg_brkpt_num=") (0)}) (C {(typeset)} {(Lit_VarLike "_Dbg_set_trace_commands=") (SQ <off>)}) (C {(typeset)} {(-x)} {(Lit_VarLike "_Dbg_space_IFS=") (SQ <" \n">)}) (C {(typeset)} {(-i)} {(Lit_VarLike "_Dbg_step_ignore=") (1)}) ] )