This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: breakpoints/1901: Setting watchpoint to a virtual address leading to a crash.
- From: Daniel Jacobowitz <drow at false dot org>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 23 Mar 2005 20:38:02 -0000
- Subject: Re: breakpoints/1901: Setting watchpoint to a virtual address leading to a crash.
- Reply-to: Daniel Jacobowitz <drow at false dot org>
The following reply was made to PR breakpoints/1901; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@false.org>
To: vamsi.krishnak@gmail.com
Cc: gdb-gnats@sources.redhat.com
Subject: Re: breakpoints/1901: Setting watchpoint to a virtual address leading to a crash.
Date: Wed, 23 Mar 2005 15:31:21 -0500
On Wed, Mar 23, 2005 at 08:23:45PM -0000, vamsi.krishnak@gmail.com wrote:
> 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
Please provide a session transcript.
--
Daniel Jacobowitz
CodeSourcery, LLC