Where is the semihosting library source?

Asked by John S. Kallal

Where is the source for the semi-hosting support?

I wish to understand host the semi-hosting works under this tool-set by looking such source code.
From the included "readme.txt" file, the rdimon library file seem to provide the semi-hosting support.

However, I can not find any rdimon source code file within downloaded source file
"gcc-arm-none-eabi-4_6-2012q2-20120614-src.tar.bz2" or find the rdimon source at the ARM website or searching with Google. If the rdimon library source works is within the source tar file, then the source for the library's seem
to have some strange naming.

Question information

Language:
English Edit question
Status:
Answered
For:
GNU Arm Embedded Toolchain Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
chengbin (can-finner) said :
#1

Hi,
Semihosting is a mechanism for ARM target to communicate input/output requests from application code to a host computer running a debugger. There is no standalone semihosting source code and we say : whether a library support semihosting mechanism or not.

The rdimon library (librdimon.a) is actually built from newlib(libgloss), you can find it in directory "newlib/libgloss/arm/" in newlib package after extracting "gcc-arm-none-eabi-4_6-2012q2-20120614-src.tar.bz2".

As for the name, I think it stands for "Remote Debug Interface".

You can also refer to documents on newlib/semihosting for more information.

Hoping this help.

Can you help with this problem?

Provide an answer of your own, or ask John S. Kallal for more information if necessary.

To post a message you must log in.