Added MIPS16 PC masking for disassembly. See PR 12149.

This commit is contained in:
Frank Ch. Eigler 1997-10-09 20:26:08 +00:00
parent 18ef0a3df5
commit eec1d04840
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,15 @@
Thu Oct 9 12:37:57 1997 Frank Ch. Eigler <fche@cygnus.com>
* printcmd.c (print_address_symbolic, address_info): Mask
target-specific flag bits from PC, for more aesthetic disassembly.
* config/mips/tm-mips.h: Added PC masking for MIPS family
(especially the MIPS16).
Sat Oct 4 18:45:44 1997 Mark Alexander <marka@cygnus.com>
* remote-mips.c (mips-initialize): Work around flakiness in
some versions of PMON after loading a program.
Fri Oct 3 15:49:18 1997 Per Bothner <bothner@cygnus.com>
* c-lang.h, cp-valprint.c (static_field_print): Make non-static.

View File

@ -50,6 +50,14 @@ struct value;
#define TARGET_MONITOR_PROMPT "<IDT>"
#endif
/* PC should be masked to remove possible MIPS16 flag */
#if !defined (GDB_TARGET_MASK_DISAS_PC)
#define GDB_TARGET_MASK_DISAS_PC(addr) UNMAKE_MIPS16_ADDR(addr)
#endif
#if !defined (GDB_TARGET_UNMASK_DISAS_PC)
#define GDB_TARGET_UNMASK_DISAS_PC(addr) MAKE_MIPS16_ADDR(addr)
#endif
/* Floating point is IEEE compliant */
#define IEEE_FLOAT