commit | 40a204329c8b180590c76ab45e946e1deca2e9b4 | [log] [tgz] |
---|---|---|
author | Johnny Chen <johnny.chen@apple.com> | Wed May 30 00:29:12 2012 +0000 |
committer | Johnny Chen <johnny.chen@apple.com> | Wed May 30 00:29:12 2012 +0000 |
tree | 0c36bf71ea2856d0654972c5ac044d9f952fb598 | |
parent | 49170d451ca06cccd67b486646b5345f85e69417 [diff] [blame] |
For dump_register_value() sub-routine, issue a return after an error condition occurs. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157656 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/scripts/disasm-gdb-remote.pl b/scripts/disasm-gdb-remote.pl index 2725c6e..0742ea8 100755 --- a/scripts/disasm-gdb-remote.pl +++ b/scripts/disasm-gdb-remote.pl
@@ -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];