Hi,

I am having this same problem.

By Referring to  "Console output option" as stated below from the link
http://www.embedded.com/1999/9911/9911feat3.htm i tried to display a
message after a "stepi" command. But nothing got displayed in the GDB
console. Hope I am not doing anything wrong. Should I do anything more
to get the message displayed in the GDB console? Anyone please help out
on this. 

Console output ("O")-optional 
Example: $O48656c6c6f2c20776f726c64210a#55 

(Prints "Hello, world!\n" on the gdb console) 

This command allows a debugging stub to send a text message to the gdb
console. The text to be displayed is sent in its hex byte equivalent
('H' == 0x48) and gdb will queue successive messages until it sees a
newline ('\n', 0x0a) character. 

 

 

Regards,
Venkitakrishnan K 
Ashling Division, SFO Technologies
Mobile: +91 9746451156



 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Rejeesh S. Babu
Sent: Tuesday, July 08, 2008 2:36 PM
To: [email protected]
Subject: How tp print msgs to GDB client window from GDB Server? 

 

Hi All,

 

Is there any way to print messages to GDB console from GDB Debugger
window? I was able to do the same while using monitor commands, but not
with other commands like 'c','si' etc. Using these commands I got the
messages to the client window, but had this message, "warning: Invalid
remote reply:" with every string. Can anyone help me out?

 

Rejeesh S Babu

Network Systems and Technologies. 
Padmanabham* Technopark Campus * PIN: 695 581 * Trivandrum * Kerala *
India.

* +91 9846269580 * [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>     

 

Reply via email to