* mips-nat.c (fetch_core_registers): If KERNEL_U_ADDR is not defined,
we can still process "modern" core files.
This commit is contained in:
parent
0abbc7715f
commit
3762d62487
2 changed files with 6 additions and 0 deletions
|
@ -4,6 +4,8 @@ Thu Jul 1 09:51:27 1993 Jim Kingdon (kingdon@cygnus.com)
|
||||||
Define FETCH_INFERIOR_REGISTERS.
|
Define FETCH_INFERIOR_REGISTERS.
|
||||||
* config/mips/riscos.mh: Don't include coredep.o; mips-nat.o is enough.
|
* config/mips/riscos.mh: Don't include coredep.o; mips-nat.o is enough.
|
||||||
Fix misspelling of NAT_FILE.
|
Fix misspelling of NAT_FILE.
|
||||||
|
* mips-nat.c (fetch_core_registers): If KERNEL_U_ADDR is not defined,
|
||||||
|
we can still process "modern" core files.
|
||||||
|
|
||||||
* ser-unix.c (hardwire_print_tty_state) [HAVE_TERMIOS]: Don't
|
* ser-unix.c (hardwire_print_tty_state) [HAVE_TERMIOS]: Don't
|
||||||
print c_line.
|
print c_line.
|
||||||
|
|
|
@ -193,7 +193,11 @@ fetch_core_registers (core_reg_sect, core_reg_size, which, reg_addr)
|
||||||
core file without a upage, reg_ptr will be zero and this is all a big
|
core file without a upage, reg_ptr will be zero and this is all a big
|
||||||
NOP. */
|
NOP. */
|
||||||
if (reg_ptr > core_reg_size)
|
if (reg_ptr > core_reg_size)
|
||||||
|
#ifdef KERNEL_U_ADDR
|
||||||
reg_ptr -= KERNEL_U_ADDR;
|
reg_ptr -= KERNEL_U_ADDR;
|
||||||
|
#else
|
||||||
|
error ("Old mips core file can't be processed on this machine.");
|
||||||
|
#endif
|
||||||
|
|
||||||
for (regno = 0; regno < NUM_REGS; regno++)
|
for (regno = 0; regno < NUM_REGS; regno++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue