This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog m68hc11-tdep.c
- From: ciceron at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 13 Aug 2002 17:24:50 -0000
- Subject: src/gdb ChangeLog m68hc11-tdep.c
CVSROOT: /cvs/src
Module name: src
Changes by: ciceron@sources.redhat.com 2002-08-13 10:24:50
Modified files:
gdb : ChangeLog m68hc11-tdep.c
Log message:
* 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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.3027&r2=1.3028
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/m68hc11-tdep.c.diff?cvsroot=src&r1=1.27&r2=1.28