logo       

breakpoints/2332: watchpoints silently don't work on Opteron: msg#00027

Subject: breakpoints/2332: watchpoints silently don't work on Opteron
>Number:         2332
>Category:       breakpoints
>Synopsis:       watchpoints silently don't work on Opteron
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 11 19:18:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     yuri@xxxxxxxxx
>Release:        gdb-6.7
>Organization:
>Environment:

>Description:
I am trying to set watchpoint on my Opteron (see log below).
Though this value has been changed watchpoint didn't occur.

gdb should either catch watchpoint or tell the user that watchpoints don't work 
and why they don't work when user sets a watchpoint.

Otherwise it looks completely broken.



My OS is:
Linux jf031 2.4.21-37.ELsmp #1 SMP Wed Sep 7 13:32:18 EDT 2005 x86_64 unknown

gdb log is:
Starting program: /home/yuriv/sandbox-mainline-last/libserv/test/w

Breakpoint 1, main () at w.C:8
8         int i = 1;
(gdb) n
9         f(&i);
(gdb) p &i
$1 = (int *) 0x7fbfffeb0c
(gdb) watch 0x7fbfffeb0c
Watchpoint 2: 548682066700
(gdb) c
Continuing.

Program exited with code 02.
(gdb)
>How-To-Repeat:
void f(int *i) { *i = 2; }

main() {
  int i = 1;
  f(&i);
  return (i);
}
>Fix:
n/a
>Release-Note:
>Audit-Trail:
>Unformatted:



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe