Fix typo that clobbered the stack and rewrite 2/26 change
This commit is contained in:
parent
7919b9ec41
commit
7a543ca48e
|
@ -1,3 +1,12 @@
|
||||||
|
Tue Mar 26 14:57:58 1996 Michael Meissner <meissner@tiktok.cygnus.com>
|
||||||
|
|
||||||
|
* igen.c (idecode_switch_end): Fix 2/26 change so that an extra
|
||||||
|
default is not written out if a default was already written.
|
||||||
|
|
||||||
|
* psim.c (psim_{read,write}_register): Use sizeof unsigned_8 to
|
||||||
|
size cooked_buf, not sizeof natural_word, since floating point
|
||||||
|
registers are 8 bytes.
|
||||||
|
|
||||||
Thu Mar 21 00:06:09 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
|
Thu Mar 21 00:06:09 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
|
||||||
|
|
||||||
* main.c (error): Be careful to not try to print out statistics
|
* main.c (error): Be careful to not try to print out statistics
|
||||||
|
|
|
@ -219,7 +219,7 @@ psim_options(device *root,
|
||||||
break;
|
break;
|
||||||
case 'm':
|
case 'm':
|
||||||
param = find_arg("Missing <model> option for -m\n", &argp, argv);
|
param = find_arg("Missing <model> option for -m\n", &argp, argv);
|
||||||
device_add_string_property(root, "/openprom/options/model", param);
|
device_tree_add_parsed(root, "/openprom/options/model \"%s", param);
|
||||||
break;
|
break;
|
||||||
case 'o':
|
case 'o':
|
||||||
param = find_arg("Missing <device> option for -o\n", &argp, argv);
|
param = find_arg("Missing <device> option for -o\n", &argp, argv);
|
||||||
|
@ -751,7 +751,7 @@ psim_read_register(psim *system,
|
||||||
transfer_mode mode)
|
transfer_mode mode)
|
||||||
{
|
{
|
||||||
register_descriptions description;
|
register_descriptions description;
|
||||||
char cooked_buf[sizeof(natural_word)];
|
char cooked_buf[sizeof(unsigned_8)];
|
||||||
cpu *processor;
|
cpu *processor;
|
||||||
|
|
||||||
/* find our processor */
|
/* find our processor */
|
||||||
|
@ -842,7 +842,7 @@ psim_write_register(psim *system,
|
||||||
{
|
{
|
||||||
cpu *processor;
|
cpu *processor;
|
||||||
register_descriptions description;
|
register_descriptions description;
|
||||||
char cooked_buf[sizeof(natural_word)];
|
char cooked_buf[sizeof(unsigned_8)];
|
||||||
|
|
||||||
/* find our processor */
|
/* find our processor */
|
||||||
if (which_cpu == MAX_NR_PROCESSORS)
|
if (which_cpu == MAX_NR_PROCESSORS)
|
||||||
|
|
Loading…
Reference in New Issue