Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Does hardware watchpoint work on Linux/x86-64?
@ 2008-04-16 22:36 H.J. Lu
  2008-04-16 23:00 ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: H.J. Lu @ 2008-04-16 22:36 UTC (permalink / raw)
  To: gdb

I got

gnu-27:pts/1[20]> ./gdb
/net/gnu-6/export/build/gnu/binutils/build-x86_64-linux/binutils/readelf
GNU gdb 6.8.50.20080416-cvs
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu"...
Setting up the environment for debugging gdb.
Function "internal_error" not defined.
Make breakpoint pending on future shared library load? (y or [n])
[answered N; input not from terminal]
Function "info_command" not defined.
Make breakpoint pending on future shared library load? (y or [n])
[answered N; input not from terminal]
/export/build/gnu/gdb/build-x86_64-linux/gdb/.gdbinit:8: Error in
sourced command file:
No breakpoint number 0.
(gdb) watch section_headers
During symbol reading, DW_AT_type missing from DW_TAG_subrange_type.
Watchpoint 1: section_headers
(gdb) q

Gdb from Fedora 8 works fine:

[hjl@gnu-6 tmpdir]$ /usr/bin/gdb ../../binutils/readelf
GNU gdb Red Hat Linux (6.6-45.fc8rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"...
Using host libthread_db library "/lib64/libthread_db.so.1".
(gdb) watch section_headers
Hardware watchpoint 1: section_headers
(gdb)


H.J.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-04-16 22:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-16 22:36 Does hardware watchpoint work on Linux/x86-64? H.J. Lu
2008-04-16 23:00 ` Daniel Jacobowitz
2008-04-17  1:02   ` H.J. Lu
2008-04-17  2:33     ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox