public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] debuggiing with GDB
@ 2003-12-19 13:32 Vinay.S
  2003-12-22  8:53 ` Eric de Jong
  0 siblings, 1 reply; 2+ messages in thread
From: Vinay.S @ 2003-12-19 13:32 UTC (permalink / raw)
  To: Ecos-Discuss

hi
I am using atmel eb40A variant, i want to debug the code running on ram
using GDB.I connect to target and load the elf file,and set the break point
at some valid point, it says symbol table not loaded.
	therefore, i load the file using the command file z.elf(target file). now i
am able to set the breakpoint.and when i say continue,it never stops at the
breakpoint.
	Can u guys please help me out!I am able to connect to simulator for same
code.But i want to connect to remote target,running redboot, with gdb
enabled.
regards,
Vinay.S


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] debuggiing with GDB
  2003-12-19 13:32 [ECOS] debuggiing with GDB Vinay.S
@ 2003-12-22  8:53 ` Eric de Jong
  0 siblings, 0 replies; 2+ messages in thread
From: Eric de Jong @ 2003-12-22  8:53 UTC (permalink / raw)
  To: Ecos-Discuss

Are you sure your program does not overwrite redboot/gdb?
Connect a terminal first in stead of gdb to your target board, and see what
portion of ram is free for your program. Then load your program in gdb and check
if all sections stay inside your free ram.
(you might do a "objdump -h" for your .elf file)

----- Original Message -----
From: "Vinay.S" <vinay@hunolabs.com>
To: "Ecos-Discuss" <ecos-discuss@sources.redhat.com>
Sent: Friday, December 19, 2003 9:30 AM
Subject: [ECOS] debuggiing with GDB


hi
I am using atmel eb40A variant, i want to debug the code running on ram
using GDB.I connect to target and load the elf file,and set the break point
at some valid point, it says symbol table not loaded.
therefore, i load the file using the command file z.elf(target file). now i
am able to set the breakpoint.and when i say continue,it never stops at the
breakpoint.
Can u guys please help me out!I am able to connect to simulator for same
code.But i want to connect to remote target,running redboot, with gdb
enabled.
regards,
Vinay.S


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



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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-12-22  7:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-19 13:32 [ECOS] debuggiing with GDB Vinay.S
2003-12-22  8:53 ` Eric de Jong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).