* mips-linux-nat.c (mips64_linux_regsets_store_registers):
Don't check DSP register number if HAVE_DSP is not set.
+2013-02-19 Lei Liu <lei.liu2@windriver.com>
+
+ * mips-linux-nat.c (mips64_linux_regsets_store_registers):
+ Don't check DSP register number if HAVE_DSP is not set.
+
2013-02-19 Alan Modra <amodra@gmail.com>
* elfread.c (struct build_id): Delete. Use struct elf_build_id
have_dsp = mips_regnum (gdbarch)->dspctl != -1;
if (!have_dsp)
is_dsp = 0;
- if (regno >= mips_regnum (gdbarch)->dspacc
+ else if (regno >= mips_regnum (gdbarch)->dspacc
&& regno < mips_regnum (gdbarch)->dspacc + 6)
is_dsp = 1;
else if (regno == mips_regnum (gdbarch)->dspctl)