This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

debugger output on arm-elf target


	Hello all,

	I don't know if this is a common thing on all targets of the GNU
compiler... Anyway:

When I compile:

arm-elf-gcc -mthumb -mcpu=arm7tdmi -g3 -ggdb -o test.elf test.c

I can debug that application, step through assembler etc.
When I add -Ox (any optimisation (0..3)), I am only able to step over it
(a breakpoint at the start and the end of the routine, but no other
debugging info.

I compiled the arm-elf-gcc following the script on the site of William
A. Gatliff. What can I do to get debugging info even in the optimised
versions of my (for now: very dumb) program??

Kind regards,

Jan
begin:vcard 
n:Van Belle;Jan
tel;work:+32 3 4503297
x-mozilla-html:FALSE
org:Alcatel Telecom;Broadband Networking Division
version:2.1
email;internet:Jan.Van_Belle@alcatel.be
adr;quoted-printable:;;de Villermontstraat 38B=0D=0AB2550 Kontich;;;;Belgium
x-mozilla-cpt:;-6704
fn:Jan Van Belle
end:vcard

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com

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