Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "H.J. Lu" <hjl.tools@gmail.com>
To: gdb@sourceware.org
Subject: Does hardware watchpoint work on Linux/x86-64?
Date: Wed, 16 Apr 2008 22:36:00 -0000	[thread overview]
Message-ID: <6dc9ffc80804161505h739a3aa0t86556f71d6422772@mail.gmail.com> (raw)

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.


             reply	other threads:[~2008-04-16 22:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-16 22:36 H.J. Lu [this message]
2008-04-16 23:00 ` Daniel Jacobowitz
2008-04-17  1:02   ` H.J. Lu
2008-04-17  2:33     ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6dc9ffc80804161505h739a3aa0t86556f71d6422772@mail.gmail.com \
    --to=hjl.tools@gmail.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox