This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: EB40
- To: swu at zmicro dot com
- Subject: Re: EB40
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Thu, 02 Aug 2001 20:08:07 -0400
- CC: gdb at sources dot redhat dot com
- Organization: Red Hat , Inc. - Toronto
- References: <000a01c11b4a$d1f356c0$7501a8c0@maddengine>
Shaojie Wu wrote:
>
> Hi, Fernando,
>
> thank you for your reply.Yes, it is eb40 with Angel monitow on it,
> I followed the procedures of
> http://sources.redhat.com/ecos/install-windows.html
> step by step, the version I used to build gdb is insight-5.0,
> gcc 3.0 core and g++ 3.0 are used for building gcc package and
> binutils 2.10.1 for binutils package, the development tool I
> installed is arm in thumb mode.I tried both "gdb" and "gdb 5.0"
> to lunch gdb under cygwin command line. I also tried
> arm-elf-gdb, but got an error message, I was just wondering how
> it could happen. Is it because I use windows instead of linux?
> Have you ever established the connection between EB 40 and host
> pc via cerial port under windows using target rdi com1? Thanks
>
The "gdb" you've got is a "native" gdb that will debug programs that
run on the i386 architecture (your Linux or Cygwin box).
You must configure your GDB with "--target=arm-elf". Look in your
insight (GDB) source files for the gdb/README file. This is
explained in there.
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9