From 32dab6031296a0decf26d30400759c4575877935 Mon Sep 17 00:00:00 2001 From: Mark Alexander Date: Sun, 9 Feb 1997 17:36:49 +0000 Subject: * remote-mips.c (common_breakpoint): Prevent 64-bit addresses from being sent to 32-bit targets by masking off upper bits. * mips-tdep.c (heuristic_proc_start): Mask off upper 32 bits of PC on 32-bit targets. (mips16_heuristic_proc_desc): Recognize 'addiu s1,sp,n' as a frame setup instruction. (mips32_heuristic_proc_desc): Fix warning found by gcc -Wall. (mips16_skip_prologue): Recognize 'addiu s1,sp,n' as a valid prologue instruction. Fix warnings and bugs found by gcc -Wall. * buildsym.c (finish_block): Improve handling of overlapping blocks; fixes problem on MIPS16 printing function arguments. --- gdb/remote-mips.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/remote-mips.c') diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index 11d0e2b..9d905bd 100644 --- a/gdb/remote-mips.c +++ b/gdb/remote-mips.c @@ -2477,6 +2477,7 @@ common_breakpoint (cmd, addr, mask, flags) int rpid, rerrflg, rresponse; int nfields; + addr = ADDR_BITS_REMOVE (addr); if (flags) sprintf (buf, "0x0 %c 0x%s 0x%s %s", cmd, paddr_nz (addr), paddr_nz (mask), flags); -- cgit v1.1