This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Watchpoint problem in GDB stub


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]