This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: assembler options


On Sat, 2002-09-14 at 08:44, Vinayak P Risbud wrote:
>     Hi,
>         I have compiled the redboot for ARM9 target.
>         I am getting, the debugging information for .c files.
>         But, gdb debugger is giving an error for .S (assembly)
>         file.  The error is, "No debugging information is found"
> 
>         How to add debugging information to assembly files

First of all, this doesn't make a lot of sense.  The sort of
debugging information generated for .c files is very high level
stuff and that just doesn't exist in the .S files.

If you really wanted to do something, you could add the appropriate
debug lines (.stabs or whatever form they take for the platform).
However, this would have to be done manually and would be a tedious
exercise for little gain.

-- 
------------------------------------------------------------
Gary Thomas                  |
eCosCentric, Ltd.            |  
+1 (970) 229-1963            |  eCos & RedBoot experts
gthomas@ecoscentric.com      |
http://www.ecoscentric.com/  |
------------------------------------------------------------


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]