This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[patch/sim/mips] Update mips16 breakpoint


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);
  }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]