Getting the i386 watchpoints into the taget vector?

Andrew Cagney ac131313@ges.redhat.com
Fri Sep 20 08:26:00 GMT 2002


>>>>>> "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




More information about the Gdb mailing list