diff options
author | Mark Alexander <marka@cygnus> | 1997-01-28 00:50:13 +0000 |
---|---|---|
committer | Mark Alexander <marka@cygnus> | 1997-01-28 00:50:13 +0000 |
commit | f9f8c14b1a642a7f463f0f0ce8175f232702b595 (patch) | |
tree | 69c6e423028b665c62d496e8508f9b28c5849381 /gas/macro.c | |
parent | 0192b099bde982f3d5ef9a74cb8a5b0dae816f2a (diff) | |
download | gdb-f9f8c14b1a642a7f463f0f0ce8175f232702b595.zip gdb-f9f8c14b1a642a7f463f0f0ce8175f232702b595.tar.gz gdb-f9f8c14b1a642a7f463f0f0ce8175f232702b595.tar.bz2 |
First set of changes for mips16:
* config/mips/tm-mips.h (MIPS16_BIG_BREAKPOINT,
MIPS16_LITTLE_BREAKPOINT, BREAKPOINT_FROM_PC): Define.
(ABOUT_TO_RETURN): Call new function mips_about_to_return.
(mips_breakpoint_from_pc, mips_about_to_return): Declare.
* mem-break.c (memory_breakpoint_from_pc): New function.
(memory_insert_breakpoint, memory_remove_breakpoint): Use
memory_breakpoint_from_pc to determine breakpoint contents and size.
* target.h (memory_breakpoint_from_pc): Declare.
* monitor.c (monitor_insert_breakpoint): Use memory_breakpoint_from_pc
to determine size of breakpoint instruction.
* mips-tdep.c (mips32_decode_reg_save, mips16_decode_reg_save):
New helper functions for mips_find_saved_regs.
(mips_find_saved_regs): Recognize mips16 prologues.
(mips_addr_bits_remove): Strip off upper 32 bits of address
when target CPU is 32 bits but CORE_ADDR is 64 bits.
(mips_step_skips_delay): No branch delay slot on mips16.
(gdb_print_insn_mips): Disassemble mips16 code.
(mips_breakpoint_from_pc, mips_about_to_return): New functions.
Diffstat (limited to 'gas/macro.c')
0 files changed, 0 insertions, 0 deletions