This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Watchpoint problem in GDB stub
- From: Jonathan Larmour <jlarmour at redhat dot com>
- To: "N.Suresh" <nsuresh at cdotb dot ernet dot in>
- Cc: ecos-discuss at sourceware dot cygnus dot com, bshiva at cdotb dot ernet dot in,rprakash at cdotb dot ernet dot in
- Date: Wed, 27 Feb 2002 23:02:17 +0000
- Subject: Re: [ECOS] Watchpoint problem in GDB stub
- Organization: Red Hat UK Ltd.
- References: <3C7B78D4.C331F498@cdotb.ernet.in>
"N.Suresh" wrote:
> (gdb) c
> Continuing.
> Watchpoint 2 deleted because the program has left the block in
> which its expression is valid.
> 0x105fa4 in vfnprintf (stream=0x11110010, n=286326799,
> format=0x112e28 "J is changed\n", arg=0x112e28)
> at
> /export/home1/nsuresh/ecos-sync/itel/modules/ecos2001/packages/language/c/libc/stdio/current/src/output/
>
> vfnprintf.cxx:147
> 147 {
> </cut>
>
> After this program continues to work and prints "J is changed" 10 times?
>
> Any idea what's happening?
This is more likely to be a GDB issue. Since this is software watchpoints
you should remember that GDB will implement this by single stepping. It may
even be deliberate that it stops when calling a different function. Ask on
gdb@sources.redhat.com
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss