diff options
author | Jim Blandy <jimb@codesourcery.com> | 2001-05-09 02:44:01 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2001-05-09 02:44:01 +0000 |
commit | ae83b20d8f8eff60f8bd9d7a131f7f60b06db772 (patch) | |
tree | aeaa7e456aedb3bb9fd4920c45000ce961d4dff0 /gdb/ChangeLog | |
parent | bf4b70a5e89748322ccec3aa1c2423fee502e100 (diff) | |
download | gdb-ae83b20d8f8eff60f8bd9d7a131f7f60b06db772.zip gdb-ae83b20d8f8eff60f8bd9d7a131f7f60b06db772.tar.gz gdb-ae83b20d8f8eff60f8bd9d7a131f7f60b06db772.tar.bz2 |
Correct and expand handling of `movm' instruction, and register
saves in general.
* config/mn10300/tm-mn10300.h (D0_REGNUM, A0_REGNUM, MDRQ_REGNUM,
MCRH_REGNUM, MCRL_REGNUM, MCVF_REGNUM): New definitions.
(enum movm_register_bits): New enum.
* mn10300-tdep.c (set_movm_offsets): Use symbolic names for the
bits, not hex literals. Handle the `other', `exreg0', and
`exother' bits. Correct handling of `exreg1': it saves r4, r5,
r6, and r7, not r2, r3, r4, and r5.
(saved_regs_size): New function.
(mn10300_frame_chain, mn10300_frame_saved_pc): Use it, instead
of computing the same thing inline, incorrectly.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ae6ea44..6714b67 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,18 @@ 2001-05-08 Jim Blandy <jimb@redhat.com> + Correct and expand handling of `movm' instruction, and register + saves in general. + * config/mn10300/tm-mn10300.h (D0_REGNUM, A0_REGNUM, MDRQ_REGNUM, + MCRH_REGNUM, MCRL_REGNUM, MCVF_REGNUM): New definitions. + (enum movm_register_bits): New enum. + * mn10300-tdep.c (set_movm_offsets): Use symbolic names for the + bits, not hex literals. Handle the `other', `exreg0', and + `exother' bits. Correct handling of `exreg1': it saves r4, r5, + r6, and r7, not r2, r3, r4, and r5. + (saved_regs_size): New function. + (mn10300_frame_chain, mn10300_frame_saved_pc): Use it, instead + of computing the same thing inline, incorrectly. + * mn10300-tdep.c (mn10300_gdbarch_init): We do have a dummy_breakpoint_offset; it's zero. |