This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
how to use hardware breakpoints/watchpoints
- From: Tom Armistead <tiny_armistead at yahoo dot com>
- To: gdb at sources dot redhat dot com
- Date: Wed, 2 Jul 2003 10:55:37 -0700 (PDT)
- Subject: how to use hardware breakpoints/watchpoints
Hi,
I am having trouble getting GDB (both 5.3 and
5.2.1) to utilize hardware breakpoints and watchpoints
(i.e., the Z packets) with my target. I configured
for a target of powerpc-eabi and everything builds and
runs ok except for the Z packets.
My target stub supports Z packets. I verified it
works by manually sending Z packets to my stub. Using
'show remote' under GDB says that Z packet support is
dynamically detected. So, I would assume that it
would attempt to send Z packets to do the dynamic
detection. But when I try to use hbreak, it says the
target does not support it without even attempting to
send a Z packet to my stub.
My stub supports Z1,Z2,Z3,Z4 but not Z0 if that
makes any difference...
Is there some additional configuration that I need
to do to get GDB to use hardware breakpoint/watchpoint
support?
Thanks,
Tom Armistead
tiny_armistead@yahoo.com
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com