[Lldb-commits] [PATCH] D17597: [LLDB][MIPS] Fix TestDisassembleBreakpoint

Nitesh Jain via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 25 01:08:52 PST 2016


nitesh.jain created this revision.
nitesh.jain added a reviewer: clayborg.
nitesh.jain added subscribers: jaydeep, bhushan, sagar, mohit.bhakkad, lldb-commits.
nitesh.jain set the repository for this revision to rL LLVM.

The  MIPS/MICROMIPS architecture will generate different jump instruction.

Repository:
  rL LLVM

http://reviews.llvm.org/D17597

Files:
  packages/Python/lldbsuite/test/functionalities/disassembly/TestDisassembleBreakpoint.py

Index: packages/Python/lldbsuite/test/functionalities/disassembly/TestDisassembleBreakpoint.py
===================================================================
--- packages/Python/lldbsuite/test/functionalities/disassembly/TestDisassembleBreakpoint.py
+++ packages/Python/lldbsuite/test/functionalities/disassembly/TestDisassembleBreakpoint.py
@@ -42,7 +42,7 @@
             instructions = [' add ', ' ldr ', ' str ']
         elif re.match("mips" , arch):
             breakpoint_opcodes = ["break"]
-            instructions = ['lw', 'sw', 'jr']
+            instructions = ['lw', 'sw']
         else:
             # TODO please add your arch here
             self.fail('unimplemented for arch = "{arch}"'.format(arch=self.getArchitecture()))


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17597.49021.patch
Type: text/x-patch
Size: 749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160225/112fa881/attachment.bin>


More information about the lldb-commits mailing list