mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-22 07:53:36 +08:00
* mips-tdep.c (heuristic_proc_start): Avoid long delays
for remote MIPS by limiting heuristic to 200 byte search. (heuristic_proc_desc): Byte-swapping. (mips_print_register): Cope with failure of read_relative_register_raw_bytes. Byte-swap integers for printing. * mips-pinsn.c (print_insn): Byte-swap instruction.
This commit is contained in:
parent
b67cb9d5a9
commit
2d62e80754
@ -1,5 +1,5 @@
|
||||
/* Print mips instructions for GDB, the GNU debugger.
|
||||
Copyright 1989, 1991 Free Software Foundation, Inc.
|
||||
Copyright 1989, 1991, 1992 Free Software Foundation, Inc.
|
||||
Contributed by Nobuyuki Hikichi(hikichi@sra.co.jp)
|
||||
|
||||
This file is part of GDB.
|
||||
@ -115,6 +115,7 @@ print_insn (memaddr, stream)
|
||||
unsigned long int l;
|
||||
|
||||
read_memory (memaddr, buffer, MAXLEN);
|
||||
SWAP_TARGET_AND_HOST (buffer, MAXLEN);
|
||||
|
||||
for (i = 0; i < NOPCODES; i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user