This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] problem fetching inferior memory due to breakpoint


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


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