public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: gdb@sources.redhat.com
Subject: Watchpoints broken in HEAD
Date: Mon, 14 Jun 2004 15:14:00 -0000	[thread overview]
Message-ID: <jeisduuq6w.fsf@sykes.suse.de> (raw)

Support for hardware watchpoints on ia64 is currently broken.  gdb is just
reporting SIGTRAP when the watchpoint triggers.

$ cat hello.c
#include <stdio.h>

int i;

int
main (void)
{
  printf ("Hello world\n");
  i = 1;
  return 0;
}
$ gdb hello
GNU gdb 2004-06-14-cvs
Copyright 2004 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 "ia64-suse-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) watch i
Hardware watchpoint 1: i
(gdb) r
Starting program: /suse/schwab/test/hello 
Hardware watchpoint 1: i
Hardware watchpoint 1: i
Hello world

Program received signal SIGTRAP, Trace/breakpoint trap.
main () at hello.c:9
9         i = 1;
(gdb) 

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

             reply	other threads:[~2004-06-14 15:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-14 15:14 Andreas Schwab [this message]
2004-06-14 18:50 ` Randolph Chung

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=jeisduuq6w.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=gdb@sources.redhat.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).