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]

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


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