avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Debugging .s source


From: Olaf Zenker
Subject: Re: [avr-gcc-list] Debugging .s source
Date: Tue, 18 Mar 2003 23:19:08 +0100 (MET)

> I want to debug my program that contains .s assembler source
> code, but in AVRStudio 3.56 I cannot trace into that file.
> Are there any solutions (another debugger or something) ?

you have to make a construct like the following in order that the
assembler/linker passes the debug information

.func functionname
functionname: .global functionname
    assemblerinstruction
    assemblerinstruction
    assemblerinstruction
    ret
.endfunc

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]