* compile.c (sim_resume): Fix the last byte of ARGV for
SYS_CMDLINE.
+2007-07-03 Yoshinori Sato <ysato@users.sourceforge.jp>
+
+ * compile.c (sim_resume): Fix the last byte of ARGV for
+ SYS_CMDLINE.
+
2006-12-21 Hans-Peter Nilsson <hp@axis.com>
* acconfig.h: Remove.
ind_arg_len = 0;
/* The size of the commandline argument. */
- ind_arg_len = strlen (h8_get_cmdline_arg (sd, i) + 1);
+ ind_arg_len = strlen (h8_get_cmdline_arg (sd, i)) + 1;
/* The total size of the command line string. */
size_cmdline += ind_arg_len;