Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

elf Symbols problem with WinAVR and/or AVRStudio

2006-01-30 by Chuck Hackett

I'm trying to rebuild the Ethernut HTTPD sample application with symbols within
Nut/Net, Nut/OS and HTTPD itself.

I've worked on it a couple of days and read all the documentation I can find.
At first I couldn't get any symbols for the Ethernut libraries but I've finally
got that worked out.

My problem now is that when I open the httpdserv.elf file (2.692 Mb) into the
AVRStudio (4.10.356) simulator (I know it won't run there, I'm just testing the
symbols) I get prompted with a "locate" dialog box trying to locate (line wrap
was done by Outlook):

"c:\ethernut-4.0.1\nutbuild\os\c:\ethernut-4.0.1\nutbuild\os\..\arch\avr\os\nuti
nit.c"

Note that this appears to be two paths concatenated together "\c:\" in the
center.  

If I cancel the "locate' boxes it acts as though there are symbols there, i.e.:
it opens the disassembler window and displays the machine code along with
symbolic labels, but where the source lines should appear it displays something
like (wrap in first line was done by Outlook):

----
C:\ethernut-4.0.1\NutBuild\os\C:\ethernut-4.0.1\nut\os\..\arch\avr\os\nutinit.c
(not found) --
280: Error: File not found

Somewhere I read (AVRFreaks?) that there may be a problem in WinAVR and/or
AVRStudio having to do with mixed "\" and "/" characters in path names (or
concatenation of path names?).  Could this have something to do with my problem?
Is there a workaround?

My Environment:
	Windows XP
	Ethernut 4.0.1
	WinAVR 20060125
	AVRStudio 4.10.356
	Ethernut2.1b target

Any help greatly appreciated.

Cheers,

Chuck Hackett
"Good judgment comes from experience, experience comes from bad judgment"
7.5" gauge Union Pacific Northern (4-8-4) 844 http://www.whitetrout.net/Chuck

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.