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


Daniel Jacobowitz wrote:
On Wed, Apr 26, 2006 at 03:18:01PM -0700, Joel Brobecker wrote:

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

Aaahh, not win32-nat, but i386-tdep, in the prologue analyzer. If this is the prefered method, then I think you can expect a patch for tomorrow.


I think that's the right fix.


You know what might be a good optimization?


Take "breakpoints_inserted" out of infcmd, stick it in breakpoint.c,
and export an access method.  It makes no sense for anybody except
breakpoint.c to be keeping track of this anyway.

Then, read_memory_no_bpt can simply check this, and if it's not set,
default to target_read_memory.


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