projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb/
[deliverable/binutils-gdb.git]
/
gdb
/
mips-tdep.c
diff --git
a/gdb/mips-tdep.c
b/gdb/mips-tdep.c
index 880dfcc34946c124a5abfc5c4d61ab5c6a8479b9..dcb440607180a5cd94cdb2b7310306c9c0c48317 100644
(file)
--- a/
gdb/mips-tdep.c
+++ b/
gdb/mips-tdep.c
@@
-2188,20
+2188,17
@@
mips_addr_bits_remove (CORE_ADDR addr)
void
mips_software_single_step (enum target_signal sig, int insert_breakpoints_p)
{
void
mips_software_single_step (enum target_signal sig, int insert_breakpoints_p)
{
- static CORE_ADDR next_pc;
- typedef char binsn_quantum[BREAKPOINT_MAX];
- static binsn_quantum break_mem;
- CORE_ADDR pc;
+ CORE_ADDR pc, next_pc;
if (insert_breakpoints_p)
{
pc = read_register (mips_regnum (current_gdbarch)->pc);
next_pc = mips_next_pc (pc);
if (insert_breakpoints_p)
{
pc = read_register (mips_regnum (current_gdbarch)->pc);
next_pc = mips_next_pc (pc);
-
target_insert_breakpoint (next_pc, break_mem
);
+
insert_single_step_breakpoint (next_pc
);
}
else
}
else
-
target_remove_breakpoint (next_pc, break_mem
);
+
remove_single_step_breakpoints (
);
}
/* Test whether the PC points to the return instruction at the
}
/* Test whether the PC points to the return instruction at the
This page took
0.02506 seconds
and
4
git commands to generate.