[Lldb-commits] [lldb] r157656 - /lldb/trunk/scripts/disasm-gdb-remote.pl

Johnny Chen johnny.chen at apple.com
Tue May 29 17:29:12 PDT 2012


Author: johnny
Date: Tue May 29 19:29:12 2012
New Revision: 157656

URL: http://llvm.org/viewvc/llvm-project?rev=157656&view=rev
Log:
For dump_register_value() sub-routine, issue a return after an error condition occurs.

Modified:
    lldb/trunk/scripts/disasm-gdb-remote.pl

Modified: lldb/trunk/scripts/disasm-gdb-remote.pl
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/disasm-gdb-remote.pl?rev=157656&r1=157655&r2=157656&view=diff
==============================================================================
--- lldb/trunk/scripts/disasm-gdb-remote.pl (original)
+++ lldb/trunk/scripts/disasm-gdb-remote.pl Tue May 29 19:29:12 2012
@@ -554,6 +554,7 @@
     if ($reg_num >= @$registers_aref)
     {
         printf("\tinvalid register index %d\n", $reg_num);
+        return;
     }
     
     my $reg_href = $$registers_aref[$reg_num];





More information about the lldb-commits mailing list