public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* can't run arm-elf-gdb in Cygwin
@ 2003-02-06 10:45 David Jea
  2003-02-06 11:25 ` Marcel Telka
  2003-02-06 18:35 ` can't run arm-elf-gdb in cygwin Christopher Faylor
  0 siblings, 2 replies; 3+ messages in thread
From: David Jea @ 2003-02-06 10:45 UTC (permalink / raw)
  To: gdb, cygwin

[-- Attachment #1: Type: text/plain, Size: 1178 bytes --]

Hi,

I try to run arm-elf-gdb on Cygwin/WindowsXP, so I can connect
evaluation board (ATMEL EB40) through a serial link.

However, I met an error while launching gdb:

GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are 
welcome to change it and/or distribute copies of it under certain 
conditions. Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details. 
This GDB was configured as "--host=i686-pc-cygwin 
--target=arm-elf".Segmentation fault (core dumped)

(p.s. attachment is the dump file)

I tried several version of gdb include gdb-5.0, gdb-5.2.1, gdb-5.3.
But the result are all the same.

Other GNU tools version (those I rebuilded for ARM):
binutils-2.11.2
gcc-2.95.3
newlib-1.9.0


I also used insight try to debug "arm-elf-gdb",
the error seems generated from Line 934 of utils.c

Would you please help me with this problem, thank you.

David Jea





_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

[-- Attachment #2: arm-elf-gdb.exe.stackdump --]
[-- Type: text/plain, Size: 320 bytes --]

Exception: STATUS_ACCESS_VIOLATION at eip=00000000
eax=6107DC0E ebx=00000001 ecx=00000000 edx=00000000 esi=0A0562A8 
edi=0022FAA0
ebp=0022E578 esp=0022E55C 
program=C:\cygwin\home\dcjea\install\bin\arm-elf-gdb.exe
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame     Function  Args
End of stack trace


[-- Attachment #3: Type: text/plain, Size: 214 bytes --]

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* Re: can't run arm-elf-gdb in Cygwin
  2003-02-06 10:45 can't run arm-elf-gdb in Cygwin David Jea
@ 2003-02-06 11:25 ` Marcel Telka
  2003-02-06 18:35 ` can't run arm-elf-gdb in cygwin Christopher Faylor
  1 sibling, 0 replies; 3+ messages in thread
From: Marcel Telka @ 2003-02-06 11:25 UTC (permalink / raw)
  To: cygwin

On Thu, Feb 06, 2003 at 03:45:24AM -0700, David Jea wrote:
> Hi,
> 
> I try to run arm-elf-gdb on Cygwin/WindowsXP, so I can connect
> evaluation board (ATMEL EB40) through a serial link.
> 
> However, I met an error while launching gdb:
> 
> GNU gdb 5.0
> Copyright 2000 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you 
> are welcome to change it and/or distribute copies of it under certain 
> conditions. Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details. 
> This GDB was configured as "--host=i686-pc-cygwin 
> --target=arm-elf".Segmentation fault (core dumped)

I've similar experience with my arm-elf-gdb 5.3.
But `strace arm-elf-gdb` do not segfault. Strange.

cygwin-1.3.19-1


Regards.

-- 
+-------------------------------------------+
| Marcel Telka   e-mail:   marcel@telka.sk  |
|                homepage: http://telka.sk/ |
|                jabber:   marcel@jabber.sk |
+-------------------------------------------+

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* Re: can't run arm-elf-gdb in cygwin
  2003-02-06 10:45 can't run arm-elf-gdb in Cygwin David Jea
  2003-02-06 11:25 ` Marcel Telka
@ 2003-02-06 18:35 ` Christopher Faylor
  1 sibling, 0 replies; 3+ messages in thread
From: Christopher Faylor @ 2003-02-06 18:35 UTC (permalink / raw)
  To: gdb, cygwin

On Thu, Feb 06, 2003 at 03:45:24AM -0700, David Jea wrote:
>I try to run arm-elf-gdb on Cygwin/WindowsXP, so I can connect
>evaluation board (ATMEL EB40) through a serial link.

I've seen this reported in three different mailing lists now.

This is a problem in newlib which was fixed by Jonathan Larmour.
The fix will be in cygwin-1.3.20.

You can download a cygwin snapshot by clicking on the snapshot
link at http://cygwin.com/ .  The most recent snapshot is close to
what will become 1.3.20.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

end of thread, other threads:[~2003-02-06 18:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-06 10:45 can't run arm-elf-gdb in Cygwin David Jea
2003-02-06 11:25 ` Marcel Telka
2003-02-06 18:35 ` can't run arm-elf-gdb in cygwin Christopher Faylor

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).