From eb3626b925d61a20519c4e9e18495ab812f9d44d Mon Sep 17 00:00:00 2001 From: Geoff Norton Date: Wed, 26 Jan 2011 12:34:48 -0500 Subject: [PATCH] Include operands when emitting the IL stream to sdb clients --- .../Mono.Debugger.Soft/MethodBodyMirror.cs | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/MethodBodyMirror.cs b/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/MethodBodyMirror.cs index 20ec9aadc8d..c03f4cdb476 100644 --- a/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/MethodBodyMirror.cs +++ b/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/MethodBodyMirror.cs @@ -105,28 +105,23 @@ namespace Mono.Debugger.Soft instr.Operand = br.ReadByte (); break; case OperandType.ShortInlineVar : - br.ReadByte (); - //instr.Operand = GetVariable (body, br.ReadByte ()); + instr.Operand = br.ReadByte (); break; case OperandType.ShortInlineArg : - br.ReadByte (); - //instr.Operand = GetParameter (body, br.ReadByte ()); + instr.Operand = br.ReadByte (); break; case OperandType.InlineSig : br.ReadInt32 (); //instr.Operand = GetCallSiteAt (br.ReadInt32 (), context); break; case OperandType.InlineI : - br.ReadInt32 (); - //instr.Operand = br.ReadInt32 (); + instr.Operand = br.ReadInt32 (); break; case OperandType.InlineVar : - br.ReadInt16 (); - //instr.Operand = GetVariable (body, br.ReadInt16 ()); + instr.Operand = br.ReadInt16 (); break; case OperandType.InlineArg : - br.ReadInt16 (); - //instr.Operand = GetParameter (body, br.ReadInt16 ()); + instr.Operand = br.ReadInt16 (); break; case OperandType.InlineI8 : instr.Operand = br.ReadInt64 (); -- 2.11.4.GIT