Arm Community
Site
Search
User
Site
Search
User
Groups
Education Hub
Distinguished Ambassadors
Open Source Software and Platforms
Research Collaboration and Enablement
Forums
AI and ML forum
Architectures and Processors forum
Arm Development Platforms forum
Arm Development Studio forum
Arm Virtual Hardware forum
Automotive forum
Compilers and Libraries forum
Graphics, Gaming, and VR forum
High Performance Computing (HPC) forum
Infrastructure Solutions forum
Internet of Things (IoT) forum
Keil forum
Morello forum
Operating Systems forum
SoC Design and Simulation forum
SystemReady Forum
Blogs
AI and ML blog
Announcements
Architectures and Processors blog
Automotive blog
Graphics, Gaming, and VR blog
High Performance Computing (HPC) blog
Infrastructure Solutions blog
Internet of Things (IoT) blog
Operating Systems blog
SoC Design and Simulation blog
Tools, Software and IDEs blog
Support
Arm Support Services
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Support forums
Arm Development Studio forum
Setting an entry point
Jump...
Cancel
Locked
Locked
Replies
3 replies
Subscribers
118 subscribers
Views
5170 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
Setting an entry point
Mark Griffiths
over 10 years ago
Note: This was originally posted on 23rd May 2013 at
http://forums.arm.com
Hello,
Finally I managed to build a static library and I have a xyz.a file and some xyzs.o files. The entry point is xyz_init and I put this as so in the debugger, however on loading I get this:
WARNING(CMD399-COR168):
! Failed to start the target
! No function named "xyz_init" could be found
WARNING(CMD407): Trying the entry point instead
ERROR(CMD426): Cannot find symbol to start or entrypoint, the file or load commands may be used to set the entrypoint
How can I make the debugger see my entry point? Also, how do I load up some symbol files?
Thanks.
Parents
Scott Douglass
over 10 years ago
Note: This was originally posted on 24th May 2013 at
http://forums.arm.com
How can I make the debugger see my entry point? Also, how do I load up some symbol files?
There are a few of things that could be preventing the debugger from seeing the xyz_init symbol:
- you might not be loading the image's symbols
[size=2]- the image might not have symbols in it: check the build commands and/or look at the image symbol table by opening it with the ELF Content Editor[/size]
- the linker might have pulled in the code from the library that you think it did: produce a linker map/symbol file and/or use the ELF Content Editor
It's strange that the debugger seems to think that your image has no entry point. What is you link command? What is the earlier output in the Commands view?
You can load symbol files in at least three ways:
- in the debug configuration, Files pane: check Load Symbols on the image you are downloading (if any)
http://infocenter.ar...9980637970.html
- in the same pane lower down: add a Load Symbols from File entry
- in the Commands view (or Debugger pane of the debug config): manually use an add-symbol-file (etc.) command
Cancel
Up
0
Down
Cancel
Reply
Scott Douglass
over 10 years ago
Note: This was originally posted on 24th May 2013 at
http://forums.arm.com
How can I make the debugger see my entry point? Also, how do I load up some symbol files?
There are a few of things that could be preventing the debugger from seeing the xyz_init symbol:
- you might not be loading the image's symbols
[size=2]- the image might not have symbols in it: check the build commands and/or look at the image symbol table by opening it with the ELF Content Editor[/size]
- the linker might have pulled in the code from the library that you think it did: produce a linker map/symbol file and/or use the ELF Content Editor
It's strange that the debugger seems to think that your image has no entry point. What is you link command? What is the earlier output in the Commands view?
You can load symbol files in at least three ways:
- in the debug configuration, Files pane: check Load Symbols on the image you are downloading (if any)
http://infocenter.ar...9980637970.html
- in the same pane lower down: add a Load Symbols from File entry
- in the Commands view (or Debugger pane of the debug config): manually use an add-symbol-file (etc.) command
Cancel
Up
0
Down
Cancel
Children
No data