This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


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

Re: Angel and Insight


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


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