"Added 'con' option to vebugger#gdb#start"
This commit is contained in:
parent
9f39160685
commit
940af913be
@ -17,6 +17,8 @@ function! vebugger#gdb#start(binaryFile,args)
|
|||||||
|
|
||||||
if get(a:args,'pid') "Attach to process
|
if get(a:args,'pid') "Attach to process
|
||||||
call l:debugger.writeLine('attach '.string(a:args.pid))
|
call l:debugger.writeLine('attach '.string(a:args.pid))
|
||||||
|
elseif has_key(a:args,'con') "Attach to gdbserver
|
||||||
|
call l:debugger.writeLine('target remote '.a:args.con)
|
||||||
else
|
else
|
||||||
call l:debugger.writeLine('set args '.vebugger#util#commandLineArgsForProgram(a:args).' 1>&2')
|
call l:debugger.writeLine('set args '.vebugger#util#commandLineArgsForProgram(a:args).' 1>&2')
|
||||||
if !has('win32')
|
if !has('win32')
|
||||||
|
Loading…
Reference in New Issue
Block a user