Skip to content
Snippets Groups Projects
Commit 363fbc57 authored by wlott's avatar wlott
Browse files

Fixed to install the correct instruction on non-mips machines instead of

always installing a mips break instruction.
parent 06712765
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,14 @@ inst breakpoint_install(code_obj, pc_offset) ...@@ -38,7 +38,14 @@ inst breakpoint_install(code_obj, pc_offset)
lispobj code_obj; lispobj code_obj;
int pc_offset; int pc_offset;
{ {
return swap_insts(code_obj, pc_offset, (trap_Breakpoint << 16) | 0xd); return swap_insts(code_obj, pc_offset,
#ifdef mips
(trap_Breakpoint << 16) | 0xd
#endif
#ifdef sparc
trap_Breakpoint
#endif
);
} }
void breakpoint_remove(code_obj, pc_offset, orig_inst) void breakpoint_remove(code_obj, pc_offset, orig_inst)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment