From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Edwards To: Igor Trevisan Cc: gdb@sourceware.cygnus.com Subject: Re: Angel and Insight Date: Wed, 21 Mar 2001 15:59:00 -0000 Message-id: <20010305081400.A3663@visi.com> References: <3AA36933.5464.643998@localhost> <20010305080518.A3570@visi.com> X-SW-Source: 2001-03/msg00015.html On Mon, Mar 05, 2001 at 08:05:18AM -0600, Grant Edwards wrote: > > > I forward you the message I received from "Insight" support > > regarding a problem I have with gdb and Angel (ARM monitor). I > > also attach the log file I obtained running my simple test > > program (it's just something similar to the typical "Hello > > World!") hoping this can help you to solve my problem. > > It looks like the following lines show the data from the > printf()s being sent to gdb: > > R=80000069 H<-T CI_CLIB: CL_Write 40608010 0000000d 0000000d 61202932 2c30313d 333d6220 ffffff0a > R=80000069 H<-T CI_CLIB: CL_Write 40608010 00000001 00000001 6120290a > R=80000069 H<-T CI_CLIB: CL_Write 40608010 0000000d 0000000d 61202931 2c30313d 333d6220 0000000a > R=80000069 H<-T CI_CLIB: CL_Write 40608010 00000001 00000001 6120290a > > It looks like the rdi target code isn't passing "stdout" data > up to the next layer up... The rdi code (hsys.c line 490 or so) doesn't pass data up to gdb, it actually writes it to the requested file descriptor. Are you sure that the message you wrote with printf() isn't getting written to stdout? It looks like it should have been. Have you tried running the program using "gdb -nw"? -- Grant Edwards grante@visi.com