Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » What is the difference between GDB and Cygwin GDB?
What is the difference between GDB and Cygwin GDB? [message #63435] Sun, 02 March 2003 14:25 Go to next message
Eclipse UserFriend
I am using MinGW without Cygwin. When I am trying to debug with "GDB", I get
this message:

Failed Launching CDI Debugger : No symbol "auto" in current context.

So even I do not have installed Cygwin, I tried using "Cygwin GDB" and can
debug.

Can anybody tell me what the difference of that two is and why I need to use
"Cygwin GDB" when I do not have installed Cygwin? I'm new to GNU tools (used
MSVC before) and I'm a bit confused now?!

Thanks
Markus
Re: What is the difference between GDB and Cygwin GDB? [message #63600 is a reply to message #63435] Mon, 03 March 2003 15:50 Go to previous messageGo to next message
Eclipse UserFriend
"Markus Karg" <markus.karg@gmx.net> wrote in message
news:b3tlr2$o55$1@rogue.oti.com...
| I am using MinGW without Cygwin. When I am trying to debug with "GDB", I
get
| this message:
|
| Failed Launching CDI Debugger : No symbol "auto" in current context.
|
| So even I do not have installed Cygwin, I tried using "Cygwin GDB" and can
| debug.
|
| Can anybody tell me what the difference of that two is and why I need to
use
| "Cygwin GDB" when I do not have installed Cygwin? I'm new to GNU tools
(used
| MSVC before) and I'm a bit confused now?!
|
| Thanks
| Markus
|

What version of gdb is installed wiht your MinGW installation?
The CDT uses GDB version 5.2.1 as the default. If you are using Cygwin the
default version they currently install is too old. You need gdb 5.2.1, which
should be in the gdb package dated 20020718-1

-Judy

--
Re: What is the difference between GDB and Cygwin GDB? [message #63798 is a reply to message #63435] Tue, 04 March 2003 09:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailkhod.rogers.com

You should use "Cygwin" on Windows because there are features (like
automatically loading of shared libraries etc) that are not supported.

"Markus Karg" <markus.karg@gmx.net> wrote in message
news:b3tlr2$o55$1@rogue.oti.com...
> I am using MinGW without Cygwin. When I am trying to debug with "GDB", I
get
> this message:
>
> Failed Launching CDI Debugger : No symbol "auto" in current context.
>
> So even I do not have installed Cygwin, I tried using "Cygwin GDB" and can
> debug.
>
> Can anybody tell me what the difference of that two is and why I need to
use
> "Cygwin GDB" when I do not have installed Cygwin? I'm new to GNU tools
(used
> MSVC before) and I'm a bit confused now?!
>
> Thanks
> Markus
>
>
Re: What is the difference between GDB and Cygwin GDB? [message #63889 is a reply to message #63600] Tue, 04 March 2003 16:54 Go to previous messageGo to next message
Eclipse UserFriend
I am using the latest download of MinGW, including
gdb-5.1.1-1

So I think I should lookup if there is some patch on the MinGW site to
update to GDB 5.2.1



Thanks!

Markus


"Judy N. Green" <jgreen@qnx.com> schrieb im Newsbeitrag
news:b40fb9$jm0$1@rogue.oti.com...
>
> "Markus Karg" <markus.karg@gmx.net> wrote in message
> news:b3tlr2$o55$1@rogue.oti.com...
> | I am using MinGW without Cygwin. When I am trying to debug with "GDB", I
> get
> | this message:
> |
> | Failed Launching CDI Debugger : No symbol "auto" in current context.
> |
> | So even I do not have installed Cygwin, I tried using "Cygwin GDB" and
can
> | debug.
> |
> | Can anybody tell me what the difference of that two is and why I need to
> use
> | "Cygwin GDB" when I do not have installed Cygwin? I'm new to GNU tools
> (used
> | MSVC before) and I'm a bit confused now?!
> |
> | Thanks
> | Markus
> |
>
> What version of gdb is installed wiht your MinGW installation?
> The CDT uses GDB version 5.2.1 as the default. If you are using Cygwin the
> default version they currently install is too old. You need gdb 5.2.1,
which
> should be in the gdb package dated 20020718-1
>
> -Judy
>
> --
>
Re: What is the difference between GDB and Cygwin GDB? [message #63912 is a reply to message #63798] Wed, 05 March 2003 03:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mseffar.actia.fr

Hello,

Could you tell me more about Cygwin advantages over MinGW for CDT on
Windows?

Thanks

Mikhail Khodjaiants wrote:

> You should use "Cygwin" on Windows because there are features (like
> automatically loading of shared libraries etc) that are not supported.

> "Markus Karg" <markus.karg@gmx.net> wrote in message
> news:b3tlr2$o55$1@rogue.oti.com...
> > I am using MinGW without Cygwin. When I am trying to debug with "GDB", I
> get
> > this message:
> >
> > Failed Launching CDI Debugger : No symbol "auto" in current context.
> >
> > So even I do not have installed Cygwin, I tried using "Cygwin GDB" and can
> > debug.
> >
> > Can anybody tell me what the difference of that two is and why I need to
> use
> > "Cygwin GDB" when I do not have installed Cygwin? I'm new to GNU tools
> (used
> > MSVC before) and I'm a bit confused now?!
> >
> > Thanks
> > Markus
> >
> >
Re: What is the difference between GDB and Cygwin GDB? [message #63980 is a reply to message #63912] Wed, 05 March 2003 08:17 Go to previous message
Eclipse UserFriend
Originally posted by: mikhailkhod.rogers.com

Sorry, I wasn't clear. I mean you should select "Cygwin GDB Debugger".
Otherwise CDT tries to set the "Load shared library symbols automatically'
option on/off and gdb returns the error message "No symbol "auto" in current
context." because this feature is not supported on Windows.
I don't know much about MinGW so I can't tell what is the difference between
it and Cygwin.

"m. seffar" <mseffar@actia.fr> wrote in message
news:b44co8$8gc$1@rogue.oti.com...
> Hello,
>
> Could you tell me more about Cygwin advantages over MinGW for CDT on
> Windows?
>
> Thanks
>
> Mikhail Khodjaiants wrote:
>
> > You should use "Cygwin" on Windows because there are features (like
> > automatically loading of shared libraries etc) that are not supported.
>
> > "Markus Karg" <markus.karg@gmx.net> wrote in message
> > news:b3tlr2$o55$1@rogue.oti.com...
> > > I am using MinGW without Cygwin. When I am trying to debug with "GDB",
I
> > get
> > > this message:
> > >
> > > Failed Launching CDI Debugger : No symbol "auto" in current context.
> > >
> > > So even I do not have installed Cygwin, I tried using "Cygwin GDB" and
can
> > > debug.
> > >
> > > Can anybody tell me what the difference of that two is and why I need
to
> > use
> > > "Cygwin GDB" when I do not have installed Cygwin? I'm new to GNU tools
> > (used
> > > MSVC before) and I'm a bit confused now?!
> > >
> > > Thanks
> > > Markus
> > >
> > >
>
>
>
>
>
Previous Topic:a debug problem: the source cound not be show as the file '' was not found
Next Topic:Installation issue
Goto Forum:
  


Current Time: Fri May 09 16:24:15 EDT 2025

Powered by FUDForum. Page generated in 0.05413 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top