This is the mail archive of the gdb@sources.redhat.com 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: Getting the i386 watchpoints into the taget vector?


"Andrew" == Andrew Cagney <ac131313@ges.redhat.com> writes:

 Andrew> One thought is to change the config/i386/nm-i386.h macros to
 Andrew> something native specific (native_insert_watchpoint()) and
 Andrew> then have the various native targets (infptrace.c, ...) add
 Andrew> these methods to their target vector.

 Andrew> It does restrict things to native targets.  A remote target
 Andrew> couldn't make use of GDB's built-in knowledge of watchpoint
 Andrew> registers.

General comment: for an embedded systems developer, it's a constant
source of bafflement to trip over gdb features that don't work in a
remote-target setting.  It sure would be nice if the number of such
cases were going down, not up, over time.
Can you document or bug report them? Of hand I can only think of gcore (and that largely requires someone to perform the leg work).

Andrew



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