This is the mail archive of the gdb-patches@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: [rfa] hardware breakpoints -- remote targets


I made the sugested changes, and removed the set and show functions
from this patch.

ok?

grace

2002-08-09  Grace Sainsbury  <graces@redhat.com>

        * remote.c: (remote_wait, remote_async_wait): Add check for awatch
        T-packets; the 'a' is not taken as a register number.
	(remote_check_watch_resources, remote_stopped_by_watchpoint)
        (remote_stopped_data_address): New functions; add to target
        vector.
        (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Change
        prototypes to match other implementations of this
        function. replace integer argument with pointer -- the length
        field in the Z-packet is the length of what is pointed to or 1 if
        pointer is null. Add to target vector.
        (remote_insert_watchpoint, remote_remove_watchpoint): Add to
        target vector.

Yes. Thanks!

I suspect the set/show stuff is going to need a bit of brainstorming (and knowing GDB's luck, a refinement to the remote protocol).

Hmm, now you get to the tricky bit. Getting a single native i386-unknown-linux-gnu gdb to use remote watchpoints when remote but native watchpoints when native ... :-)

enjoy,
Andrew



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