Software single-stepping and multi-arch

Andrew Cagney ac131313@cygnus.com
Fri Feb 22 06:33:00 GMT 2002


No, you're not going crazy :-)

software single-step goes with the comment:

# FIXME/cagney/2001-01-18: This should be split in two.  A target method 
that in dicates if the target needs software single step.  An ISA method 
to implement it.
#
# FIXME/cagney/2001-01-18: This should be replaced with something that 
inserts breakpoints using the breakpoint system instead of blatting 
memory directly (as with rs6000).
#
# FIXME/cagney/2001-01-18: The logic is backwards.  It should be asking 
if the target can single step.  If not, then implement single step using 
breakpoints.

There are also gdb/120 and gdb/274.

> Should we separate the two out?

Yes!!!!

Andrew




More information about the Gdb mailing list