This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
breakpoints/1901: Setting watchpoint to a virtual address leading to a crash.
- From: vamsi dot krishnak at gmail dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 23 Mar 2005 20:23:45 -0000
- Subject: breakpoints/1901: Setting watchpoint to a virtual address leading to a crash.
- Reply-to: vamsi dot krishnak at gmail dot com
>Number: 1901
>Category: breakpoints
>Synopsis: Setting watchpoint to a virtual address leading to a crash.
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 23 20:28:01 UTC 2005
>Closed-Date:
>Last-Modified:
>Originator: Vamsi Krishna Kundeti
>Release: 6.1
>Organization:
>Environment:
Linux SUSE-9.0
>Description:
Hello All,
I'am trying to examine a for changes to a structure at a some virtual address( ex 0x2a9794c570 ) on a 64-bit platform on a linux kernel 2.6.5-7-smp.
Since I remembered the virtual address of this global structure I to set a watchpoint on a content of this structure ex
The structure (kkt)is {time=0, nextTime=90007 ....}
now I want to watch nextTime so I set a watchpoint like this
watch *((kkt *)0x2a9794c570).nextTime
from then onwards giving any command to gdb says Junk after the end of expression
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: