disasm: split dump_insns
[deliverable/binutils-gdb.git] / gdb / lm32-tdep.c
index 25a7e1ee70e7db45edebdcf1d8c4adff1e0e4b51..2dcc9a3e0fe32189a558c559e868780237772f62 100644 (file)
@@ -289,7 +289,8 @@ lm32_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
        regcache_cooked_write_unsigned (regcache, first_arg_reg + i, val);
       else
        {
-         write_memory (sp, (void *) &val, TYPE_LENGTH (arg_type));
+         write_memory_unsigned_integer (sp, TYPE_LENGTH (arg_type), byte_order,
+                                        val);
          sp -= 4;
        }
     }
This page took 0.02396 seconds and 4 git commands to generate.