* idecode_expression.h (ALU_END): From Charles Lefurgy - Extract

sign bit using 64 bit and not a 32 bit mask.

        * sim_calls.c (sim_load): From Ian Lance Taylor - free argv after
        it has been used, not before.
This commit is contained in:
Andrew Cagney 1997-08-27 00:44:05 +00:00
parent d07dddd2b2
commit 9f64f00ada
2 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,13 @@
Wed Aug 27 10:24:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
* idecode_expression.h (ALU_END): From Charles Lefurgy - Extract
sign bit using 64 bit and not a 32 bit mask.
Wed Aug 27 10:15:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
* sim_calls.c (sim_load): From Ian Lance Taylor - free argv after
it has been used, not before.
Tue Aug 26 10:41:35 1997 Andrew Cagney <cagney@b1.cygnus.com>
* sim_calls.c (sim_kill): Delete.

View File

@ -113,9 +113,6 @@ sim_load (SIM_DESC sd, char *prog, bfd *abfd, int from_tty)
/* bring in all the data section */
psim_init(simulator);
/* release the arguments */
freeargv(argv);
/* get the start address */
if (abfd != NULL)
entry_point = bfd_get_start_address (abfd);
@ -136,6 +133,9 @@ sim_load (SIM_DESC sd, char *prog, bfd *abfd, int from_tty)
bfd_close (abfd);
}
/* release the arguments */
freeargv(argv);
return SIM_RC_OK;
}