#NEWLINE# def _gdb_cmd( target_exe , solib_search = None , run = True ) : #NEWLINE# #INDENT# return ( ( [ TOOL_GDB , '-nx' , '-x' , GDB_CMDS ] + [ i for sl in [ ( '-ex' , x ) for x in _gdb_cmd_gen ( run = run , target = i , solib_search = solib_search ) ] for i in sl ] ) + [ '-return-child-result' , '-batch' , '--args' ] )