This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.


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

Re: Any way to avoid inserting & removing breakpoints?


> some sort of caching-like thing, but I'm not sure that all target
> memory reads know about substituting original code, so you might get
> punished when you're doing disassembly or prologue analysis.

They don't. See breakpoint.c:read_memory_nobpt() and grep for callers.

As of 4.17 there were references in mips-tdep.c, but I don't think anywhere
else. I am only concerned with 32-bit cross targets though.

Todd Whitesel
toddpw @ wrs.com