* [ECOS] Running gdb in Cygwin @ 2009-07-10 10:50 grahamlab 2009-07-10 11:51 ` [ECOS] " John Dallaway 0 siblings, 1 reply; 6+ messages in thread From: grahamlab @ 2009-07-10 10:50 UTC (permalink / raw) To: ecos-discuss Hello I am trying to use gdb to download using cygwin When I enter the command /opt/ecos/gnutools/arm-eabi/bin/arm-eabi-gdb.exe DevBoard_install/tests/io/serial/v3_0/tests/serial3 I get returned to the command prompt straight away Why is this? Graham -- View this message in context: http://www.nabble.com/Running-gdb-in-Cygwin-tp24425231p24425231.html Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [ECOS] Re: Running gdb in Cygwin 2009-07-10 10:50 [ECOS] Running gdb in Cygwin grahamlab @ 2009-07-10 11:51 ` John Dallaway [not found] ` <436CD0336D1138448E6E3976F617A30916AA4C75@STE-HAKUNA1> 0 siblings, 1 reply; 6+ messages in thread From: John Dallaway @ 2009-07-10 11:51 UTC (permalink / raw) To: grahamlab; +Cc: ecos-discuss Hi Graham grahamlab wrote: > I am trying to use gdb to download using cygwin > When I enter the command /opt/ecos/gnutools/arm-eabi/bin/arm-eabi-gdb.exe > DevBoard_install/tests/io/serial/v3_0/tests/serial3 I get returned to the > command prompt straight away Make sure that all the Cygwin packages required for eCos are installed. Ref: http://ecos.sourceware.org/cygwin.html John Dallaway -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <436CD0336D1138448E6E3976F617A30916AA4C75@STE-HAKUNA1>]
* [ECOS] Re: Running gdb in Cygwin [not found] ` <436CD0336D1138448E6E3976F617A30916AA4C75@STE-HAKUNA1> @ 2009-07-10 15:32 ` John Dallaway 2009-07-10 15:58 ` John Dallaway 0 siblings, 1 reply; 6+ messages in thread From: John Dallaway @ 2009-07-10 15:32 UTC (permalink / raw) To: Graham Labdon; +Cc: eCos Discussion Graham Labdon wrote: > When installing Cygwin I need to add gcc package Yes, but there are several other Cygwin packages that you also need to add, as described at: http://ecos.sourceware.org/cygwin.html Cygwin-hosted GNU tools have been known to fail silently when required DLLs are not installed. John Dallaway -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss ^ permalink raw reply [flat|nested] 6+ messages in thread
* [ECOS] Re: Running gdb in Cygwin 2009-07-10 15:32 ` John Dallaway @ 2009-07-10 15:58 ` John Dallaway [not found] ` <436CD0336D1138448E6E3976F617A30916AA4C77@STE-HAKUNA1> 0 siblings, 1 reply; 6+ messages in thread From: John Dallaway @ 2009-07-10 15:58 UTC (permalink / raw) To: Graham Labdon; +Cc: eCos Discussion Graham John Dallaway wrote: > Graham Labdon wrote: > >> When installing Cygwin I need to add gcc package > > Yes, but there are several other Cygwin packages that you also need to > add, as described at: > > http://ecos.sourceware.org/cygwin.html > > Cygwin-hosted GNU tools have been known to fail silently when required > DLLs are not installed. arm-eabi-gdb.exe requires the following Cygwin DLLs: C:\cygwin\bin\cygwin1.dll C:\cygwin\bin\cygexpat-1.dll C:\cygwin\bin\cygiconv-2.dll C:\cygwin\bin\cygintl-8.dll C:\cygwin\bin\cygncurses-8.dll C:\cygwin\bin\cygz.dll So if any of these DLLs don't exist in your own Cygwin installation, that could explain the problem you are observing. If you have installed all the packages listed on the above page and still don't have all the DLLs you need, please let me know which one(s) are missing in your installation. John Dallaway -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <436CD0336D1138448E6E3976F617A30916AA4C77@STE-HAKUNA1>]
* [ECOS] Re: Running gdb in Cygwin [not found] ` <436CD0336D1138448E6E3976F617A30916AA4C77@STE-HAKUNA1> @ 2009-07-13 9:52 ` John Dallaway [not found] ` <436CD0336D1138448E6E3976F617A30916AA4C78@STE-HAKUNA1> 0 siblings, 1 reply; 6+ messages in thread From: John Dallaway @ 2009-07-13 9:52 UTC (permalink / raw) To: Graham Labdon; +Cc: eCos Discussion Hi Graham Graham Labdon wrote: > I have just done a reinstall of cywin and I included all the packages specified. > There is one missing dll - C:\cygwin\bin\cygexpat-1.dll I expect this is the problem. Try adding the Cygwin "libexpat1" package to your installation by re-running the Cygwin setup program (make no other changes). Please do let me know if this resolves the issue so I can modify the installation instructions if necessary. John Dallaway -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <436CD0336D1138448E6E3976F617A30916AA4C78@STE-HAKUNA1>]
* [ECOS] Re: Running gdb in Cygwin [not found] ` <436CD0336D1138448E6E3976F617A30916AA4C78@STE-HAKUNA1> @ 2009-07-14 11:45 ` John Dallaway 0 siblings, 0 replies; 6+ messages in thread From: John Dallaway @ 2009-07-14 11:45 UTC (permalink / raw) To: Graham Labdon; +Cc: eCos Discussion Hi Graham Graham Labdon wrote: > This did fix the problem of running gdb but now I have some other problems! Thank you for the confirmation (and independent confirmation from Bessemer). I have updated the Cygwin installation page on the eCos website. > I can successfully run the serial tests using ser_filter. Good. > However, when I try to run my own program I get an error message that says - invalid ioctl for device. > The commands I use are > arm-eabi-gdb -nw a.out > at the gdb prompt - > set remotebaud 38400 > target remote com4 Recent Cygwin uses Linux-like serial device naming. Try: (gdb) target remote /dev/ttyS3 John Dallaway -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-07-14 11:45 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2009-07-10 10:50 [ECOS] Running gdb in Cygwin grahamlab 2009-07-10 11:51 ` [ECOS] " John Dallaway [not found] ` <436CD0336D1138448E6E3976F617A30916AA4C75@STE-HAKUNA1> 2009-07-10 15:32 ` John Dallaway 2009-07-10 15:58 ` John Dallaway [not found] ` <436CD0336D1138448E6E3976F617A30916AA4C77@STE-HAKUNA1> 2009-07-13 9:52 ` John Dallaway [not found] ` <436CD0336D1138448E6E3976F617A30916AA4C78@STE-HAKUNA1> 2009-07-14 11:45 ` John Dallaway
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).