diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog new file mode 100644 index 0000000000..b620f609d7 --- /dev/null +++ b/sim/arm/ChangeLog @@ -0,0 +1,9 @@ +Thu Jun 8 14:37:14 1995 Steve Chamberlain + + * run.c (main): Grab return value from right register. + +Wed May 24 14:37:31 1995 Steve Chamberlain + + * New. + + diff --git a/sim/arm/run.c b/sim/arm/run.c index 3b911d2bf4..8cdf6dbca2 100644 --- a/sim/arm/run.c +++ b/sim/arm/run.c @@ -117,11 +117,11 @@ main (ac, av) sim_info (0); /* Assume we left through the exit system call, - in which case r5 has the exit code */ + in which case r0 has the exit code */ { unsigned char b[4]; - sim_fetch_register (5, b); - return b[3]; + sim_fetch_register (0, b); + return b[0]; } }