diff options
-rwxr-xr-x | lldb/scripts/disasm-gdb-remote.pl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lldb/scripts/disasm-gdb-remote.pl b/lldb/scripts/disasm-gdb-remote.pl index 0742ea8ce7a..071d4781916 100755 --- a/lldb/scripts/disasm-gdb-remote.pl +++ b/lldb/scripts/disasm-gdb-remote.pl @@ -1237,6 +1237,10 @@ sub dump_extended_cmd { dump_extended_continue_cmd(splice(@_,5)); } + elsif (join('', @_[0..7]) eq 'vAttach;') + { + dump_attach_command (splice(@_,8)); + } elsif (join('', @_[0..11]) eq 'vAttachWait;') { dump_attach_wait_command (splice(@_,12)); @@ -1270,6 +1274,15 @@ sub dump_attach_wait_command } #---------------------------------------------------------------------- +# 'vAttach' command +#---------------------------------------------------------------------- +sub dump_attach_command +{ + printf("attach ( pid = %i )", get_hex(\@_)); + $extended_rsp_callback = \&dump_stop_reply_packet; +} + +#---------------------------------------------------------------------- # 'vCont' command #---------------------------------------------------------------------- sub dump_extended_continue_cmd |