2005-11-08 Kei Sakamoto <sakamoto.kei@renesas.com>
* remote-m32r-sdi.c: Update copyright years. (m32r_resume): Write DBT at word-aligned addresses. (m32r_wait): Use SDI_WRITE_MEMORY to remove DBT.
This commit is contained in:
parent
9d6f42e946
commit
492e5c6b71
@ -1,3 +1,9 @@
|
||||
2005-11-08 Kei Sakamoto <sakamoto.kei@renesas.com>
|
||||
|
||||
* remote-m32r-sdi.c: Update copyright years.
|
||||
(m32r_resume): Write DBT at word-aligned addresses.
|
||||
(m32r_wait): Use SDI_WRITE_MEMORY to remove DBT.
|
||||
|
||||
2005-11-08 Kei Sakamoto <sakamoto.kei@renesas.com>
|
||||
|
||||
* m32r-linux-tdep.c (linux_sigtramp_code): Use 'gdb_byte' instead
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* Remote debugging interface for M32R/SDI.
|
||||
|
||||
Copyright 2003, 2004 Free Software Foundation, Inc.
|
||||
Copyright 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
|
||||
Contributed by Renesas Technology Co.
|
||||
Written by Kei Sakamoto <sakamoto.kei@renesas.com>.
|
||||
@ -534,7 +534,7 @@ m32r_resume (ptid_t ptid, int step, enum target_signal sig)
|
||||
|
||||
/* Write DBT instruction. */
|
||||
buf[0] = SDI_WRITE_MEMORY;
|
||||
store_long_parameter (buf + 1, bp_addr);
|
||||
store_long_parameter (buf + 1, (bp_addr & 0xfffffffc));
|
||||
store_long_parameter (buf + 5, 4);
|
||||
if ((bp_addr & 2) == 0 && bp_addr != (pc_addr & 0xfffffffc))
|
||||
{
|
||||
@ -810,7 +810,7 @@ m32r_wait (ptid_t ptid, struct target_waitstatus *status)
|
||||
{
|
||||
if (!mmu_on)
|
||||
bp_addr &= 0x7fffffff;
|
||||
buf[0] = SDI_READ_MEMORY;
|
||||
buf[0] = SDI_WRITE_MEMORY;
|
||||
store_long_parameter (buf + 1, bp_addr & 0xfffffffc);
|
||||
store_long_parameter (buf + 5, 4);
|
||||
buf[9] = bp_data[i][0];
|
||||
|
Loading…
Reference in New Issue
Block a user