Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2012-01-03 17:39:06 +0000
committerEugene Tarassov2012-01-03 17:39:06 +0000
commit8786550ce7810b8ae0b74b0cb1c6beda74ac61bf (patch)
tree5088b7b787580e92e1facbd71aa160f9ba20ed14 /agent/tcf/services/vm.c
parent565cc0e30e57881522f9b61d67549df1771d2d08 (diff)
downloadorg.eclipse.tcf.agent-8786550ce7810b8ae0b74b0cb1c6beda74ac61bf.tar.gz
org.eclipse.tcf.agent-8786550ce7810b8ae0b74b0cb1c6beda74ac61bf.tar.xz
org.eclipse.tcf.agent-8786550ce7810b8ae0b74b0cb1c6beda74ac61bf.zip
TCF Agent: more support for remote execution of DWARF expressions (not complete yet).
Diffstat (limited to 'agent/tcf/services/vm.c')
-rw-r--r--agent/tcf/services/vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/tcf/services/vm.c b/agent/tcf/services/vm.c
index 07405c7c..2f6dbf02 100644
--- a/agent/tcf/services/vm.c
+++ b/agent/tcf/services/vm.c
@@ -385,7 +385,7 @@ static void evaluate_expression(void) {
case OP_bra:
check_e_stack(1);
{
- unsigned offs = (int16_t)read_u2();
+ size_t offs = (int16_t)read_u2();
if (state->stk[state->stk_pos - 1]) {
code_pos += offs;
if (code_pos > code_len) inv_dwarf("Invalid command");

Back to the top