newlib with debuginfo

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

newlib with debuginfo

571件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcentric on Tue Sep 27 23:56:32 MST 2011
Is the newlib c runtime available with debuginfo and source (particularly the semihosted one), so one can step through with the debugger? I know the newlib source is available, but that doesn't get it into a debuggable state on the lpcxpresso.

Thanks!
0 件の賞賛
返信
1 返信

553件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Sep 28 03:34:40 MST 2011
We don't provide source for the Redlib and Newlib C libraries with LPCXpresso, though, as you note, the sources for Newlib are freely available.

We also don't provide source for the "semihosting stubs" that sit underneath the C libraries when you configure the tools to use semihosting. However these stubs basically implement the semihosting specification as originally defined by ARM.  You can find this in the ARM Developer Suite (ADS) v1.2 Debug Target Guide, Chapter 5. Semihosting.

If you can explain what you are actually trying to achieve, then we might be able to advise more directly.  For example, if you simply want to retarget the C library to use, say, a uart as the target for printf rather than the semihosting console within the debugger then this FAQ should help:

http://support.code-red-tech.com/CodeRedWiki/UartPrintf

And more general information on the C library can be found in the other FAQs at:

http://support.code-red-tech.com/CodeRedWiki/CodeRedFAQ#CLibrary

Regards,
CodeRedSupport
0 件の賞賛
返信