[RFC] problem fetching inferior memory due to breakpoint

Daniel Jacobowitz drow@false.org
Wed Apr 26 21:39:00 GMT 2006


On Wed, Apr 26, 2006 at 02:18:17PM -0700, Joel Brobecker wrote:
> > Try safe_frame_unwind_memory, the other caller of
> > deprecated_read_memory_nobpt.  Many other prologue analyzers already
> > seem to use that.
> 
> Humpf, I must have been sleeping when I did my grep for this function
> as I should have seen that too.
> 
> Do you think I should modify win32-nat to use that function or should
> I modify read_memory() to use safe_frame_unwind_memory(). I prefer
> the latter, because we also protect other platforms where this may
> happen too.

Neither, where in win32-nat were you planning to modify?  Presumably
you should change the i386 prologue analyzer.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list