This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Getting the i386 watchpoints into the taget vector?
- From: Paul Koning <pkoning at equallogic dot com>
- To: ac131313 at ges dot redhat dot com
- Cc: gdb at sources dot redhat dot com
- Date: Fri, 20 Sep 2002 09:32:18 -0400
- Subject: Re: Getting the i386 watchpoints into the taget vector?
- References: <3D8A8094.5080908@ges.redhat.com>
>>>>> "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.
paul