2007-07-03 Yoshinori Sato <ysato@users.sourceforge.jp>
authorDaniel Jacobowitz <drow@false.org>
Tue, 3 Jul 2007 17:19:38 +0000 (17:19 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 3 Jul 2007 17:19:38 +0000 (17:19 +0000)
* compile.c (sim_resume): Fix the last byte of ARGV for
SYS_CMDLINE.

sim/h8300/ChangeLog
sim/h8300/compile.c

index f0d46016a5560c9c18e15d21466114eb49bc733f..43ab42d24c63032619bf3d5459b138bf652764c8 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 0d307577ae332b753205f5b8ac11d8646985356c..34cb057db3f9ad0fa330cf71f76e8a2b46e522f8 100644 (file)
@@ -2810,7 +2810,7 @@ sim_resume (SIM_DESC sd, int step, int siggnal)
                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;
This page took 0.035965 seconds and 4 git commands to generate.