This is the mail archive of the gdb@sourceware.org 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]

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


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