This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: GDB -w 'vanishes'
- From: Dave Johnson <wickwack2003 at yahoo dot com>
- To: Gary Thomas <gary at mlbassoc dot com>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Thu, 10 Feb 2005 07:04:38 -0800 (PST)
- Subject: Re: [ECOS] GDB -w 'vanishes'
Are any other visual debuggers compatible besides 'gdb -w'?
Also, is it possible to debug a ROM built application?
Thanks,
Dave
--- Gary Thomas <gary@mlbassoc.com> wrote:
> On Wed, 2005-02-09 at 14:10 -0800, Dave Johnson wrote:
> > When I use the arm-elf-gdb -w from the prompt, it frequently
> > disappears. I get stackdumps like this:
> >
> > Exception: STATUS_ACCESS_VIOLATION at eip=663173B7
> > eax=6961746E ebx=00000000 ecx=77D494B0 edx=00000002 esi=0022E8F0
> > edi=0022E964
> > ebp=0022E8FC esp=0022E8D0
> > program=C:\cygwin\opt\ecos\gnutools\arm-elf\bin\arm-elf-gdb.exe,
> pid
> > 2740, thread main
> > cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
> > Stack trace:
> > Frame Function Args
> > 0022E8FC 663173B7 (002E088C, 0000001C, 00000000, 00000EE0)
> > 0022E928 77D48709 (6631DF80, 002E088C, 0000001C, 00000000)
> > 0022E990 77D487EB (00000000, 6631DF80, 002E088C, 0000001C)
> > 0022E9E4 77D4B368 (009ABF70, 0000001C, 00000000, 00000EE0)
> > 0022EA0C 77D4B3B4 (0022EA1C, 00000018, 009ABF70, 0000001C)
> > 0022EA5C 7C90EAE3 (0022EAB0, 00000000, 00000000, 00000000)
> > 0022EA88 77D4CFF8 (0022EAB0, 00000000, 00000000, 00000000)
> > 0022EAE8 66071CA7 (00000000, FFFFFFFD, 00000001, 00000000)
> > 0022EB18 66050496 (00000000, 0022EC80, 0022EB38, 00401122)
> > 0022EB28 6635826B (0022EDE0, 0022EDA0, 0022EB48, 00420971)
> > 0022EB38 00401122 (00000000, 0022EDA0, 0022EC78, 004207E0)
> > 0022EB48 00420971 (0A0703A8, 0022ECB0, 0022EC54, 61791474)
> > 0022EC78 004207E0 (00420960, 0A0703A8, 0022ECB0, 0022ECAC)
> > 0022ECB8 004209CA (004010D0, 00000000, 00401242, 00000006)
> > 0022EDF8 00402174 (0022EFB8, 61005CB8, 0022EF38, 004207E0)
> > 0022EE08 00420971 (006123F0, 0022EF70, 0022EF14, 00000010)
> > End of stack trace (more stack frames may be present)
> >
> > I tried to use gdb without the gui, but I could not find a
> tcp-remote
> > target and instructions on how to upload the application to redboot
> > (which is running on an ARM). Is there a way to do this from the
> > prompt? Also, is it possible to do this from within DDD or GVD?
>
> (gdb) target remote <RedBoot_IP>:9000
> (gdb) load
> ... set your breakpoints, etc. here
> (gdb) continue
>
> --
> ------------------------------------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------------------------------------
>
>
> --
> Before posting, please read the FAQ:
> http://ecos.sourceware.org/fom/ecos
> and search the list archive:
> http://ecos.sourceware.org/ml/ecos-discuss
>
>
__________________________________________________
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