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


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

Re: EB40


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


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