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]
Other format: [Raw text]

Re: GDB remote debug print out


Hi,

I did some remote debugging project, everything looks fine execpt the
weird char send from device. I set debug serial to 0, but it didn't help.

You mean all the \x00, \xff, \x11, and \aa's in:


w +$z0,ee4b8,4#ce
r \xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x
00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x
00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x
00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x
00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x
11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\x
ff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\x
aa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x
00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x
00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x
00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x
00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x
11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\x
ff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\x
aa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x
00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x
00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x
00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x
00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x
11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\x
ff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\x
aa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x
00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x
00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x
00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x
00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x
11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x10\x1a\x00\x00\x00\xaa\x
ff\x11\x11\x00\x00\x00\xaa+<903e5b00>$OK#9a


I attached the result from the gdb. Is that the printf output from the
target?

I don't think so (although I'm puzzled by "<903e5b00>" it looks more like a serial comm's problem and appears to be a repeating sequence (what I've no idea). Try things like connecting to the serial device using kermit or similar.


Andrew

Thanks .

Lan Zhang


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