This is the mail archive of the ecos-discuss@sourceware.org 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: Viewing the source code on Debugger


"-g" produce debugging information in the operating system’s native format (stabs,
COFF, XCOFF, or DWARF).
Maybe you can try change the "-g" option to a specific one like "-gstabs", "-gcoff", -gdwarf, etc.
You can refer to the GCC's user guide "3.9 Options for Debugging Your Program or GCC" for complete information about the options.



From: manu shetty <shetty_m@yahoo.com>
To: ecos-discuss@ecos.sourceware.org
Subject: [ECOS] Viewing the source code on Debugger
Date: Thu, 24 Aug 2006 20:11:16 -0700 (PDT)

Hi,
   I am developing some application on ECOS and using
the Lauterbauch [Trace32] Debugger to Debug the
application. I am using the gcc complier and while
building the ECOS kernel and application added the
Flag with "-g" option. But after downloading the
imgage through Lauterbauch I am not able to see the
source code in C. But I am able to see the function
names and assemble code.

Please let me know in order to view the source code on
Debugger what needs to be done while building the
application.

Thanks for your support.

Regards


__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

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




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


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