This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Remote Z packets disables: bug or configuration error?
- From: "Dennis W. Tokarski" <dwt at PolTec dot COM>
- To: gdb at sourceware dot org
- Date: Fri, 06 Jan 2006 17:57:06 -0500
- Subject: Remote Z packets disables: bug or configuration error?
Hi,
While trying to debug a remote i386 target which supports
hardware watchpoints via Z-packets (kgdb), I found that gdb
6.3 doesn't send Z packets at all.
The immediate cause is the override of the macros
target_insert_hw_breakpoint and associates in
nm-linux.h and nm-i386.h. That causes the calls in
breakpoint.c to be hardwired to procedures which
presume the operation is local rather than calling
through the current_target struct.
Can anyone comment on whether this is a bug? Or
did someone along the line intentionally choose to
disable use of hardware break and watchpoints on
remote targets?
Another thing that occurs to me is it may be some
obscure configuration issue. The build directory
I run configure in is named gdb-6.3.0.0-build-i386-redhat-linux-gnu.
If there's anything in the configuration options
to cause this it escapes me.
--Dennis Tokarski
PolTec Electronics, LLC