diff options
author | Stephane Carrez <stcarrez@nerim.fr> | 2002-08-13 17:24:50 +0000 |
---|---|---|
committer | Stephane Carrez <stcarrez@nerim.fr> | 2002-08-13 17:24:50 +0000 |
commit | 548bcbeca813f4c010178d1f8bb6b63b1f6de409 (patch) | |
tree | befd5862a945741dd3cfadc1cacb2621910ccf64 /gdb/procfs.c | |
parent | 7df11f59811c830ac11cbd15a5483c8384dabf87 (diff) | |
download | gdb-548bcbeca813f4c010178d1f8bb6b63b1f6de409.zip gdb-548bcbeca813f4c010178d1f8bb6b63b1f6de409.tar.gz gdb-548bcbeca813f4c010178d1f8bb6b63b1f6de409.tar.bz2 |
* m68hc11-tdep.c (M68HC12_NUM_PSEUDO_REGS): New define.
(M68HC12_HARD_PC_REGNUM): Define specific PC for 68HC12 (pseudo reg).
(m68hc11_pseudo_register_read): Compute the 68HC12 PC using the
real PC and the page number (if it's within the memory bank window).
(m68hc11_pseudo_register_write): Likewise when saving.
(m68hc11_register_name): Name the virtual pc 'pc' and the real one ppc.
(m68hc11_register_virtual_type): Return uint32 for virtual pc.
(m68hc11_register_raw_size): And use 32-bit for it.
(m68hc11_gdbarch_init): Use 32-bit address for 68HC12 if the
16K memory bank is used by the prog; also use the virtual pc.
Diffstat (limited to 'gdb/procfs.c')
0 files changed, 0 insertions, 0 deletions