This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch/sim/mips] Update mips16 breakpoint
- To: GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Subject: [patch/sim/mips] Update mips16 breakpoint
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 20 Jul 2000 10:00:37 +1000
FYI,
The attatched updates the MIPS16 breakpoint so that it works with a few
other more recent changes (to do with being able to halt and then step
into a signal).
Andrew
Wed Jul 19 18:50:51 2000 Andrew Cagney <cagney@b1.cygnus.com>
* m16.igen (break): Call SignalException not sim_engine_halt.
Index: m16.igen
===================================================================
RCS file: /cvs/cvsfiles/devo/sim/mips/m16.igen,v
retrieving revision 1.11
diff -p -r1.11 m16.igen
*** m16.igen 2000/03/02 09:19:19 1.11
--- m16.igen 2000/07/19 23:58:49
***************
*** 1616,1620 ****
PC = cia - 2; /* reference the branch instruction */
else
PC = cia;
! sim_engine_halt (SD, CPU, NULL, cia, sim_stopped, SIM_SIGTRAP);
}
--- 1616,1620 ----
PC = cia - 2; /* reference the branch instruction */
else
PC = cia;
! SignalException (BreakPoint, instruction_0);
}