MIPS: Respect the "set mips compression" command
authorMaciej W. Rozycki <macro@codesourcery.com>
Fri, 25 Jul 2014 17:57:06 +0000 (18:57 +0100)
committerMaciej W. Rozycki <macro@codesourcery.com>
Fri, 25 Jul 2014 17:57:06 +0000 (18:57 +0100)
commitd54398a79e97eff8f51aed2035cb513cdc4fb319
tree908a32b98fa7daeb16b85debfac32c59ced44395
parentab16fce80e60f15058b594f624024219c3a7a000
MIPS: Respect the "set mips compression" command

This fixes gdbarch matching, making sure one for the opposite compressed
ISA variation is not chosen.  That in turn makes "set mips compression"
work; right now the setting sticks to the initial value, either inferred
from the ELF header of the binary first loaded or the default value if
no binary has been used.  This only affects debugging with no symbol
table available or no binary chosen at all, as otherwise symbol
annotations determine the compressed ISA variation.

* mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
variation in gdbarch matching.
gdb/ChangeLog
gdb/mips-tdep.c
This page took 0.024726 seconds and 4 git commands to generate.