This is the mail archive of the ecos-discuss@sourceware.cygnus.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]

Re: Debugging information in *.S files


>From: Jonathan Larmour <jlarmour@redhat.co.uk>
>To: Rosimildo daSilva <rosimildo@hotmail.com>
>CC: ecos-discuss@sourceware.cygnus.com
>Subject: Re: [ECOS] Debugging information in *.S files
>Date: Wed, 17 May 2000 22:45:22 +0100
>
>Rosimildo daSilva wrote:
> >
> > Do I need to do anything special to get debugging information
> > of assembly files ( *.S ) ?
> >
> > I have checked for i386-elf toolset and mips-elf, and
> > neither one seems to generate the debug info for *.S files.
>
>Well, debug information is contained in the .s assembler files that gcc
>generates with -g if that's what you mean.
>

Jonathan,

Yes, this is exactly what I meant.
I have doubled checked one more time, and it does not work for me.

Below you have the results of compiling vectors.S:

--------------------------------------------------------------------
make[1]: Entering directory `/ecos/stubs/hal/mips/arch/v1_3_1'
mips-r3041-elf-gcc -Wp,-MD,vectors.tmp  -I/ecos/stubs/install/include 
-I/ecos/ec
os-1.3.1/packages/hal/mips/arch/v1_3_1 
-I/ecos/ecos-1.3.1/packages/hal/mips/arch
/v1_3_1/src -I/ecos/ecos-1.3.1/packages/hal/mips/arch/v1_3_1/tests -I. -EL 
-Wall
-Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g 
-O
2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc 
-fin
it-priority -c -o /ecos/stubs/install/lib/vectors.o 
/ecos/ecos-1.3.1/packages/ha
l/mips/arch/v1_3_1/src/vectors.S
-------------------------------------------------------------

bash-2.03$
bash-2.03$ cd install/lib/
bash-2.03$ ls
extras.o     libextras.a  libtarget.a  target.ld    vectors.o
bash-2.03$ mips-r3041-elf-objdump --debugging vectors.o

vectors.o:     file format elf32-littlemips

vectors.o: no recognized debugging information
bash-2.03$


Thanks, Rosimildo.



________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


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