User forums > Embedded development

how to support scanf of semihosting in the codeblocks?

(1/1)

mmkider:
In the codeblocks, printf of semihosting can be print to debugger(Debug) window.
I try to use  " send user command to debugger " to send some input into gdb.
But it's not success.

How to do this?
thank you.

ollydbg:
Not fully understand.

What does "semihosting" means?

mmkider:

--- Quote from: ollydbg on June 19, 2009, 08:16:34 am ---Not fully understand.

What does "semihosting" means?

--- End quote ---

In the embedded development, codeblocks use remote gdb protocol to debug program in the arm board.
If user enable semihosting control, he can get printf and scanf capability.
Now I can get print message via semihosting control, but I don't have any idea to use scanf.


ollydbg:
Oh, Thanks for explanation. But I'm totally new to "remote debug". :(

Maybe, you can dig into the debuggergdb plugin source, and locate the reason. :D

Navigation

[0] Message Index

Go to full version