Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Debugging issues...
Debugging issues... [message #154408] Thu, 15 September 2005 18:47 Go to next message
Eclipse UserFriend
Originally posted by: jerryrodgers.comcast.net

Hi,

I am having problems being able to debug my C++ executable under Eclipse. I
was able to run/break/inspect variables etc directly under GDB and DDD. I
am a newbie to C/C++ to begin with but have been using Eclipse fror Java for
many years.

I am able to make and run the C++ program from within Eclipse (as long as I
do not have any break points set) wihtout any problems - The problem is when
I select Run - Debug and I set a break point however as soon as it stops it
ends up termintaing - all I get is this in the console. I pretty much
accepted the defaults for debugging - I selected GDB as the debugger and
have Stop at main() on startup selected.

Stopped due to shared library event
Stopped due to shared library event
Stopped due to shared library event
mi_cmd_stack_list_frames: No stack.

Also if I am quick about when I select run - debug - and then try to step I
get this error.
Eclipse Target request failed: {R,T}xThread Terminated

Any ideas where I am going wrong?

thanks,
Jerry Rodgers
Re: Debugging issues... [message #154432 is a reply to message #154408] Thu, 15 September 2005 18:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jerryrodgers.comcast.net

I wanted to include that I am using

GNU gdb Red Hat Linux (5.3.90-0.20030710.40rh)
Eclipse 3.1.0 - Build 120050627-1435
CDT 3.0.0
GCC - gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)

-Jerrry

"Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
news:dgcfl8$utd$1@news.eclipse.org...
> Hi,
>
> I am having problems being able to debug my C++ executable under Eclipse.
> I was able to run/break/inspect variables etc directly under GDB and DDD.
> I am a newbie to C/C++ to begin with but have been using Eclipse fror Java
> for many years.
>
> I am able to make and run the C++ program from within Eclipse (as long as
> I do not have any break points set) wihtout any problems - The problem is
> when I select Run - Debug and I set a break point however as soon as it
> stops it ends up termintaing - all I get is this in the console. I pretty
> much accepted the defaults for debugging - I selected GDB as the debugger
> and have Stop at main() on startup selected.
>
> Stopped due to shared library event
> Stopped due to shared library event
> Stopped due to shared library event
> mi_cmd_stack_list_frames: No stack.
>
> Also if I am quick about when I select run - debug - and then try to step
> I get this error.
> Eclipse Target request failed: {R,T}xThread Terminated
>
> Any ideas where I am going wrong?
>
> thanks,
> Jerry Rodgers
>
>
>
Re: Debugging issues... [message #154447 is a reply to message #154432] Thu, 15 September 2005 19:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

It looks like gdb is crashing. Try a newer version of gdb.
The messages you see in the gdb console reflect the internal activity and
are not "real" errors.

"Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
news:dgcfv4$vb9$1@news.eclipse.org...
>I wanted to include that I am using
>
> GNU gdb Red Hat Linux (5.3.90-0.20030710.40rh)
> Eclipse 3.1.0 - Build 120050627-1435
> CDT 3.0.0
> GCC - gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
>
> -Jerrry
>
> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
> news:dgcfl8$utd$1@news.eclipse.org...
>> Hi,
>>
>> I am having problems being able to debug my C++ executable under Eclipse.
>> I was able to run/break/inspect variables etc directly under GDB and DDD.
>> I am a newbie to C/C++ to begin with but have been using Eclipse fror
>> Java for many years.
>>
>> I am able to make and run the C++ program from within Eclipse (as long as
>> I do not have any break points set) wihtout any problems - The problem is
>> when I select Run - Debug and I set a break point however as soon as it
>> stops it ends up termintaing - all I get is this in the console. I
>> pretty much accepted the defaults for debugging - I selected GDB as the
>> debugger and have Stop at main() on startup selected.
>>
>> Stopped due to shared library event
>> Stopped due to shared library event
>> Stopped due to shared library event
>> mi_cmd_stack_list_frames: No stack.
>>
>> Also if I am quick about when I select run - debug - and then try to step
>> I get this error.
>> Eclipse Target request failed: {R,T}xThread Terminated
>>
>> Any ideas where I am going wrong?
>>
>> thanks,
>> Jerry Rodgers
>>
>>
>>
>
>
Re: Debugging issues... [message #154480 is a reply to message #154447] Thu, 15 September 2005 23:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jerryrodgers.comcast.net

Hi Mikhail,

What is the relationship between gdb and gcc? Can I upgrade to the current
version of gdb while still using the older version of gcc that my code
currently relies on? How do I upgrade gcc? Is there an rpm from redhat or do
I need to down load the current 6.3 version and use "make" to build it?

thanks for the help,
Jerry


"Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
news:dgci41$2o7$1@news.eclipse.org...
> It looks like gdb is crashing. Try a newer version of gdb.
> The messages you see in the gdb console reflect the internal activity and
> are not "real" errors.
>
> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
> news:dgcfv4$vb9$1@news.eclipse.org...
>>I wanted to include that I am using
>>
>> GNU gdb Red Hat Linux (5.3.90-0.20030710.40rh)
>> Eclipse 3.1.0 - Build 120050627-1435
>> CDT 3.0.0
>> GCC - gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
>>
>> -Jerrry
>>
>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>> news:dgcfl8$utd$1@news.eclipse.org...
>>> Hi,
>>>
>>> I am having problems being able to debug my C++ executable under
>>> Eclipse. I was able to run/break/inspect variables etc directly under
>>> GDB and DDD. I am a newbie to C/C++ to begin with but have been using
>>> Eclipse fror Java for many years.
>>>
>>> I am able to make and run the C++ program from within Eclipse (as long
>>> as I do not have any break points set) wihtout any problems - The
>>> problem is when I select Run - Debug and I set a break point however as
>>> soon as it stops it ends up termintaing - all I get is this in the
>>> console. I pretty much accepted the defaults for debugging - I selected
>>> GDB as the debugger and have Stop at main() on startup selected.
>>>
>>> Stopped due to shared library event
>>> Stopped due to shared library event
>>> Stopped due to shared library event
>>> mi_cmd_stack_list_frames: No stack.
>>>
>>> Also if I am quick about when I select run - debug - and then try to
>>> step I get this error.
>>> Eclipse Target request failed: {R,T}xThread Terminated
>>>
>>> Any ideas where I am going wrong?
>>>
>>> thanks,
>>> Jerry Rodgers
>>>
>>>
>>>
>>
>>
>
>
Re: Debugging issues... [message #154557 is a reply to message #154480] Fri, 16 September 2005 18:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

I don't think you will have problems using gdb 6.3 with your projects. You
can simply download the binary from the RedHat site.

"Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
news:dgcv4n$jd9$1@news.eclipse.org...
> Hi Mikhail,
>
> What is the relationship between gdb and gcc? Can I upgrade to the current
> version of gdb while still using the older version of gcc that my code
> currently relies on? How do I upgrade gcc? Is there an rpm from redhat or
> do I need to down load the current 6.3 version and use "make" to build it?
>
> thanks for the help,
> Jerry
>
>
> "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
> news:dgci41$2o7$1@news.eclipse.org...
>> It looks like gdb is crashing. Try a newer version of gdb.
>> The messages you see in the gdb console reflect the internal activity and
>> are not "real" errors.
>>
>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>> news:dgcfv4$vb9$1@news.eclipse.org...
>>>I wanted to include that I am using
>>>
>>> GNU gdb Red Hat Linux (5.3.90-0.20030710.40rh)
>>> Eclipse 3.1.0 - Build 120050627-1435
>>> CDT 3.0.0
>>> GCC - gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
>>>
>>> -Jerrry
>>>
>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>> news:dgcfl8$utd$1@news.eclipse.org...
>>>> Hi,
>>>>
>>>> I am having problems being able to debug my C++ executable under
>>>> Eclipse. I was able to run/break/inspect variables etc directly under
>>>> GDB and DDD. I am a newbie to C/C++ to begin with but have been using
>>>> Eclipse fror Java for many years.
>>>>
>>>> I am able to make and run the C++ program from within Eclipse (as long
>>>> as I do not have any break points set) wihtout any problems - The
>>>> problem is when I select Run - Debug and I set a break point however as
>>>> soon as it stops it ends up termintaing - all I get is this in the
>>>> console. I pretty much accepted the defaults for debugging - I
>>>> selected GDB as the debugger and have Stop at main() on startup
>>>> selected.
>>>>
>>>> Stopped due to shared library event
>>>> Stopped due to shared library event
>>>> Stopped due to shared library event
>>>> mi_cmd_stack_list_frames: No stack.
>>>>
>>>> Also if I am quick about when I select run - debug - and then try to
>>>> step I get this error.
>>>> Eclipse Target request failed: {R,T}xThread Terminated
>>>>
>>>> Any ideas where I am going wrong?
>>>>
>>>> thanks,
>>>> Jerry Rodgers
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
Re: Debugging issues... [message #154686 is a reply to message #154557] Mon, 19 September 2005 23:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jerryrodgers.comcast.net

Thanks Mikhail,

Sorry to be so slow about all this - I am new to this enviornment too. I
grabbed an RPM for redhat from centos and when I ran the --test option I got
the following errors. Does this mean that I need to uninstall what is there
now? Or issue some other switch on the rpm command or does it mean I can not
install this rpm on this machine because of this conflict?

Thnks,
Jerry

[jrodgers@jdevunix jrodgers]$ rpm -iv --test gdb-6.3.0.0-0.30.1.i386.rpm
warning: gdb-6.3.0.0-0.30.1.i386.rpm: V3 DSA signature: NOKEY, key ID
025e513b
Preparing packages for installation...
file /usr/bin/gdb from install of gdb-6.3.0.0-0.30.1 conflicts with
file from package gdb-5.
3.90-0.20030710.40
file /usr/bin/gdbserver from install of gdb-6.3.0.0-0.30.1 conflicts
with file from package
gdb-5.3.90-0.20030710.40
file /usr/share/info/annotate.info.gz from install of
gdb-6.3.0.0-0.30.1 conflicts with file
from package gdb-5.3.90-0.20030710.40
file /usr/share/info/gdb.info-1.gz from install of
gdb-6.3.0.0-0.30.1 conflicts with file fr
om package gdb-5.3.90-0.20030710.40
file /usr/share/info/gdb.info.gz from install of gdb-6.3.0.0-0.30.1
conflicts with file from
package gdb-5.3.90-0.20030710.40
file /usr/share/info/gdbint.info-1.gz from install of
gdb-6.3.0.0-0.30.1 conflicts with file
from package gdb-5.3.90-0.20030710.40
file /usr/share/info/gdbint.info.gz from install of
gdb-6.3.0.0-0.30.1 conflicts with file f
rom package gdb-5.3.90-0.20030710.40
file /usr/share/info/stabs.info-1.gz from install of
gdb-6.3.0.0-0.30.1 conflicts with file
from package gdb-5.3.90-0.20030710.40
file /usr/share/info/stabs.info.gz from install of
gdb-6.3.0.0-0.30.1 conflicts with file fr
om package gdb-5.3.90-0.20030710.40
[jrodgers@jdevunix jrodgers]$



"Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
news:dgf1p2$7o0$1@news.eclipse.org...
>I don't think you will have problems using gdb 6.3 with your projects. You
>can simply download the binary from the RedHat site.
>
> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
> news:dgcv4n$jd9$1@news.eclipse.org...
>> Hi Mikhail,
>>
>> What is the relationship between gdb and gcc? Can I upgrade to the
>> current version of gdb while still using the older version of gcc that my
>> code currently relies on? How do I upgrade gcc? Is there an rpm from
>> redhat or do I need to down load the current 6.3 version and use "make"
>> to build it?
>>
>> thanks for the help,
>> Jerry
>>
>>
>> "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
>> news:dgci41$2o7$1@news.eclipse.org...
>>> It looks like gdb is crashing. Try a newer version of gdb.
>>> The messages you see in the gdb console reflect the internal activity
>>> and are not "real" errors.
>>>
>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>> news:dgcfv4$vb9$1@news.eclipse.org...
>>>>I wanted to include that I am using
>>>>
>>>> GNU gdb Red Hat Linux (5.3.90-0.20030710.40rh)
>>>> Eclipse 3.1.0 - Build 120050627-1435
>>>> CDT 3.0.0
>>>> GCC - gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
>>>>
>>>> -Jerrry
>>>>
>>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>>> news:dgcfl8$utd$1@news.eclipse.org...
>>>>> Hi,
>>>>>
>>>>> I am having problems being able to debug my C++ executable under
>>>>> Eclipse. I was able to run/break/inspect variables etc directly under
>>>>> GDB and DDD. I am a newbie to C/C++ to begin with but have been using
>>>>> Eclipse fror Java for many years.
>>>>>
>>>>> I am able to make and run the C++ program from within Eclipse (as long
>>>>> as I do not have any break points set) wihtout any problems - The
>>>>> problem is when I select Run - Debug and I set a break point however
>>>>> as soon as it stops it ends up termintaing - all I get is this in the
>>>>> console. I pretty much accepted the defaults for debugging - I
>>>>> selected GDB as the debugger and have Stop at main() on startup
>>>>> selected.
>>>>>
>>>>> Stopped due to shared library event
>>>>> Stopped due to shared library event
>>>>> Stopped due to shared library event
>>>>> mi_cmd_stack_list_frames: No stack.
>>>>>
>>>>> Also if I am quick about when I select run - debug - and then try to
>>>>> step I get this error.
>>>>> Eclipse Target request failed: {R,T}xThread Terminated
>>>>>
>>>>> Any ideas where I am going wrong?
>>>>>
>>>>> thanks,
>>>>> Jerry Rodgers
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
Re: Debugging issues... [message #154771 is a reply to message #154686] Wed, 21 September 2005 14:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

Jerry,

I didn't use RPM to install gdb, so unfortunately I can't answer to your
question. But I believe, if you just download the zipped file and unzip it,
it would work fine.

Mikhail
"Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
news:dgnj47$tfp$1@news.eclipse.org...
> Thanks Mikhail,
>
> Sorry to be so slow about all this - I am new to this enviornment too. I
> grabbed an RPM for redhat from centos and when I ran the --test option I
> got the following errors. Does this mean that I need to uninstall what is
> there now? Or issue some other switch on the rpm command or does it mean I
> can not install this rpm on this machine because of this conflict?
>
> Thnks,
> Jerry
>
> [jrodgers@jdevunix jrodgers]$ rpm -iv --test gdb-6.3.0.0-0.30.1.i386.rpm
> warning: gdb-6.3.0.0-0.30.1.i386.rpm: V3 DSA signature: NOKEY, key ID
> 025e513b
> Preparing packages for installation...
> file /usr/bin/gdb from install of gdb-6.3.0.0-0.30.1 conflicts with
> file from package gdb-5.
> 3.90-0.20030710.40
> file /usr/bin/gdbserver from install of gdb-6.3.0.0-0.30.1
> conflicts with file from package
> gdb-5.3.90-0.20030710.40
> file /usr/share/info/annotate.info.gz from install of
> gdb-6.3.0.0-0.30.1 conflicts with file
> from package gdb-5.3.90-0.20030710.40
> file /usr/share/info/gdb.info-1.gz from install of
> gdb-6.3.0.0-0.30.1 conflicts with file fr
> om package gdb-5.3.90-0.20030710.40
> file /usr/share/info/gdb.info.gz from install of gdb-6.3.0.0-0.30.1
> conflicts with file from
> package gdb-5.3.90-0.20030710.40
> file /usr/share/info/gdbint.info-1.gz from install of
> gdb-6.3.0.0-0.30.1 conflicts with file
> from package gdb-5.3.90-0.20030710.40
> file /usr/share/info/gdbint.info.gz from install of
> gdb-6.3.0.0-0.30.1 conflicts with file f
> rom package gdb-5.3.90-0.20030710.40
> file /usr/share/info/stabs.info-1.gz from install of
> gdb-6.3.0.0-0.30.1 conflicts with file
> from package gdb-5.3.90-0.20030710.40
> file /usr/share/info/stabs.info.gz from install of
> gdb-6.3.0.0-0.30.1 conflicts with file fr
> om package gdb-5.3.90-0.20030710.40
> [jrodgers@jdevunix jrodgers]$
>
>
>
> "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
> news:dgf1p2$7o0$1@news.eclipse.org...
>>I don't think you will have problems using gdb 6.3 with your projects. You
>>can simply download the binary from the RedHat site.
>>
>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>> news:dgcv4n$jd9$1@news.eclipse.org...
>>> Hi Mikhail,
>>>
>>> What is the relationship between gdb and gcc? Can I upgrade to the
>>> current version of gdb while still using the older version of gcc that
>>> my code currently relies on? How do I upgrade gcc? Is there an rpm from
>>> redhat or do I need to down load the current 6.3 version and use "make"
>>> to build it?
>>>
>>> thanks for the help,
>>> Jerry
>>>
>>>
>>> "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
>>> news:dgci41$2o7$1@news.eclipse.org...
>>>> It looks like gdb is crashing. Try a newer version of gdb.
>>>> The messages you see in the gdb console reflect the internal activity
>>>> and are not "real" errors.
>>>>
>>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>>> news:dgcfv4$vb9$1@news.eclipse.org...
>>>>>I wanted to include that I am using
>>>>>
>>>>> GNU gdb Red Hat Linux (5.3.90-0.20030710.40rh)
>>>>> Eclipse 3.1.0 - Build 120050627-1435
>>>>> CDT 3.0.0
>>>>> GCC - gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
>>>>>
>>>>> -Jerrry
>>>>>
>>>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>>>> news:dgcfl8$utd$1@news.eclipse.org...
>>>>>> Hi,
>>>>>>
>>>>>> I am having problems being able to debug my C++ executable under
>>>>>> Eclipse. I was able to run/break/inspect variables etc directly under
>>>>>> GDB and DDD. I am a newbie to C/C++ to begin with but have been using
>>>>>> Eclipse fror Java for many years.
>>>>>>
>>>>>> I am able to make and run the C++ program from within Eclipse (as
>>>>>> long as I do not have any break points set) wihtout any problems -
>>>>>> The problem is when I select Run - Debug and I set a break point
>>>>>> however as soon as it stops it ends up termintaing - all I get is
>>>>>> this in the console. I pretty much accepted the defaults for
>>>>>> debugging - I selected GDB as the debugger and have Stop at main() on
>>>>>> startup selected.
>>>>>>
>>>>>> Stopped due to shared library event
>>>>>> Stopped due to shared library event
>>>>>> Stopped due to shared library event
>>>>>> mi_cmd_stack_list_frames: No stack.
>>>>>>
>>>>>> Also if I am quick about when I select run - debug - and then try to
>>>>>> step I get this error.
>>>>>> Eclipse Target request failed: {R,T}xThread Terminated
>>>>>>
>>>>>> Any ideas where I am going wrong?
>>>>>>
>>>>>> thanks,
>>>>>> Jerry Rodgers
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
Re: Debugging issues... [message #154803 is a reply to message #154771] Wed, 21 September 2005 17:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jerryrodgers.comcast.net

Hi,

I am at a loss - I upgraded the GDB and still no luck when I hit a break
point the program is terminated with the following error. with no break
points set the program runs fine via Eclipse - GDB and DDD all still work
for debugging. Do you have any other ideas? Thanks for all your help.

>>> Eclipse console error
Stopped due to shared library event
Stopped due to shared library event
Stopped due to shared library event
mi_cmd_stack_list_frames: No stack.
>>>>

>>> Upgraded GDB
GNU gdb Red Hat Linux (6.3.0.0-0.30.1rh)
Copyright 2004 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 "i386-redhat-linux-gnu".
(gdb)

-Jerry


"Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
news:dgrrhs$obi$1@news.eclipse.org...
> Jerry,
>
> I didn't use RPM to install gdb, so unfortunately I can't answer to your
> question. But I believe, if you just download the zipped file and unzip
> it, it would work fine.
>
> Mikhail
> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
> news:dgnj47$tfp$1@news.eclipse.org...
>> Thanks Mikhail,
>>
>> Sorry to be so slow about all this - I am new to this enviornment too. I
>> grabbed an RPM for redhat from centos and when I ran the --test option I
>> got the following errors. Does this mean that I need to uninstall what is
>> there now? Or issue some other switch on the rpm command or does it mean
>> I can not install this rpm on this machine because of this conflict?
>>
>> Thnks,
>> Jerry
>>
>> [jrodgers@jdevunix jrodgers]$ rpm -iv --test gdb-6.3.0.0-0.30.1.i386.rpm
>> warning: gdb-6.3.0.0-0.30.1.i386.rpm: V3 DSA signature: NOKEY, key ID
>> 025e513b
>> Preparing packages for installation...
>> file /usr/bin/gdb from install of gdb-6.3.0.0-0.30.1 conflicts
>> with file from package gdb-5.
>> 3.90-0.20030710.40
>> file /usr/bin/gdbserver from install of gdb-6.3.0.0-0.30.1
>> conflicts with file from package
>> gdb-5.3.90-0.20030710.40
>> file /usr/share/info/annotate.info.gz from install of
>> gdb-6.3.0.0-0.30.1 conflicts with file
>> from package gdb-5.3.90-0.20030710.40
>> file /usr/share/info/gdb.info-1.gz from install of
>> gdb-6.3.0.0-0.30.1 conflicts with file fr
>> om package gdb-5.3.90-0.20030710.40
>> file /usr/share/info/gdb.info.gz from install of
>> gdb-6.3.0.0-0.30.1 conflicts with file from
>> package gdb-5.3.90-0.20030710.40
>> file /usr/share/info/gdbint.info-1.gz from install of
>> gdb-6.3.0.0-0.30.1 conflicts with file
>> from package gdb-5.3.90-0.20030710.40
>> file /usr/share/info/gdbint.info.gz from install of
>> gdb-6.3.0.0-0.30.1 conflicts with file f
>> rom package gdb-5.3.90-0.20030710.40
>> file /usr/share/info/stabs.info-1.gz from install of
>> gdb-6.3.0.0-0.30.1 conflicts with file
>> from package gdb-5.3.90-0.20030710.40
>> file /usr/share/info/stabs.info.gz from install of
>> gdb-6.3.0.0-0.30.1 conflicts with file fr
>> om package gdb-5.3.90-0.20030710.40
>> [jrodgers@jdevunix jrodgers]$
>>
>>
>>
>> "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
>> news:dgf1p2$7o0$1@news.eclipse.org...
>>>I don't think you will have problems using gdb 6.3 with your projects.
>>>You can simply download the binary from the RedHat site.
>>>
>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>> news:dgcv4n$jd9$1@news.eclipse.org...
>>>> Hi Mikhail,
>>>>
>>>> What is the relationship between gdb and gcc? Can I upgrade to the
>>>> current version of gdb while still using the older version of gcc that
>>>> my code currently relies on? How do I upgrade gcc? Is there an rpm from
>>>> redhat or do I need to down load the current 6.3 version and use "make"
>>>> to build it?
>>>>
>>>> thanks for the help,
>>>> Jerry
>>>>
>>>>
>>>> "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
>>>> news:dgci41$2o7$1@news.eclipse.org...
>>>>> It looks like gdb is crashing. Try a newer version of gdb.
>>>>> The messages you see in the gdb console reflect the internal activity
>>>>> and are not "real" errors.
>>>>>
>>>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>>>> news:dgcfv4$vb9$1@news.eclipse.org...
>>>>>>I wanted to include that I am using
>>>>>>
>>>>>> GNU gdb Red Hat Linux (5.3.90-0.20030710.40rh)
>>>>>> Eclipse 3.1.0 - Build 120050627-1435
>>>>>> CDT 3.0.0
>>>>>> GCC - gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
>>>>>>
>>>>>> -Jerrry
>>>>>>
>>>>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>>>>> news:dgcfl8$utd$1@news.eclipse.org...
>>>>>>> Hi,
>>>>>>>
>>>>>>> I am having problems being able to debug my C++ executable under
>>>>>>> Eclipse. I was able to run/break/inspect variables etc directly
>>>>>>> under GDB and DDD. I am a newbie to C/C++ to begin with but have
>>>>>>> been using Eclipse fror Java for many years.
>>>>>>>
>>>>>>> I am able to make and run the C++ program from within Eclipse (as
>>>>>>> long as I do not have any break points set) wihtout any problems -
>>>>>>> The problem is when I select Run - Debug and I set a break point
>>>>>>> however as soon as it stops it ends up termintaing - all I get is
>>>>>>> this in the console. I pretty much accepted the defaults for
>>>>>>> debugging - I selected GDB as the debugger and have Stop at main()
>>>>>>> on startup selected.
>>>>>>>
>>>>>>> Stopped due to shared library event
>>>>>>> Stopped due to shared library event
>>>>>>> Stopped due to shared library event
>>>>>>> mi_cmd_stack_list_frames: No stack.
>>>>>>>
>>>>>>> Also if I am quick about when I select run - debug - and then try to
>>>>>>> step I get this error.
>>>>>>> Eclipse Target request failed: {R,T}xThread Terminated
>>>>>>>
>>>>>>> Any ideas where I am going wrong?
>>>>>>>
>>>>>>> thanks,
>>>>>>> Jerry Rodgers
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
Re: Debugging issues... [message #154811 is a reply to message #154803] Wed, 21 September 2005 17:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jerryrodgers.comcast.net

AHHHH - A clue.... I just happened to have the breakpoints tab selected and
was able to break and step through code - HOWEVER when I then selected the
variables tab (the whole of debugging for me from within Eclipse) I crashed
with the errors below...

Does this info help?

-Jerry


"Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
news:dgs4ic$6th$1@news.eclipse.org...
> Hi,
>
> I am at a loss - I upgraded the GDB and still no luck when I hit a break
> point the program is terminated with the following error. with no break
> points set the program runs fine via Eclipse - GDB and DDD all still work
> for debugging. Do you have any other ideas? Thanks for all your help.
>
>>>> Eclipse console error
> Stopped due to shared library event
> Stopped due to shared library event
> Stopped due to shared library event
> mi_cmd_stack_list_frames: No stack.
>>>>>
>
>>>> Upgraded GDB
> GNU gdb Red Hat Linux (6.3.0.0-0.30.1rh)
> Copyright 2004 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 "i386-redhat-linux-gnu".
> (gdb)
>
> -Jerry
>
>
> "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
> news:dgrrhs$obi$1@news.eclipse.org...
>> Jerry,
>>
>> I didn't use RPM to install gdb, so unfortunately I can't answer to your
>> question. But I believe, if you just download the zipped file and unzip
>> it, it would work fine.
>>
>> Mikhail
>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>> news:dgnj47$tfp$1@news.eclipse.org...
>>> Thanks Mikhail,
>>>
>>> Sorry to be so slow about all this - I am new to this enviornment too. I
>>> grabbed an RPM for redhat from centos and when I ran the --test option I
>>> got the following errors. Does this mean that I need to uninstall what
>>> is there now? Or issue some other switch on the rpm command or does it
>>> mean I can not install this rpm on this machine because of this
>>> conflict?
>>>
>>> Thnks,
>>> Jerry
>>>
>>> [jrodgers@jdevunix jrodgers]$ rpm -iv --test gdb-6.3.0.0-0.30.1.i386.rpm
>>> warning: gdb-6.3.0.0-0.30.1.i386.rpm: V3 DSA signature: NOKEY, key ID
>>> 025e513b
>>> Preparing packages for installation...
>>> file /usr/bin/gdb from install of gdb-6.3.0.0-0.30.1 conflicts
>>> with file from package gdb-5.
>>> 3.90-0.20030710.40
>>> file /usr/bin/gdbserver from install of gdb-6.3.0.0-0.30.1
>>> conflicts with file from package
>>> gdb-5.3.90-0.20030710.40
>>> file /usr/share/info/annotate.info.gz from install of
>>> gdb-6.3.0.0-0.30.1 conflicts with file
>>> from package gdb-5.3.90-0.20030710.40
>>> file /usr/share/info/gdb.info-1.gz from install of
>>> gdb-6.3.0.0-0.30.1 conflicts with file fr
>>> om package gdb-5.3.90-0.20030710.40
>>> file /usr/share/info/gdb.info.gz from install of
>>> gdb-6.3.0.0-0.30.1 conflicts with file from
>>> package gdb-5.3.90-0.20030710.40
>>> file /usr/share/info/gdbint.info-1.gz from install of
>>> gdb-6.3.0.0-0.30.1 conflicts with file
>>> from package gdb-5.3.90-0.20030710.40
>>> file /usr/share/info/gdbint.info.gz from install of
>>> gdb-6.3.0.0-0.30.1 conflicts with file f
>>> rom package gdb-5.3.90-0.20030710.40
>>> file /usr/share/info/stabs.info-1.gz from install of
>>> gdb-6.3.0.0-0.30.1 conflicts with file
>>> from package gdb-5.3.90-0.20030710.40
>>> file /usr/share/info/stabs.info.gz from install of
>>> gdb-6.3.0.0-0.30.1 conflicts with file fr
>>> om package gdb-5.3.90-0.20030710.40
>>> [jrodgers@jdevunix jrodgers]$
>>>
>>>
>>>
>>> "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
>>> news:dgf1p2$7o0$1@news.eclipse.org...
>>>>I don't think you will have problems using gdb 6.3 with your projects.
>>>>You can simply download the binary from the RedHat site.
>>>>
>>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>>> news:dgcv4n$jd9$1@news.eclipse.org...
>>>>> Hi Mikhail,
>>>>>
>>>>> What is the relationship between gdb and gcc? Can I upgrade to the
>>>>> current version of gdb while still using the older version of gcc that
>>>>> my code currently relies on? How do I upgrade gcc? Is there an rpm
>>>>> from redhat or do I need to down load the current 6.3 version and use
>>>>> "make" to build it?
>>>>>
>>>>> thanks for the help,
>>>>> Jerry
>>>>>
>>>>>
>>>>> "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
>>>>> news:dgci41$2o7$1@news.eclipse.org...
>>>>>> It looks like gdb is crashing. Try a newer version of gdb.
>>>>>> The messages you see in the gdb console reflect the internal activity
>>>>>> and are not "real" errors.
>>>>>>
>>>>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>>>>> news:dgcfv4$vb9$1@news.eclipse.org...
>>>>>>>I wanted to include that I am using
>>>>>>>
>>>>>>> GNU gdb Red Hat Linux (5.3.90-0.20030710.40rh)
>>>>>>> Eclipse 3.1.0 - Build 120050627-1435
>>>>>>> CDT 3.0.0
>>>>>>> GCC - gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
>>>>>>>
>>>>>>> -Jerrry
>>>>>>>
>>>>>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>>>>>> news:dgcfl8$utd$1@news.eclipse.org...
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I am having problems being able to debug my C++ executable under
>>>>>>>> Eclipse. I was able to run/break/inspect variables etc directly
>>>>>>>> under GDB and DDD. I am a newbie to C/C++ to begin with but have
>>>>>>>> been using Eclipse fror Java for many years.
>>>>>>>>
>>>>>>>> I am able to make and run the C++ program from within Eclipse (as
>>>>>>>> long as I do not have any break points set) wihtout any problems -
>>>>>>>> The problem is when I select Run - Debug and I set a break point
>>>>>>>> however as soon as it stops it ends up termintaing - all I get is
>>>>>>>> this in the console. I pretty much accepted the defaults for
>>>>>>>> debugging - I selected GDB as the debugger and have Stop at main()
>>>>>>>> on startup selected.
>>>>>>>>
>>>>>>>> Stopped due to shared library event
>>>>>>>> Stopped due to shared library event
>>>>>>>> Stopped due to shared library event
>>>>>>>> mi_cmd_stack_list_frames: No stack.
>>>>>>>>
>>>>>>>> Also if I am quick about when I select run - debug - and then try
>>>>>>>> to step I get this error.
>>>>>>>> Eclipse Target request failed: {R,T}xThread Terminated
>>>>>>>>
>>>>>>>> Any ideas where I am going wrong?
>>>>>>>>
>>>>>>>> thanks,
>>>>>>>> Jerry Rodgers
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
Re: Debugging issues... [message #154819 is a reply to message #154811] Wed, 21 September 2005 17:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

The messages below are not errors and have no relation to the problem. gdb
crashes when the CDT debugger tries to retrieve a variable-related
information.
If you want to dig deeper and find out which gdb command is causing the
problem, get the gdb trace. On how to do it see the CDT Debugger FAQ #5.

"Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
news:dgs4pc$781$1@news.eclipse.org...
> AHHHH - A clue.... I just happened to have the breakpoints tab selected
> and was able to break and step through code - HOWEVER when I then selected
> the variables tab (the whole of debugging for me from within Eclipse) I
> crashed with the errors below...
>
> Does this info help?
>
> -Jerry
>
>
> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
> news:dgs4ic$6th$1@news.eclipse.org...
>> Hi,
>>
>> I am at a loss - I upgraded the GDB and still no luck when I hit a break
>> point the program is terminated with the following error. with no break
>> points set the program runs fine via Eclipse - GDB and DDD all still work
>> for debugging. Do you have any other ideas? Thanks for all your help.
>>
>>>>> Eclipse console error
>> Stopped due to shared library event
>> Stopped due to shared library event
>> Stopped due to shared library event
>> mi_cmd_stack_list_frames: No stack.
>>>>>>
>>
>>>>> Upgraded GDB
>> GNU gdb Red Hat Linux (6.3.0.0-0.30.1rh)
>> Copyright 2004 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 "i386-redhat-linux-gnu".
>> (gdb)
>>
>> -Jerry
>>
>>
>> "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
>> news:dgrrhs$obi$1@news.eclipse.org...
>>> Jerry,
>>>
>>> I didn't use RPM to install gdb, so unfortunately I can't answer to your
>>> question. But I believe, if you just download the zipped file and unzip
>>> it, it would work fine.
>>>
>>> Mikhail
>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>> news:dgnj47$tfp$1@news.eclipse.org...
>>>> Thanks Mikhail,
>>>>
>>>> Sorry to be so slow about all this - I am new to this enviornment too.
>>>> I grabbed an RPM for redhat from centos and when I ran the --test
>>>> option I got the following errors. Does this mean that I need to
>>>> uninstall what is there now? Or issue some other switch on the rpm
>>>> command or does it mean I can not install this rpm on this machine
>>>> because of this conflict?
>>>>
>>>> Thnks,
>>>> Jerry
>>>>
>>>> [jrodgers@jdevunix jrodgers]$ rpm -iv --test
>>>> gdb-6.3.0.0-0.30.1.i386.rpm
>>>> warning: gdb-6.3.0.0-0.30.1.i386.rpm: V3 DSA signature: NOKEY, key ID
>>>> 025e513b
>>>> Preparing packages for installation...
>>>> file /usr/bin/gdb from install of gdb-6.3.0.0-0.30.1 conflicts
>>>> with file from package gdb-5.
>>>> 3.90-0.20030710.40
>>>> file /usr/bin/gdbserver from install of gdb-6.3.0.0-0.30.1
>>>> conflicts with file from package
>>>> gdb-5.3.90-0.20030710.40
>>>> file /usr/share/info/annotate.info.gz from install of
>>>> gdb-6.3.0.0-0.30.1 conflicts with file
>>>> from package gdb-5.3.90-0.20030710.40
>>>> file /usr/share/info/gdb.info-1.gz from install of
>>>> gdb-6.3.0.0-0.30.1 conflicts with file fr
>>>> om package gdb-5.3.90-0.20030710.40
>>>> file /usr/share/info/gdb.info.gz from install of
>>>> gdb-6.3.0.0-0.30.1 conflicts with file from
>>>> package gdb-5.3.90-0.20030710.40
>>>> file /usr/share/info/gdbint.info-1.gz from install of
>>>> gdb-6.3.0.0-0.30.1 conflicts with file
>>>> from package gdb-5.3.90-0.20030710.40
>>>> file /usr/share/info/gdbint.info.gz from install of
>>>> gdb-6.3.0.0-0.30.1 conflicts with file f
>>>> rom package gdb-5.3.90-0.20030710.40
>>>> file /usr/share/info/stabs.info-1.gz from install of
>>>> gdb-6.3.0.0-0.30.1 conflicts with file
>>>> from package gdb-5.3.90-0.20030710.40
>>>> file /usr/share/info/stabs.info.gz from install of
>>>> gdb-6.3.0.0-0.30.1 conflicts with file fr
>>>> om package gdb-5.3.90-0.20030710.40
>>>> [jrodgers@jdevunix jrodgers]$
>>>>
>>>>
>>>>
>>>> "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
>>>> news:dgf1p2$7o0$1@news.eclipse.org...
>>>>>I don't think you will have problems using gdb 6.3 with your projects.
>>>>>You can simply download the binary from the RedHat site.
>>>>>
>>>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>>>> news:dgcv4n$jd9$1@news.eclipse.org...
>>>>>> Hi Mikhail,
>>>>>>
>>>>>> What is the relationship between gdb and gcc? Can I upgrade to the
>>>>>> current version of gdb while still using the older version of gcc
>>>>>> that my code currently relies on? How do I upgrade gcc? Is there an
>>>>>> rpm from redhat or do I need to down load the current 6.3 version and
>>>>>> use "make" to build it?
>>>>>>
>>>>>> thanks for the help,
>>>>>> Jerry
>>>>>>
>>>>>>
>>>>>> "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
>>>>>> news:dgci41$2o7$1@news.eclipse.org...
>>>>>>> It looks like gdb is crashing. Try a newer version of gdb.
>>>>>>> The messages you see in the gdb console reflect the internal
>>>>>>> activity and are not "real" errors.
>>>>>>>
>>>>>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>>>>>> news:dgcfv4$vb9$1@news.eclipse.org...
>>>>>>>>I wanted to include that I am using
>>>>>>>>
>>>>>>>> GNU gdb Red Hat Linux (5.3.90-0.20030710.40rh)
>>>>>>>> Eclipse 3.1.0 - Build 120050627-1435
>>>>>>>> CDT 3.0.0
>>>>>>>> GCC - gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
>>>>>>>>
>>>>>>>> -Jerrry
>>>>>>>>
>>>>>>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>>>>>>> news:dgcfl8$utd$1@news.eclipse.org...
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I am having problems being able to debug my C++ executable under
>>>>>>>>> Eclipse. I was able to run/break/inspect variables etc directly
>>>>>>>>> under GDB and DDD. I am a newbie to C/C++ to begin with but have
>>>>>>>>> been using Eclipse fror Java for many years.
>>>>>>>>>
>>>>>>>>> I am able to make and run the C++ program from within Eclipse (as
>>>>>>>>> long as I do not have any break points set) wihtout any problems -
>>>>>>>>> The problem is when I select Run - Debug and I set a break point
>>>>>>>>> however as soon as it stops it ends up termintaing - all I get is
>>>>>>>>> this in the console. I pretty much accepted the defaults for
>>>>>>>>> debugging - I selected GDB as the debugger and have Stop at main()
>>>>>>>>> on startup selected.
>>>>>>>>>
>>>>>>>>> Stopped due to shared library event
>>>>>>>>> Stopped due to shared library event
>>>>>>>>> Stopped due to shared library event
>>>>>>>>> mi_cmd_stack_list_frames: No stack.
>>>>>>>>>
>>>>>>>>> Also if I am quick about when I select run - debug - and then try
>>>>>>>>> to step I get this error.
>>>>>>>>> Eclipse Target request failed: {R,T}xThread Terminated
>>>>>>>>>
>>>>>>>>> Any ideas where I am going wrong?
>>>>>>>>>
>>>>>>>>> thanks,
>>>>>>>>> Jerry Rodgers
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
Re: Debugging issues... [message #154852 is a reply to message #154819] Wed, 21 September 2005 18:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jerryrodgers.comcast.net

Hi,

Below is the LENGTHY output from the debug session. I set a break point on
the very first line within my main method - recorded that output and if you
search below for JMR you will see where the debug info stops before I
then clicked on the variables tab and caused the debugger to crash. I kinda
see what is happening but not sure what steps to take - it looks like when
the variables tab is clicked it does some sort of discovery process with gdb
and determines the type of all the variables and what their signatures are
etc and it looks like it stops on a variable this is of type CGI - I don't
really see any error though just a gdb exit... ?

Again thanks for sticking with me on this - I greatly appreciate the help.

[root@jdevunix eclipse]# ./starteclipse.sh
Start VM: /usr/local/java/jre/bin/java
-Xms40m
-Xmx256m
-jar /usr/local/eclipse/./startup.jar
-os linux
-ws gtk
-arch x86
-launcher /usr/local/eclipse/./eclipse
-name Eclipse
-showsplash 600
-exitdata 78009
-debug file:/usr/local/eclipse/.options
-vm /usr/local/java/jre/bin/java
-vmargs
-Xms40m
-Xmx256m
-jar /usr/local/eclipse/./startup.jar
Install location:
file:/usr/local/eclipse/
Configuration file:
file:/usr/local/eclipse/configuration/config.ini loaded
Configuration location:
file:/usr/local/eclipse/configuration/
Framework located:
file:/usr/local/eclipse/plugins/org.eclipse.osgi_3.1.0.jar
Framework classpath:
file:/usr/local/eclipse/plugins/org.eclipse.osgi_3.1.0.jar
Splash location:
/usr/local/eclipse/plugins/org.eclipse.platform_3.1.0/splash .bmp
runCommand:
</usr/local/eclipse/./eclipse><-name><Eclipse><-showsplash ><600>< /usr/local/eclipse/plugins/org.eclipse.platform_3.1.0/splash .bmp >
Debug options:
file:/usr/local/eclipse/.options loaded
Time to load bundles: 15
Starting application: 729
[1,127,327,219,055]
gdb --cd=/home/jrodgers/makesystem/bbs_main/cpp_cgi_apps --command=.gdbinit
-q -\
nw -tty /dev/pts/1 -i mi
/home/jrodgers/makesystem/bbs_main/cpp_cgi_apps/cgi_source/b otrevmatch
[1,127,327,219,105] 1-gdb-set confirm off
[1,127,327,219,106] 1^done
[1,127,327,219,120] (gdb)
[1,127,327,219,130] 2-gdb-set width 0
[1,127,327,219,141] 2^done
[1,127,327,219,141] (gdb)
[1,127,327,219,142] 3-gdb-set height 0
[1,127,327,219,142] 3^done
[1,127,327,219,142] (gdb)
[1,127,327,219,155] 4-interpreter-exec console echo
[1,127,327,219,157] 4^done
[1,127,327,219,169] 5-gdb-show prompt
[1,127,327,219,168] (gdb)
[1,127,327,219,181] 5^done,value="(gdb) "
[1,127,327,219,184] 6-stack-list-frames
[1,127,327,219,191] (gdb)
[1,127,327,219,204] &"mi_cmd_stack_list_frames: No stack.\n"
[1,127,327,219,205] 6^error,msg="mi_cmd_stack_list_frames: No stack."
[1,127,327,219,347] 7-gdb-set auto-solib-add on
[1,127,327,219,352] (gdb)
[1,127,327,219,376] 7^done
[1,127,327,219,376] 8-gdb-set stop-on-solib-events 0
[1,127,327,219,376] (gdb)
[1,127,327,219,384] 8^done
[1,127,327,219,384] 9-gdb-set stop-on-solib-events 1
[1,127,327,219,385] (gdb)
[1,127,327,219,392] 9^done
[1,127,327,219,572] 10-environment-cd
/home/jrodgers/makesystem/bbs_main/cpp_cgi_apps
[1,127,327,219,573] (gdb)
[1,127,327,219,573] 10^done
[1,127,327,219,729] 11-environment-directory
/home/jrodgers/makesystem/bbs_main/cpp_cgi_apps /home/j\
rodgers/makesystem/bbs_main/cpp_cgi_apps/autom4te.cache
/home/jrodgers/makesystem/bbs_main/cpp_cgi_a\
pps/cgi_source
/home/jrodgers/makesystem/bbs_main/cpp_cgi_apps/cgi_source/. deps
[1,127,327,219,734] (gdb)
[1,127,327,219,749]
11^done,source-path=" /home/jrodgers/makesystem/bbs_main/cpp_cgi_apps:/home/jrodg\
ers/makesystem/bbs_main/cpp_cgi_apps/autom4te.cache:/home/jr odgers/makesystem/bbs_main/cpp_cgi_apps/\
cgi_source:/home/jrodgers/makesystem/bbs_main/cpp_cgi_apps/c gi_source/.deps:$cdir:$cwd "
[1,127,327,219,760] 12 info threads
[1,127,327,219,769] (gdb)
[1,127,327,219,769] &"info threads\n"
[1,127,327,219,769] &"No registers.\n"
[1,127,327,219,770] 12^error,msg="No registers."
[1,127,327,219,792] 13-data-list-register-names
[1,127,327,219,809] (gdb)
[1,127,327,219,809]
13^done,register-names=["eax","ecx","edx","ebx","esp ","ebp","esi","edi","eip","e\
flags","cs","ss","ds","es","fs","gs","st0","st1 ","st2","st3","st4","st5","st6","st7","fctrl", "fstat"\
,"ftag","fiseg","fioff","foseg","fooff","fop","xmm0 ","xmm1","xmm2","xmm3","xmm4","xmm5","xmm6","xmm7\
","mxcsr","orig_eax","mm0","mm1","mm2","mm3","mm4 ","mm5","mm6","mm7"]
[1,127,327,219,836] 14-break-insert botrevmatch.cpp:18
[1,127,327,219,913] (gdb)
[1,127,327,219,915]
14^done,bkpt={number="1",type="breakpoint",disp="keep",enabled= "y",addr="0x08049\
9f9",func="main",file="botrevmatch.cpp",line="18",times= "0"}
[1,127,327,219,927] 15-break-insert -t main
[1,127,327,219,942] (gdb)
[1,127,327,219,943]
15^done,bkpt={number="2",type="breakpoint",disp="del",enabled= "y",addr="0x080499\
f9",func="main",file="botrevmatch.cpp",line="18",times= "0"}
[1,127,327,219,943] 16-exec-run
[1,127,327,219,952] (gdb)
[1,127,327,219,953] 16^running
[1,127,327,219,958] (gdb)
[1,127,327,220,082] ~"Stopped due to shared library event\n"
[1,127,327,220,119] 16*stopped,thread-id="0"
[1,127,327,220,121] 17 info program
[1,127,327,220,137] (gdb)
[1,127,327,220,138] &"info program\n"
[1,127,327,220,164] ~"\tUsing the running image of child process 6235.\n"
[1,127,327,220,165] ~"Program stopped at 0xb75f82b0.\n"
[1,127,327,220,165] ~"It stopped at a breakpoint that has since been
deleted.\n"[1,127,327,220,174] ~"Type \"info stack\" or \"info registers\"
for more information.\n"
[1,127,327,220,174] 17^done
[1,127,327,220,176] 18 info sharedlibrary
[1,127,327,220,191] (gdb)
[1,127,327,220,192] &"info sharedlibrary\n"
[1,127,327,220,192] ~"From To Syms Read Shared Object
Library\n"
[1,127,327,220,193] ~"0xb75cb9e0 0xb75d3f24 Yes
/usr/lib/libz.so.1\n"
[1,127,327,220,211] ~"0xb759f5d0 0xb75bdf30 Yes
/usr/lib/libstdc++-libc6.2-2.so.3\n"
[1,127,327,220,212] ~"0xb7568500 0xb757fdac Yes
/lib/tls/libm.so.6\n"
[1,127,327,220,221] ~"0xb7443540 0xb753f1c8 Yes
/lib/tls/libc.so.6\n"
[1,127,327,220,221] ~"0xb75ebc30 0xb75fd49f Yes
/lib/ld-linux.so.2\n"
[1,127,327,220,221] 18^done
[1,127,327,220,234] 19-exec-continue
[1,127,327,220,249] (gdb)
[1,127,327,220,249] 19^running
[1,127,327,220,263] (gdb)
[1,127,327,220,279] ~"Stopped due to shared library event\n"
[1,127,327,220,288] 19*stopped,thread-id="0"
[1,127,327,220,288] 20 info sharedlibrary
[1,127,327,220,288] (gdb)
[1,127,327,220,289] &"info sharedlibrary\n"
[1,127,327,220,289] ~"From To Syms Read Shared Object
Library\n"
[1,127,327,220,299] ~"0xb75cb9e0 0xb75d3f24 Yes
/usr/lib/libz.so.1\n"
[1,127,327,220,307] ~"0xb759f5d0 0xb75bdf30 Yes
/usr/lib/libstdc++-libc6.2-2.so.3\n"
[1,127,327,220,308] ~"0xb7568500 0xb757fdac Yes
/lib/tls/libm.so.6\n"
[1,127,327,220,308] ~"0xb7443540 0xb753f1c8 Yes
/lib/tls/libc.so.6\n"
[1,127,327,220,323] ~"0xb75ebc30 0xb75fd49f Yes
/lib/ld-linux.so.2\n"
[1,127,327,220,323] 20^done
[1,127,327,220,324] 21-exec-continue
[1,127,327,220,332] (gdb)
[1,127,327,220,332] 21^running
[1,127,327,220,341] (gdb)
[1,127,327,220,355] ~"Stopped due to shared library event\n"
[1,127,327,220,371] 21*stopped,thread-id="0"
[1,127,327,220,385] 22 info sharedlibrary
[1,127,327,220,385] (gdb)
[1,127,327,220,385] &"info sharedlibrary\n"
[1,127,327,220,386] ~"From To Syms Read Shared Object
Library\n"
[1,127,327,220,394] ~"0xb75cb9e0 0xb75d3f24 Yes
/usr/lib/libz.so.1\n"
[1,127,327,220,394] ~"0xb759f5d0 0xb75bdf30 Yes
/usr/lib/libstdc++-libc6.2-2.so.3\n"
[1,127,327,220,413] ~"0xb7568500 0xb757fdac Yes
/lib/tls/libm.so.6\n"
[1,127,327,220,414] ~"0xb7443540 0xb753f1c8 Yes
/lib/tls/libc.so.6\n"
[1,127,327,220,414] ~"0xb75ebc30 0xb75fd49f Yes
/lib/ld-linux.so.2\n"
[1,127,327,220,414] 22^done
[1,127,327,220,415] 23-exec-continue
[1,127,327,220,423] (gdb)
[1,127,327,220,424] 23^running
[1,127,327,220,431] (gdb)
[1,127,327,220,452]
23*stopped,reason="breakpoint-hit",bkptno="1",thread-id= "0",frame={addr="0x08049\
9f9",func="main",args=[],file="botrevmatch.cpp",line="18 "}
[1,127,327,220,472] 24 info threads
[1,127,327,220,484] (gdb)
[1,127,327,220,484] &"info threads\n"
[1,127,327,220,501] 24^done
[1,127,327,220,516] 25-stack-info-depth
[1,127,327,220,516] (gdb)
[1,127,327,220,517] 25^done,depth="1"
[1,127,327,220,530] 26-stack-list-frames 0 1
[1,127,327,220,530] (gdb)
[1,127,327,220,543]
26^done,stack=[frame={level="0",addr="0x080499f9",func="main ",file="botrevmatch.\
cpp",line="18"}]
[1,127,327,220,547] 27-data-list-changed-registers
[1,127,327,220,557] (gdb)
[1,127,327,220,557]
27^done,changed-registers=["0","1","2","3","4","5 ","6","7","8","9","10","11","12\
","13","15","24","26","40","41"]
[1,127,327,220,572] 28 info sharedlibrary
[1,127,327,220,583] (gdb)
[1,127,327,220,583] &"info sharedlibrary\n"
[1,127,327,220,596] ~"From To Syms Read Shared Object
Library\n"
[1,127,327,220,596] ~"0xb75cb9e0 0xb75d3f24 Yes
/usr/lib/libz.so.1\n"
[1,127,327,220,597] ~"0xb759f5d0 0xb75bdf30 Yes
/usr/lib/libstdc++-libc6.2-2.so.3\n"
[1,127,327,220,611] ~"0xb7568500 0xb757fdac Yes
/lib/tls/libm.so.6\n"
[1,127,327,220,611] ~"0xb7443540 0xb753f1c8 Yes
/lib/tls/libc.so.6\n"
[1,127,327,220,612] ~"0xb75ebc30 0xb75fd49f Yes
/lib/ld-linux.so.2\n"
[1,127,327,220,612] 28^done
[1,127,327,221,050] (gdb)

>>>>> JMR CLICKED ON VARIABLES TAB <<<<<<<<<<


[[1,127,327,266,170] 29-stack-list-arguments 0 0 0
[1,127,327,266,171] 29^done,stack-args=[frame={level="0",args=[]}]
[1,127,327,266,171] (gdb)
[1,127,327,266,172] 30-stack-list-locals 0
[1,127,327,266,189]
30^done,locals=[name="SECURITY_PASSWORD",name="CGI_KEY_LISTINGID ",name="CGI_KEY_\
DEBUG",name="listingId",name="matchedBotCommaList",name= "debug_mode",name="cgi"]
[1,127,327,266,189] (gdb)
[1,127,327,266,218] 31-var-create - * SECURITY_PASSWORD
[1,127,327,266,219] 31^done,name="var1",numchild="1",type="TString"
[1,127,327,266,219] (gdb)
[1,127,327,266,238] 32 ptype TString
[1,127,327,266,256] &"ptype TString\n"
[1,127,327,266,256] ~"type = class TString {\n"
[1,127,327,266,256] ~" private:\n"
[1,127,327,266,256] ~" unsigned char *data;\n"
[1,127,327,266,256] ~" char *work;\n"
[1,127,327,266,256] ~" int len;\n"
[1,127,327,266,256] ~" int capacity;\n"
[1,127,327,266,257] ~" bool changed;\n"
[1,127,327,266,257] ~"\n"
[1,127,327,266,257] ~" public:\n"
[1,127,327,266,257] ~" ~TString(void);\n"
[1,127,327,266,257] ~" TString(void);\n"
[1,127,327,266,257] ~" TString(TString const &);\n"
[1,127,327,266,257] ~" TString(char const *);\n"
[1,127,327,266,257] ~" bool operator==(TString const &) const;\n"
[1,127,327,266,258] ~" bool equals(TString const &) const;\n"
[1,127,327,266,258] ~" bool equalsIgnoreCase(TString const &) const;\n"
[1,127,327,266,258] ~" bool operator!=(TString const &) const;\n"
[1,127,327,266,258] ~" TString & operator=(TString const &);\n"
[1,127,327,266,258] ~" TString & operator=(char const *);\n"
[1,127,327,266,258] ~" void assign(TString const &);\n"
[1,127,327,266,258] ~" void assign(char const *);\n"
[1,127,327,266,258] ~" void assign(char const *, int);\n"
[1,127,327,266,258] ~" TString & operator+=(TString const &);\n"
[1,127,327,266,259] ~" TString & operator+=(char const *);\n"
[1,127,327,266,259] ~" TString & operator+=(char);\n"
[1,127,327,266,259] ~" void append(TString const &);\n"
[1,127,327,266,259] ~" void append(char const *);\n"
[1,127,327,266,259] ~" void append(char);\n"
[1,127,327,266,259] ~" void append(int, char const *);\n"
[1,127,327,266,259] ~" unsigned char & operator[](int) const;\n"
[1,127,327,266,259] ~" int compare(TString const &) const;\n"
[1,127,327,266,260] ~" int compareIgnoreCase(TString const &) const;\n"
[1,127,327,266,260] ~" int compare(TString const &, int, int) const;\n"
[1,127,327,266,260] ~" int compareIgnoreCase(TString const &, int, int)
const;\n"
[1,127,327,266,260] ~" int compareMiddle(TString const &, int, int)
const;\n"
[1,127,327,266,260] ~" bool containsNonPrintable(bool) const;\n"
[1,127,327,266,260] ~" bool isDigit(int) const;\n"
[1,127,327,266,260] ~" int getDigit(int) const;\n"
[1,127,327,266,260] ~" bool isLetter(int) const;\n"
[1,127,327,266,261] ~" int find(TString const &, int) const;\n"
[1,127,327,266,261] ~" int findIgnoreCase(TString const &, int) const;\n"
[1,127,327,266,261] ~" int find_first_of(TString const &, int) const;\n"
[1,127,327,266,261] ~" int find_first_not_of(TString const &, int)
const;\n"
[1,127,327,266,261] ~" int rfind(TString const &) const;\n"
[1,127,327,266,261] ~" int find_last_of(TString const &) const;\n"
[1,127,327,266,261] ~" TString substr(int) const;\n"
[1,127,327,266,261] ~" TString substr(int, int) const;\n"
[1,127,327,266,262] ~" TString substrByPosition(int, int) const;\n"
[1,127,327,266,262] ~" void insert(int, char const *);\n"
[1,127,327,266,262] ~" void insert(int, TString const &);\n"
[1,127,327,266,262] ~" void replace(int, int, TString const &);\n"
[1,127,327,266,262] ~" void erase(int, int);\n"
[1,127,327,266,262] ~" void remove(char);\n"
[1,127,327,266,262] ~" char * c_str(void) const;\n"
[1,127,327,266,262] ~" int length(void) const;\n"
[1,127,327,266,263] ~" int size(void) const;\n"
[1,127,327,266,263] ~" void reserve(int);\n"
[1,127,327,266,263] ~" void eraseAll(void);\n"
[1,127,327,266,263] ~" void toUpperCase(void);\n"
[1,127,327,266,263] ~" void toLowerCase(void);\n"
[1,127,327,266,263] ~" TString removeNonAlphaNumeric(void) const;\n"
[1,127,327,266,263] ~" TString makeDiomoSafe(void) const;\n"
[1,127,327,266,264] ~" TString removeNonAlpha(void) const;\n"
[1,127,327,266,264] ~" TString removeNonNumeric(void) const;\n"
[1,127,327,266,264] ~" TString URLEncode(bool);\n"
[1,127,327,266,264] ~" TString compact(void);\n"
[1,127,327,266,264] ~" int isEmailAddress(void);\n"
[1,127,327,266,264] ~" TString toHTML(void);\n"
[1,127,327,266,281] ~" bool endsWith(TString const &) const;\n"
[1,127,327,266,281] ~" bool startsWith(TString const &) const;\n"
[1,127,327,266,282] ~"}\n"
[1,127,327,266,282] 32^done
[1,127,327,266,282] (gdb)
[1,127,327,266,375] 33-var-create - * CGI_KEY_LISTINGID
[1,127,327,266,375] 33^done,name="var2",numchild="1",type="TString"
[1,127,327,266,376] (gdb)
[1,127,327,266,376] 34 ptype TString
[1,127,327,266,381] &"ptype TString\n"
[1,127,327,266,381] ~"type = class TString {\n"
[1,127,327,266,381] ~" private:\n"
[1,127,327,266,381] ~" unsigned char *data;\n"
[1,127,327,266,381] ~" char *work;\n"
[1,127,327,266,381] ~" int len;\n"
[1,127,327,266,381] ~" int capacity;\n"
[1,127,327,266,382] ~" bool changed;\n"
[1,127,327,266,382] ~"\n"
[1,127,327,266,382] ~" public:\n"
[1,127,327,266,382] ~" ~TString(void);\n"
[1,127,327,266,382] ~" TString(void);\n"
[1,127,327,266,382] ~" TString(TString const &);\n"
[1,127,327,266,382] ~" TString(char const *);\n"
[1,127,327,266,382] ~" bool operator==(TString const &) const;\n"
[1,127,327,266,383] ~" bool equals(TString const &) const;\n"
[1,127,327,266,383] ~" bool equalsIgnoreCase(TString const &) const;\n"
[1,127,327,266,383] ~" bool operator!=(TString const &) const;\n"
[1,127,327,266,383] ~" TString & operator=(TString const &);\n"
[1,127,327,266,383] ~" TString & operator=(char const *);\n"
[1,127,327,266,383] ~" void assign(TString const &);\n"
[1,127,327,266,383] ~" void assign(char const *);\n"
[1,127,327,266,383] ~" void assign(char const *, int);\n"
[1,127,327,266,383] ~" TString & operator+=(TString const &);\n"
[1,127,327,266,384] ~" TString & operator+=(char const *);\n"
[1,127,327,266,384] ~" TString & operator+=(char);\n"
[1,127,327,266,384] ~" void append(TString const &);\n"
[1,127,327,266,384] ~" void append(char const *);\n"
[1,127,327,266,384] ~" void append(char);\n"
[1,127,327,266,384] ~" void append(int, char const *);\n"
[1,127,327,266,384] ~" unsigned char & operator[](int) const;\n"
[1,127,327,266,384] ~" int compare(TString const &) const;\n"
[1,127,327,266,385] ~" int compareIgnoreCase(TString const &) const;\n"
[1,127,327,266,385] ~" int compare(TString const &, int, int) const;\n"
[1,127,327,266,385] ~" int compareIgnoreCase(TString const &, int, int)
const;\n"
[1,127,327,266,385] ~" int compareMiddle(TString const &, int, int)
const;\n"
[1,127,327,266,385] ~" bool containsNonPrintable(bool) const;\n"
[1,127,327,266,385] ~" bool isDigit(int) const;\n"
[1,127,327,266,385] ~" int getDigit(int) const;\n"
[1,127,327,266,386] ~" bool isLetter(int) const;\n"
[1,127,327,266,386] ~" int find(TString const &, int) const;\n"
[1,127,327,266,386] ~" int findIgnoreCase(TString const &, int) const;\n"
[1,127,327,266,386] ~" int find_first_of(TString const &, int) const;\n"
[1,127,327,266,386] ~" int find_first_not_of(TString const &, int)
const;\n"
[1,127,327,266,386] ~" int rfind(TString const &) const;\n"
[1,127,327,266,386] ~" int find_last_of(TString const &) const;\n"
[1,127,327,266,387] ~" TString substr(int) const;\n"
[1,127,327,266,387] ~" TString substr(int, int) const;\n"
[1,127,327,266,387] ~" TString substrByPosition(int, int) const;\n"
[1,127,327,266,387] ~" void insert(int, char const *);\n"
[1,127,327,266,387] ~" void insert(int, TString const &);\n"
[1,127,327,266,387] ~" void replace(int, int, TString const &);\n"
[1,127,327,266,387] ~" void erase(int, int);\n"
[1,127,327,266,387] ~" void remove(char);\n"
[1,127,327,266,388] ~" char * c_str(void) const;\n"
[1,127,327,266,388] ~" int length(void) const;\n"
[1,127,327,266,388] ~" int size(void) const;\n"
[1,127,327,266,388] ~" void reserve(int);\n"
[1,127,327,266,388] ~" void eraseAll(void);\n"
[1,127,327,266,388] ~" void toUpperCase(void);\n"
[1,127,327,266,388] ~" void toLowerCase(void);\n"
[1,127,327,266,389] ~" TString removeNonAlphaNumeric(void) const;\n"
[1,127,327,266,389] ~" TString makeDiomoSafe(void) const;\n"
[1,127,327,266,389] ~" TString removeNonAlpha(void) const;\n"
[1,127,327,266,389] ~" TString removeNonNumeric(void) const;\n"
[1,127,327,266,389] ~" TString URLEncode(bool);\n"
[1,127,327,266,389] ~" TString compact(void);\n"
[1,127,327,266,389] ~" int isEmailAddress(void);\n"
[1,127,327,266,390] ~" TString toHTML(void);\n"
[1,127,327,266,402] ~" bool endsWith(TString const &) const;\n"
[1,127,327,266,402] ~" bool startsWith(TString const &) const;\n"
[1,127,327,266,402] ~"}\n"
[1,127,327,266,403] 34^done
[1,127,327,266,403] (gdb)
[1,127,327,266,423] 35-var-create - * CGI_KEY_DEBUG
[1,127,327,266,423] 35^done,name="var3",numchild="1",type="TString"
[1,127,327,266,423] (gdb)
[1,127,327,266,426] 36 ptype TString
[1,127,327,266,429] &"ptype TString\n"
[1,127,327,266,429] ~"type = class TString {\n"
[1,127,327,266,429] ~" private:\n"
[1,127,327,266,430] ~" unsigned char *data;\n"
[1,127,327,266,430] ~" char *work;\n"
[1,127,327,266,430] ~" int len;\n"
[1,127,327,266,430] ~" int capacity;\n"
[1,127,327,266,430] ~" bool changed;\n"
[1,127,327,266,430] ~"\n"
[1,127,327,266,430] ~" public:\n"
[1,127,327,266,431] ~" ~TString(void);\n"
[1,127,327,266,431] ~" TString(void);\n"
[1,127,327,266,431] ~" TString(TString const &);\n"
[1,127,327,266,431] ~" TString(char const *);\n"
[1,127,327,266,431] ~" bool operator==(TString const &) const;\n"
[1,127,327,266,431] ~" bool equals(TString const &) const;\n"
[1,127,327,266,431] ~" bool equalsIgnoreCase(TString const &) const;\n"
[1,127,327,266,431] ~" bool operator!=(TString const &) const;\n"
[1,127,327,266,432] ~" TString & operator=(TString const &);\n"
[1,127,327,266,432] ~" TString & operator=(char const *);\n"
[1,127,327,266,432] ~" void assign(TString const &);\n"
[1,127,327,266,432] ~" void assign(char const *);\n"
[1,127,327,266,432] ~" void assign(char const *, int);\n"
[1,127,327,266,432] ~" TString & operator+=(TString const &);\n"
[1,127,327,266,432] ~" TString & operator+=(char const *);\n"
[1,127,327,266,432] ~" TString & operator+=(char);\n"
[1,127,327,266,433] ~" void append(TString const &);\n"
[1,127,327,266,433] ~" void append(char const *);\n"
[1,127,327,266,433] ~" void append(char);\n"
[1,127,327,266,433] ~" void append(int, char const *);\n"
[1,127,327,266,433] ~" unsigned char & operator[](int) const;\n"
[1,127,327,266,433] ~" int compare(TString const &) const;\n"
[1,127,327,266,433] ~" int compareIgnoreCase(TString const &) const;\n"
[1,127,327,266,433] ~" int compare(TString const &, int, int) const;\n"
[1,127,327,266,433] ~" int compareIgnoreCase(TString const &, int, int)
const;\n"
[1,127,327,266,434] ~" int compareMiddle(TString const &, int, int)
const;\n"
[1,127,327,266,434] ~" bool containsNonPrintable(bool) const;\n"
[1,127,327,266,434] ~" bool isDigit(int) const;\n"
[1,127,327,266,434] ~" int getDigit(int) const;\n"
[1,127,327,266,434] ~" bool isLetter(int) const;\n"
[1,127,327,266,434] ~" int find(TString const &, int) const;\n"
[1,127,327,266,434] ~" int findIgnoreCase(TString const &, int) const;\n"
[1,127,327,266,434] ~" int find_first_of(TString const &, int) const;\n"
[1,127,327,266,435] ~" int find_first_not_of(TString const &, int)
const;\n"
[1,127,327,266,435] ~" int rfind(TString const &) const;\n"
[1,127,327,266,435] ~" int find_last_of(TString const &) const;\n"
[1,127,327,266,436] ~" TString substr(int) const;\n"
[1,127,327,266,437] ~" TString substr(int, int) const;\n"
[1,127,327,266,437] ~" TString substrByPosition(int, int) const;\n"
[1,127,327,266,437] ~" void insert(int, char const *);\n"
[1,127,327,266,437] ~" void insert(int, TString const &);\n"
[1,127,327,266,437] ~" void replace(int, int, TString const &);\n"
[1,127,327,266,437] ~" void erase(int, int);\n"
[1,127,327,266,437] ~" void remove(char);\n"
[1,127,327,266,437] ~" char * c_str(void) const;\n"
[1,127,327,266,438] ~" int length(void) const;\n"
[1,127,327,266,438] ~" int size(void) const;\n"
[1,127,327,266,438] ~" void reserve(int);\n"
[1,127,327,266,438] ~" void eraseAll(void);\n"
[1,127,327,266,438] ~" void toUpperCase(void);\n"
[1,127,327,266,438] ~" void toLowerCase(void);\n"
[1,127,327,266,438] ~" TString removeNonAlphaNumeric(void) const;\n"
[1,127,327,266,439] ~" TString makeDiomoSafe(void) const;\n"
[1,127,327,266,439] ~" TString removeNonAlpha(void) const;\n"
[1,127,327,266,439] ~" TString removeNonNumeric(void) const;\n"
[1,127,327,266,439] ~" TString URLEncode(bool);\n"
[1,127,327,266,439] ~" TString compact(void);\n"
[1,127,327,266,439] ~" int isEmailAddress(void);\n"
[1,127,327,266,439] ~" TString toHTML(void);\n"
[1,127,327,266,440] ~" bool endsWith(TString const &) const;\n"
[1,127,327,266,440] ~" bool startsWith(TString const &) const;\n"
[1,127,327,266,440] ~"}\n"
[1,127,327,266,440] 36^done
[1,127,327,266,441] (gdb)
[1,127,327,266,460] 37-var-create - * listingId
[1,127,327,266,460] 37^done,name="var4",numchild="1",type="TString"
[1,127,327,266,461] (gdb)
[1,127,327,266,462] 38 ptype TString
[1,127,327,266,465] &"ptype TString\n"
[1,127,327,266,465] ~"type = class TString {\n"
[1,127,327,266,466] ~" private:\n"
[1,127,327,266,466] ~" unsigned char *data;\n"
[1,127,327,266,466] ~" char *work;\n"
[1,127,327,266,466] ~" int len;\n"
[1,127,327,266,466] ~" int capacity;\n"
[1,127,327,266,466] ~" bool changed;\n"
[1,127,327,266,466] ~"\n"
[1,127,327,266,466] ~" public:\n"
[1,127,327,266,466] ~" ~TString(void);\n"
[1,127,327,266,467] ~" TString(void);\n"
[1,127,327,266,467] ~" TString(TString const &);\n"
[1,127,327,266,467] ~" TString(char const *);\n"
[1,127,327,266,467] ~" bool operator==(TString const &) const;\n"
[1,127,327,266,467] ~" bool equals(TString const &) const;\n"
[1,127,327,266,467] ~" bool equalsIgnoreCase(TString const &) const;\n"
[1,127,327,266,467] ~" bool operator!=(TString const &) const;\n"
[1,127,327,266,467] ~" TString & operator=(TString const &);\n"
[1,127,327,266,467] ~" TString & operator=(char const *);\n"
[1,127,327,266,468] ~" void assign(TString const &);\n"
[1,127,327,266,468] ~" void assign(char const *);\n"
[1,127,327,266,468] ~" void assign(char const *, int);\n"
[1,127,327,266,468] ~" TString & operator+=(TString const &);\n"
[1,127,327,266,468] ~" TString & operator+=(char const *);\n"
[1,127,327,266,468] ~" TString & operator+=(char);\n"
[1,127,327,266,468] ~" void append(TString const &);\n"
[1,127,327,266,468] ~" void append(char const *);\n"
[1,127,327,266,468] ~" void append(char);\n"
[1,127,327,266,469] ~" void append(int, char const *);\n"
[1,127,327,266,469] ~" unsigned char & operator[](int) const;\n"
[1,127,327,266,469] ~" int compare(TString const &) const;\n"
[1,127,327,266,469] ~" int compareIgnoreCase(TString const &) const;\n"
[1,127,327,266,469] ~" int compare(TString const &, int, int) const;\n"
[1,127,327,266,469] ~" int compareIgnoreCase(TString const &, int, int)
const;\n"
[1,127,327,266,469] ~" int compareMiddle(TString const &, int, int)
const;\n"
[1,127,327,266,469] ~" bool containsNonPrintable(bool) const;\n"
[1,127,327,266,470] ~" bool isDigit(int) const;\n"
[1,127,327,266,470] ~" int getDigit(int) const;\n"
[1,127,327,266,470] ~" bool isLetter(int) const;\n"
[1,127,327,266,470] ~" int find(TString const &, int) const;\n"
[1,127,327,266,470] ~" int findIgnoreCase(TString const &, int) const;\n"
[1,127,327,266,470] ~" int find_first_of(TString const &, int) const;\n"
[1,127,327,266,470] ~" int find_first_not_of(TString const &, int)
const;\n"
[1,127,327,266,470] ~" int rfind(TString const &) const;\n"
[1,127,327,266,470] ~" int find_last_of(TString const &) const;\n"
[1,127,327,266,471] ~" TString substr(int) const;\n"
[1,127,327,266,471] ~" TString substr(int, int) const;\n"
[1,127,327,266,471] ~" TString substrByPosition(int, int) const;\n"
[1,127,327,266,471] ~" void insert(int, char const *);\n"
[1,127,327,266,471] ~" void insert(int, TString const &);\n"
[1,127,327,266,471] ~" void replace(int, int, TString const &);\n"
[1,127,327,266,471] ~" void erase(int, int);\n"
[1,127,327,266,471] ~" void remove(char);\n"
[1,127,327,266,472] ~" char * c_str(void) const;\n"
[1,127,327,266,472] ~" int length(void) const;\n"
[1,127,327,266,472] ~" int size(void) const;\n"
[1,127,327,266,472] ~" void reserve(int);\n"
[1,127,327,266,472] ~" void eraseAll(void);\n"
[1,127,327,266,472] ~" void toUpperCase(void);\n"
[1,127,327,266,472] ~" void toLowerCase(void);\n"
[1,127,327,266,472] ~" TString removeNonAlphaNumeric(void) const;\n"
[1,127,327,266,472] ~" TString makeDiomoSafe(void) const;\n"
[1,127,327,266,473] ~" TString removeNonAlpha(void) const;\n"
[1,127,327,266,473] ~" TString removeNonNumeric(void) const;\n"
[1,127,327,266,473] ~" TString URLEncode(bool);\n"
[1,127,327,266,473] ~" TString compact(void);\n"
[1,127,327,266,474] ~" int isEmailAddress(void);\n"
[1,127,327,266,474] ~" TString toHTML(void);\n"
[1,127,327,266,474] ~" bool endsWith(TString const &) const;\n"
[1,127,327,266,474] ~" bool startsWith(TString const &) const;\n"
[1,127,327,266,474] ~"}\n"
[1,127,327,266,474] 38^done
[1,127,327,266,475] (gdb)
[1,127,327,266,494] 39-var-create - * matchedBotCommaList
[1,127,327,266,495] 39^done,name="var5",numchild="1",type="TString"
[1,127,327,266,495] (gdb)
[1,127,327,266,495] 40 ptype TString
[1,127,327,266,498] &"ptype TString\n"
[1,127,327,266,498] ~"type = class TString {\n"
[1,127,327,266,498] ~" private:\n"
[1,127,327,266,498] ~" unsigned char *data;\n"
[1,127,327,266,499] ~" char *work;\n"
[1,127,327,266,499] ~" int len;\n"
[1,127,327,266,499] ~" int capacity;\n"
[1,127,327,266,499] ~" bool changed;\n"
[1,127,327,266,499] ~"\n"
[1,127,327,266,505] ~" public:\n"
[1,127,327,266,505] ~" ~TString(void);\n"
[1,127,327,266,505] ~" TString(void);\n"
[1,127,327,266,505] ~" TString(TString const &);\n"
[1,127,327,266,505] ~" TString(char const *);\n"
[1,127,327,266,505] ~" bool operator==(TString const &) const;\n"
[1,127,327,266,506] ~" bool equals(TString const &) const;\n"
[1,127,327,266,506] ~" bool equalsIgnoreCase(TString const &) const;\n"
[1,127,327,266,506] ~" bool operator!=(TString const &) const;\n"
[1,127,327,266,506] ~" TString & operator=(TString const &);\n"
[1,127,327,266,506] ~" TString & operator=(char const *);\n"
[1,127,327,266,506] ~" void assign(TString const &);\n"
[1,127,327,266,506] ~" void assign(char const *);\n"
[1,127,327,266,506] ~" void assign(char const *, int);\n"
[1,127,327,266,506] ~" TString & operator+=(TString const &);\n"
[1,127,327,266,507] ~" TString & operator+=(char const *);\n"
[1,127,327,266,507] ~" TString & operator+=(char);\n"
[1,127,327,266,507] ~" void append(TString const &);\n"
[1,127,327,266,507] ~" void append(char const *);\n"
[1,127,327,266,507] ~" void append(char);\n"
[1,127,327,266,507] ~" void append(int, char const *);\n"
[1,127,327,266,507] ~" unsigned char & operator[](int) const;\n"
[1,127,327,266,507] ~" int compare(TString const &) const;\n"
[1,127,327,266,507] ~" int compareIgnoreCase(TString const &) const;\n"
[1,127,327,266,508] ~" int compare(TString const &, int, int) const;\n"
[1,127,327,266,508] ~" int compareIgnoreCase(TString const &, int, int)
const;\n"
[1,127,327,266,508] ~" int compareMiddle(TString const &, int, int)
const;\n"
[1,127,327,266,508] ~" bool containsNonPrintable(bool) const;\n"
[1,127,327,266,508] ~" bool isDigit(int) const;\n"
[1,127,327,266,508] ~" int getDigit(int) const;\n"
[1,127,327,266,509] ~" bool isLetter(int) const;\n"
[1,127,327,266,509] ~" int find(TString const &, int) const;\n"
[1,127,327,266,509] ~" int findIgnoreCase(TString const &, int) const;\n"
[1,127,327,266,509] ~" int find_first_of(TString const &, int) const;\n"
[1,127,327,266,510] ~" int find_first_not_of(TString const &, int)
const;\n"
[1,127,327,266,510] ~" int rfind(TString const &) const;\n"
[1,127,327,266,510] ~" int find_last_of(TString const &) const;\n"
[1,127,327,266,510] ~" TString substr(int) const;\n"
[1,127,327,266,510] ~" TString substr(int, int) const;\n"
[1,127,327,266,510] ~" TString substrByPosition(int, int) const;\n"
[1,127,327,266,510] ~" void insert(int, char const *);\n"
[1,127,327,266,511] ~" void insert(int, TString const &);\n"
[1,127,327,266,511] ~" void replace(int, int, TString const &);\n"
[1,127,327,266,511] ~" void erase(int, int);\n"
[1,127,327,266,511] ~" void remove(char);\n"
[1,127,327,266,511] ~" char * c_str(void) const;\n"
[1,127,327,266,511] ~" int length(void) const;\n"
[1,127,327,266,511] ~" int size(void) const;\n"
[1,127,327,266,511] ~" void reserve(int);\n"
[1,127,327,266,512] ~" void eraseAll(void);\n"
[1,127,327,266,512] ~" void toUpperCase(void);\n"
[1,127,327,266,512] ~" void toLowerCase(void);\n"
[1,127,327,266,512] ~" TString removeNonAlphaNumeric(void) const;\n"
[1,127,327,266,512] ~" TString makeDiomoSafe(void) const;\n"
[1,127,327,266,512] ~" TString removeNonAlpha(void) const;\n"
[1,127,327,266,512] ~" TString removeNonNumeric(void) const;\n"
[1,127,327,266,512] ~" TString URLEncode(bool);\n"
[1,127,327,266,513] ~" TString compact(void);\n"
[1,127,327,266,513] ~" int isEmailAddress(void);\n"
[1,127,327,266,513] ~" TString toHTML(void);\n"
[1,127,327,266,513] ~" bool endsWith(TString const &) const;\n"
[1,127,327,266,513] ~" bool startsWith(TString const &) const;\n"
[1,127,327,266,513] ~"}\n"
[1,127,327,266,514] 40^done
[1,127,327,266,514] (gdb)
[1,127,327,266,534] 41-var-create - * debug_mode
[1,127,327,266,534] 41^done,name="var6",numchild="0",type="bool"
[1,127,327,266,534] (gdb)
[1,127,327,266,535] 42-var-create - * cgi
[1,127,327,266,549] 42^done,name="var7",numchild="1",type="CGI"
[1,127,327,266,550] (gdb)
[1,127,327,266,557] 43 ptype CGI
[1,127,327,266,558] &"ptype CGI\n"
[1,127,327,266,558] ~"type = class CGI {\n"
[1,127,327,266,558] ~" private:\n"
[1,127,327,266,558] ~" TPairs data;\n"
[1,127,327,266,558] ~"\n"
[1,127,327,266,558] ~" public:\n"
[1,127,327,266,559] ~" CGI & operator=(CGI const &);\n"
[1,127,327,266,559] ~" ~CGI(void);\n"
[1,127,327,266,587] 44-gdb-exit







"Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
news:dgs65k$948$1@news.eclipse.org...
> The messages below are not errors and have no relation to the problem. gdb
> crashes when the CDT debugger tries to retrieve a variable-related
> information.
> If you want to dig deeper and find out which gdb command is causing the
> problem, get the gdb trace. On how to do it see the CDT Debugger FAQ #5.
>
> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
> news:dgs4pc$781$1@news.eclipse.org...
>> AHHHH - A clue.... I just happened to have the breakpoints tab selected
>> and was able to break and step through code - HOWEVER when I then
>> selected the variables tab (the whole of debugging for me from within
>> Eclipse) I crashed with the errors below...
>>
>> Does this info help?
>>
>> -Jerry
>>
>>
>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>> news:dgs4ic$6th$1@news.eclipse.org...
>>> Hi,
>>>
>>> I am at a loss - I upgraded the GDB and still no luck when I hit a break
>>> point the program is terminated with the following error. with no break
>>> points set the program runs fine via Eclipse - GDB and DDD all still
>>> work for debugging. Do you have any other ideas? Thanks for all your
>>> help.
>>>
>>>>>> Eclipse console error
>>> Stopped due to shared library event
>>> Stopped due to shared library event
>>> Stopped due to shared library event
>>> mi_cmd_stack_list_frames: No stack.
>>>>>>>
>>>
>>>>>> Upgraded GDB
>>> GNU gdb Red Hat Linux (6.3.0.0-0.30.1rh)
>>> Copyright 2004 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 "i386-redhat-linux-gnu".
>>> (gdb)
>>>
>>> -Jerry
>>>
>>>
>>> "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
>>> news:dgrrhs$obi$1@news.eclipse.org...
>>>> Jerry,
>>>>
>>>> I didn't use RPM to install gdb, so unfortunately I can't answer to
>>>> your question. But I believe, if you just download the zipped file and
>>>> unzip it, it would work fine.
>>>>
>>>> Mikhail
>>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>>> news:dgnj47$tfp$1@news.eclipse.org...
>>>>> Thanks Mikhail,
>>>>>
>>>>> Sorry to be so slow about all this - I am new to this enviornment too.
>>>>> I grabbed an RPM for redhat from centos and when I ran the --test
>>>>> option I got the following errors. Does this mean that I need to
>>>>> uninstall what is there now? Or issue some other switch on the rpm
>>>>> command or does it mean I can not install this rpm on this machine
>>>>> because of this conflict?
>>>>>
>>>>> Thnks,
>>>>> Jerry
>>>>>
>>>>> [jrodgers@jdevunix jrodgers]$ rpm -iv --test
>>>>> gdb-6.3.0.0-0.30.1.i386.rpm
>>>>> warning: gdb-6.3.0.0-0.30.1.i386.rpm: V3 DSA signature: NOKEY, key ID
>>>>> 025e513b
>>>>> Preparing packages for installation...
>>>>> file /usr/bin/gdb from install of gdb-6.3.0.0-0.30.1 conflicts
>>>>> with file from package gdb-5.
>>>>> 3.90-0.20030710.40
>>>>> file /usr/bin/gdbserver from install of gdb-6.3.0.0-0.30.1
>>>>> conflicts with file from package
>>>>> gdb-5.3.90-0.20030710.40
>>>>> file /usr/share/info/annotate.info.gz from install of
>>>>> gdb-6.3.0.0-0.30.1 conflicts with file
>>>>> from package gdb-5.3.90-0.20030710.40
>>>>> file /usr/share/info/gdb.info-1.gz from install of
>>>>> gdb-6.3.0.0-0.30.1 conflicts with file fr
>>>>> om package gdb-5.3.90-0.20030710.40
>>>>> file /usr/share/info/gdb.info.gz from install of
>>>>> gdb-6.3.0.0-0.30.1 conflicts with file from
>>>>> package gdb-5.3.90-0.20030710.40
>>>>> file /usr/share/info/gdbint.info-1.gz from install of
>>>>> gdb-6.3.0.0-0.30.1 conflicts with file
>>>>> from package gdb-5.3.90-0.20030710.40
>>>>> file /usr/share/info/gdbint.info.gz from install of
>>>>> gdb-6.3.0.0-0.30.1 conflicts with file f
>>>>> rom package gdb-5.3.90-0.20030710.40
>>>>> file /usr/share/info/stabs.info-1.gz from install of
>>>>> gdb-6.3.0.0-0.30.1 conflicts with file
>>>>> from package gdb-5.3.90-0.20030710.40
>>>>> file /usr/share/info/stabs.info.gz from install of
>>>>> gdb-6.3.0.0-0.30.1 conflicts with file fr
>>>>> om package gdb-5.3.90-0.20030710.40
>>>>> [jrodgers@jdevunix jrodgers]$
>>>>>
>>>>>
>>>>>
>>>>> "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
>>>>> news:dgf1p2$7o0$1@news.eclipse.org...
>>>>>>I don't think you will have problems using gdb 6.3 with your projects.
>>>>>>You can simply download the binary from the RedHat site.
>>>>>>
>>>>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>>>>> news:dgcv4n$jd9$1@news.eclipse.org...
>>>>>>> Hi Mikhail,
>>>>>>>
>>>>>>> What is the relationship between gdb and gcc? Can I upgrade to the
>>>>>>> current version of gdb while still using the older version of gcc
>>>>>>> that my code currently relies on? How do I upgrade gcc? Is there an
>>>>>>> rpm from redhat or do I need to down load the current 6.3 version
>>>>>>> and use "make" to build it?
>>>>>>>
>>>>>>> thanks for the help,
>>>>>>> Jerry
>>>>>>>
>>>>>>>
>>>>>>> "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
>>>>>>> news:dgci41$2o7$1@news.eclipse.org...
>>>>>>>> It looks like gdb is crashing. Try a newer version of gdb.
>>>>>>>> The messages you see in the gdb console reflect the internal
>>>>>>>> activity and are not "real" errors.
>>>>>>>>
>>>>>>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>>>>>>> news:dgcfv4$vb9$1@news.eclipse.org...
>>>>>>>>>I wanted to include that I am using
>>>>>>>>>
>>>>>>>>> GNU gdb Red Hat Linux (5.3.90-0.20030710.40rh)
>>>>>>>>> Eclipse 3.1.0 - Build 120050627-1435
>>>>>>>>> CDT 3.0.0
>>>>>>>>> GCC - gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
>>>>>>>>>
>>>>>>>>> -Jerrry
>>>>>>>>>
>>>>>>>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>>>>>>>> news:dgcfl8$utd$1@news.eclipse.org...
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> I am having problems being able to debug my C++ executable under
>>>>>>>>>> Eclipse. I was able to run/break/inspect variables etc directly
>>>>>>>>>> under GDB and DDD. I am a newbie to C/C++ to begin with but have
>>>>>>>>>> been using Eclipse fror Java for many years.
>>>>>>>>>>
>>>>>>>>>> I am able to make and run the C++ program from within Eclipse (as
>>>>>>>>>> long as I do not have any break points set) wihtout any
>>>>>>>>>> problems - The problem is when I select Run - Debug and I set a
>>>>>>>>>> break point however as soon as it stops it ends up termintaing -
>>>>>>>>>> all I get is this in the console. I pretty much accepted the
>>>>>>>>>> defaults for debugging - I selected GDB as the debugger and have
>>>>>>>>>> Stop at main() on startup selected.
>>>>>>>>>>
>>>>>>>>>> Stopped due to shared library event
>>>>>>>>>> Stopped due to shared library event
>>>>>>>>>> Stopped due to shared library event
>>>>>>>>>> mi_cmd_stack_list_frames: No stack.
>>>>>>>>>>
>>>>>>>>>> Also if I am quick about when I select run - debug - and then try
>>>>>>>>>> to step I get this error.
>>>>>>>>>> Eclipse Target request failed: {R,T}xThread Terminated
>>>>>>>>>>
>>>>>>>>>> Any ideas where I am going wrong?
>>>>>>>>>>
>>>>>>>>>> thanks,
>>>>>>>>>> Jerry Rodgers
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
Re: Debugging issues... [message #154891 is a reply to message #154852] Wed, 21 September 2005 19:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

gdb crashes on the "ptype CGI" command. The lines
43^done
(gdb)
would indicate that ptype was completed.
Unfortunately, this is a bug in gdb and the gdb team only can fix it. We
have seen similar crashes for complex C++ classes.
The possible workaround is to uncheck the "Automatically track the values of
variables" option and enable only those variables that you want to watch. To
access this option, open the "Debugger" tab of the launch configuration
dialog and press the "Advanced" button. Hopefully, this will help.

"Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
news:dgs9j5$eb3$1@news.eclipse.org...
> Hi,
>
> Below is the LENGTHY output from the debug session. I set a break point on
> the very first line within my main method - recorded that output and if
> you search below for JMR you will see where the debug info stops
> before I then clicked on the variables tab and caused the debugger to
> crash. I kinda see what is happening but not sure what steps to take - it
> looks like when the variables tab is clicked it does some sort of
> discovery process with gdb and determines the type of all the variables
> and what their signatures are etc and it looks like it stops on a variable
> this is of type CGI - I don't really see any error though just a gdb
> exit... ?
>
> Again thanks for sticking with me on this - I greatly appreciate the help.
>
> [root@jdevunix eclipse]# ./starteclipse.sh
> Start VM: /usr/local/java/jre/bin/java
> -Xms40m
> -Xmx256m
> -jar /usr/local/eclipse/./startup.jar
> -os linux
> -ws gtk
> -arch x86
> -launcher /usr/local/eclipse/./eclipse
> -name Eclipse
> -showsplash 600
> -exitdata 78009
> -debug file:/usr/local/eclipse/.options
> -vm /usr/local/java/jre/bin/java
> -vmargs
> -Xms40m
> -Xmx256m
> -jar /usr/local/eclipse/./startup.jar
> Install location:
> file:/usr/local/eclipse/
> Configuration file:
> file:/usr/local/eclipse/configuration/config.ini loaded
> Configuration location:
> file:/usr/local/eclipse/configuration/
> Framework located:
> file:/usr/local/eclipse/plugins/org.eclipse.osgi_3.1.0.jar
> Framework classpath:
> file:/usr/local/eclipse/plugins/org.eclipse.osgi_3.1.0.jar
> Splash location:
> /usr/local/eclipse/plugins/org.eclipse.platform_3.1.0/splash .bmp
> runCommand:
>
> </usr/local/eclipse/./eclipse><-name><Eclipse><-showsplash ><600>< /usr/local/eclipse/plugins/org.eclipse.platform_3.1.0/splash .bmp >
> Debug options:
> file:/usr/local/eclipse/.options loaded
> Time to load bundles: 15
> Starting application: 729
> [1,127,327,219,055]
> gdb --cd=/home/jrodgers/makesystem/bbs_main/cpp_cgi_apps --command=.gdbinit
> -q -\
> nw -tty /dev/pts/1 -i mi
> /home/jrodgers/makesystem/bbs_main/cpp_cgi_apps/cgi_source/b otrevmatch
> [1,127,327,219,105] 1-gdb-set confirm off
> [1,127,327,219,106] 1^done
> [1,127,327,219,120] (gdb)
> [1,127,327,219,130] 2-gdb-set width 0
> [1,127,327,219,141] 2^done
> [1,127,327,219,141] (gdb)
> [1,127,327,219,142] 3-gdb-set height 0
> [1,127,327,219,142] 3^done
> [1,127,327,219,142] (gdb)
> [1,127,327,219,155] 4-interpreter-exec console echo
> [1,127,327,219,157] 4^done
> [1,127,327,219,169] 5-gdb-show prompt
> [1,127,327,219,168] (gdb)
> [1,127,327,219,181] 5^done,value="(gdb) "
> [1,127,327,219,184] 6-stack-list-frames
> [1,127,327,219,191] (gdb)
> [1,127,327,219,204] &"mi_cmd_stack_list_frames: No stack.\n"
> [1,127,327,219,205] 6^error,msg="mi_cmd_stack_list_frames: No stack."
> [1,127,327,219,347] 7-gdb-set auto-solib-add on
> [1,127,327,219,352] (gdb)
> [1,127,327,219,376] 7^done
> [1,127,327,219,376] 8-gdb-set stop-on-solib-events 0
> [1,127,327,219,376] (gdb)
> [1,127,327,219,384] 8^done
> [1,127,327,219,384] 9-gdb-set stop-on-solib-events 1
> [1,127,327,219,385] (gdb)
> [1,127,327,219,392] 9^done
> [1,127,327,219,572] 10-environment-cd
> /home/jrodgers/makesystem/bbs_main/cpp_cgi_apps
> [1,127,327,219,573] (gdb)
> [1,127,327,219,573] 10^done
> [1,127,327,219,729] 11-environment-directory
> /home/jrodgers/makesystem/bbs_main/cpp_cgi_apps /home/j\
> rodgers/makesystem/bbs_main/cpp_cgi_apps/autom4te.cache
> /home/jrodgers/makesystem/bbs_main/cpp_cgi_a\
> pps/cgi_source
> /home/jrodgers/makesystem/bbs_main/cpp_cgi_apps/cgi_source/. deps
> [1,127,327,219,734] (gdb)
> [1,127,327,219,749]
> 11^done,source-path=" /home/jrodgers/makesystem/bbs_main/cpp_cgi_apps:/home/jrodg\
> ers/makesystem/bbs_main/cpp_cgi_apps/autom4te.cache:/home/jr odgers/makesystem/bbs_main/cpp_cgi_apps/\
> cgi_source:/home/jrodgers/makesystem/bbs_main/cpp_cgi_apps/c gi_source/.deps:$cdir:$cwd "
> [1,127,327,219,760] 12 info threads
> [1,127,327,219,769] (gdb)
> [1,127,327,219,769] &"info threads\n"
> [1,127,327,219,769] &"No registers.\n"
> [1,127,327,219,770] 12^error,msg="No registers."
> [1,127,327,219,792] 13-data-list-register-names
> [1,127,327,219,809] (gdb)
> [1,127,327,219,809]
> 13^done,register-names=["eax","ecx","edx","ebx","esp ","ebp","esi","edi","eip","e\
> flags","cs","ss","ds","es","fs","gs","st0","st1 ","st2","st3","st4","st5","st6","st7","fctrl", "fstat"\
> ,"ftag","fiseg","fioff","foseg","fooff","fop","xmm0 ","xmm1","xmm2","xmm3","xmm4","xmm5","xmm6","xmm7\
> ","mxcsr","orig_eax","mm0","mm1","mm2","mm3","mm4 ","mm5","mm6","mm7"]
> [1,127,327,219,836] 14-break-insert botrevmatch.cpp:18
> [1,127,327,219,913] (gdb)
> [1,127,327,219,915]
> 14^done,bkpt={number="1",type="breakpoint",disp="keep",enabled= "y",addr="0x08049\
> 9f9",func="main",file="botrevmatch.cpp",line="18",times= "0"}
> [1,127,327,219,927] 15-break-insert -t main
> [1,127,327,219,942] (gdb)
> [1,127,327,219,943]
> 15^done,bkpt={number="2",type="breakpoint",disp="del",enabled= "y",addr="0x080499\
> f9",func="main",file="botrevmatch.cpp",line="18",times= "0"}
> [1,127,327,219,943] 16-exec-run
> [1,127,327,219,952] (gdb)
> [1,127,327,219,953] 16^running
> [1,127,327,219,958] (gdb)
> [1,127,327,220,082] ~"Stopped due to shared library event\n"
> [1,127,327,220,119] 16*stopped,thread-id="0"
> [1,127,327,220,121] 17 info program
> [1,127,327,220,137] (gdb)
> [1,127,327,220,138] &"info program\n"
> [1,127,327,220,164] ~"\tUsing the running image of child process 6235.\n"
> [1,127,327,220,165] ~"Program stopped at 0xb75f82b0.\n"
> [1,127,327,220,165] ~"It stopped at a breakpoint that has since been
> deleted.\n"[1,127,327,220,174] ~"Type \"info stack\" or \"info registers\"
> for more information.\n"
> [1,127,327,220,174] 17^done
> [1,127,327,220,176] 18 info sharedlibrary
> [1,127,327,220,191] (gdb)
> [1,127,327,220,192] &"info sharedlibrary\n"
> [1,127,327,220,192] ~"From To Syms Read Shared Object
> Library\n"
> [1,127,327,220,193] ~"0xb75cb9e0 0xb75d3f24 Yes /usr/lib/libz.so.1\n"
> [1,127,327,220,211] ~"0xb759f5d0 0xb75bdf30 Yes
> /usr/lib/libstdc++-libc6.2-2.so.3\n"
> [1,127,327,220,212] ~"0xb7568500 0xb757fdac Yes /lib/tls/libm.so.6\n"
> [1,127,327,220,221] ~"0xb7443540 0xb753f1c8 Yes /lib/tls/libc.so.6\n"
> [1,127,327,220,221] ~"0xb75ebc30 0xb75fd49f Yes /lib/ld-linux.so.2\n"
> [1,127,327,220,221] 18^done
> [1,127,327,220,234] 19-exec-continue
> [1,127,327,220,249] (gdb)
> [1,127,327,220,249] 19^running
> [1,127,327,220,263] (gdb)
> [1,127,327,220,279] ~"Stopped due to shared library event\n"
> [1,127,327,220,288] 19*stopped,thread-id="0"
> [1,127,327,220,288] 20 info sharedlibrary
> [1,127,327,220,288] (gdb)
> [1,127,327,220,289] &"info sharedlibrary\n"
> [1,127,327,220,289] ~"From To Syms Read Shared Object
> Library\n"
> [1,127,327,220,299] ~"0xb75cb9e0 0xb75d3f24 Yes /usr/lib/libz.so.1\n"
> [1,127,327,220,307] ~"0xb759f5d0 0xb75bdf30 Yes
> /usr/lib/libstdc++-libc6.2-2.so.3\n"
> [1,127,327,220,308] ~"0xb7568500 0xb757fdac Yes /lib/tls/libm.so.6\n"
> [1,127,327,220,308] ~"0xb7443540 0xb753f1c8 Yes /lib/tls/libc.so.6\n"
> [1,127,327,220,323] ~"0xb75ebc30 0xb75fd49f Yes /lib/ld-linux.so.2\n"
> [1,127,327,220,323] 20^done
> [1,127,327,220,324] 21-exec-continue
> [1,127,327,220,332] (gdb)
> [1,127,327,220,332] 21^running
> [1,127,327,220,341] (gdb)
> [1,127,327,220,355] ~"Stopped due to shared library event\n"
> [1,127,327,220,371] 21*stopped,thread-id="0"
> [1,127,327,220,385] 22 info sharedlibrary
> [1,127,327,220,385] (gdb)
> [1,127,327,220,385] &"info sharedlibrary\n"
> [1,127,327,220,386] ~"From To Syms Read Shared Object
> Library\n"
> [1,127,327,220,394] ~"0xb75cb9e0 0xb75d3f24 Yes /usr/lib/libz.so.1\n"
> [1,127,327,220,394] ~"0xb759f5d0 0xb75bdf30 Yes
> /usr/lib/libstdc++-libc6.2-2.so.3\n"
> [1,127,327,220,413] ~"0xb7568500 0xb757fdac Yes /lib/tls/libm.so.6\n"
> [1,127,327,220,414] ~"0xb7443540 0xb753f1c8 Yes /lib/tls/libc.so.6\n"
> [1,127,327,220,414] ~"0xb75ebc30 0xb75fd49f Yes /lib/ld-linux.so.2\n"
> [1,127,327,220,414] 22^done
> [1,127,327,220,415] 23-exec-continue
> [1,127,327,220,423] (gdb)
> [1,127,327,220,424] 23^running
> [1,127,327,220,431] (gdb)
> [1,127,327,220,452]
> 23*stopped,reason="breakpoint-hit",bkptno="1",thread-id= "0",frame={addr="0x08049\
> 9f9",func="main",args=[],file="botrevmatch.cpp",line="18 "}
> [1,127,327,220,472] 24 info threads
> [1,127,327,220,484] (gdb)
> [1,127,327,220,484] &"info threads\n"
> [1,127,327,220,501] 24^done
> [1,127,327,220,516] 25-stack-info-depth
> [1,127,327,220,516] (gdb)
> [1,127,327,220,517] 25^done,depth="1"
> [1,127,327,220,530] 26-stack-list-frames 0 1
> [1,127,327,220,530] (gdb)
> [1,127,327,220,543]
> 26^done,stack=[frame={level="0",addr="0x080499f9",func="main ",file="botrevmatch.\
> cpp",line="18"}]
> [1,127,327,220,547] 27-data-list-changed-registers
> [1,127,327,220,557] (gdb)
> [1,127,327,220,557]
> 27^done,changed-registers=["0","1","2","3","4","5 ","6","7","8","9","10","11","12\
> ","13","15","24","26","40","41"]
> [1,127,327,220,572] 28 info sharedlibrary
> [1,127,327,220,583] (gdb)
> [1,127,327,220,583] &"info sharedlibrary\n"
> [1,127,327,220,596] ~"From To Syms Read Shared Object
> Library\n"
> [1,127,327,220,596] ~"0xb75cb9e0 0xb75d3f24 Yes /usr/lib/libz.so.1\n"
> [1,127,327,220,597] ~"0xb759f5d0 0xb75bdf30 Yes
> /usr/lib/libstdc++-libc6.2-2.so.3\n"
> [1,127,327,220,611] ~"0xb7568500 0xb757fdac Yes /lib/tls/libm.so.6\n"
> [1,127,327,220,611] ~"0xb7443540 0xb753f1c8 Yes /lib/tls/libc.so.6\n"
> [1,127,327,220,612] ~"0xb75ebc30 0xb75fd49f Yes /lib/ld-linux.so.2\n"
> [1,127,327,220,612] 28^done
> [1,127,327,221,050] (gdb)
>
>>>>>> JMR CLICKED ON VARIABLES TAB <<<<<<<<<<
>
>
> [[1,127,327,266,170] 29-stack-list-arguments 0 0 0
> [1,127,327,266,171] 29^done,stack-args=[frame={level="0",args=[]}]
> [1,127,327,266,171] (gdb)
> [1,127,327,266,172] 30-stack-list-locals 0
> [1,127,327,266,189]
> 30^done,locals=[name="SECURITY_PASSWORD",name="CGI_KEY_LISTINGID ",name="CGI_KEY_\
> DEBUG",name="listingId",name="matchedBotCommaList",name= "debug_mode",name="cgi"]
> [1,127,327,266,189] (gdb)
> [1,127,327,266,218] 31-var-create - * SECURITY_PASSWORD
> [1,127,327,266,219] 31^done,name="var1",numchild="1",type="TString"
> [1,127,327,266,219] (gdb)
> [1,127,327,266,238] 32 ptype TString
> [1,127,327,266,256] &"ptype TString\n"
> [1,127,327,266,256] ~"type = class TString {\n"
> [1,127,327,266,256] ~" private:\n"
> [1,127,327,266,256] ~" unsigned char *data;\n"
> [1,127,327,266,256] ~" char *work;\n"
> [1,127,327,266,256] ~" int len;\n"
> [1,127,327,266,256] ~" int capacity;\n"
> [1,127,327,266,257] ~" bool changed;\n"
> [1,127,327,266,257] ~"\n"
> [1,127,327,266,257] ~" public:\n"
> [1,127,327,266,257] ~" ~TString(void);\n"
> [1,127,327,266,257] ~" TString(void);\n"
> [1,127,327,266,257] ~" TString(TString const &);\n"
> [1,127,327,266,257] ~" TString(char const *);\n"
> [1,127,327,266,257] ~" bool operator==(TString const &) const;\n"
> [1,127,327,266,258] ~" bool equals(TString const &) const;\n"
> [1,127,327,266,258] ~" bool equalsIgnoreCase(TString const &) const;\n"
> [1,127,327,266,258] ~" bool operator!=(TString const &) const;\n"
> [1,127,327,266,258] ~" TString & operator=(TString const &);\n"
> [1,127,327,266,258] ~" TString & operator=(char const *);\n"
> [1,127,327,266,258] ~" void assign(TString const &);\n"
> [1,127,327,266,258] ~" void assign(char const *);\n"
> [1,127,327,266,258] ~" void assign(char const *, int);\n"
> [1,127,327,266,258] ~" TString & operator+=(TString const &);\n"
> [1,127,327,266,259] ~" TString & operator+=(char const *);\n"
> [1,127,327,266,259] ~" TString & operator+=(char);\n"
> [1,127,327,266,259] ~" void append(TString const &);\n"
> [1,127,327,266,259] ~" void append(char const *);\n"
> [1,127,327,266,259] ~" void append(char);\n"
> [1,127,327,266,259] ~" void append(int, char const *);\n"
> [1,127,327,266,259] ~" unsigned char & operator[](int) const;\n"
> [1,127,327,266,259] ~" int compare(TString const &) const;\n"
> [1,127,327,266,260] ~" int compareIgnoreCase(TString const &) const;\n"
> [1,127,327,266,260] ~" int compare(TString const &, int, int) const;\n"
> [1,127,327,266,260] ~" int compareIgnoreCase(TString const &, int, int)
> const;\n"
> [1,127,327,266,260] ~" int compareMiddle(TString const &, int, int)
> const;\n"
> [1,127,327,266,260] ~" bool containsNonPrintable(bool) const;\n"
> [1,127,327,266,260] ~" bool isDigit(int) const;\n"
> [1,127,327,266,260] ~" int getDigit(int) const;\n"
> [1,127,327,266,260] ~" bool isLetter(int) const;\n"
> [1,127,327,266,261] ~" int find(TString const &, int) const;\n"
> [1,127,327,266,261] ~" int findIgnoreCase(TString const &, int)
> const;\n"
> [1,127,327,266,261] ~" int find_first_of(TString const &, int)
> const;\n"
> [1,127,327,266,261] ~" int find_first_not_of(TString const &, int)
> const;\n"
> [1,127,327,266,261] ~" int rfind(TString const &) const;\n"
> [1,127,327,266,261] ~" int find_last_of(TString const &) const;\n"
> [1,127,327,266,261] ~" TString substr(int) const;\n"
> [1,127,327,266,261] ~" TString substr(int, int) const;\n"
> [1,127,327,266,262] ~" TString substrByPosition(int, int) const;\n"
> [1,127,327,266,262] ~" void insert(int, char const *);\n"
> [1,127,327,266,262] ~" void insert(int, TString const &);\n"
> [1,127,327,266,262] ~" void replace(int, int, TString const &);\n"
> [1,127,327,266,262] ~" void erase(int, int);\n"
> [1,127,327,266,262] ~" void remove(char);\n"
> [1,127,327,266,262] ~" char * c_str(void) const;\n"
> [1,127,327,266,262] ~" int length(void) const;\n"
> [1,127,327,266,263] ~" int size(void) const;\n"
> [1,127,327,266,263] ~" void reserve(int);\n"
> [1,127,327,266,263] ~" void eraseAll(void);\n"
> [1,127,327,266,263] ~" void toUpperCase(void);\n"
> [1,127,327,266,263] ~" void toLowerCase(void);\n"
> [1,127,327,266,263] ~" TString removeNonAlphaNumeric(void) const;\n"
> [1,127,327,266,263] ~" TString makeDiomoSafe(void) const;\n"
> [1,127,327,266,264] ~" TString removeNonAlpha(void) const;\n"
> [1,127,327,266,264] ~" TString removeNonNumeric(void) const;\n"
> [1,127,327,266,264] ~" TString URLEncode(bool);\n"
> [1,127,327,266,264] ~" TString compact(void);\n"
> [1,127,327,266,264] ~" int isEmailAddress(void);\n"
> [1,127,327,266,264] ~" TString toHTML(void);\n"
> [1,127,327,266,281] ~" bool endsWith(TString const &) const;\n"
> [1,127,327,266,281] ~" bool startsWith(TString const &) const;\n"
> [1,127,327,266,282] ~"}\n"
> [1,127,327,266,282] 32^done
> [1,127,327,266,282] (gdb)
> [1,127,327,266,375] 33-var-create - * CGI_KEY_LISTINGID
> [1,127,327,266,375] 33^done,name="var2",numchild="1",type="TString"
> [1,127,327,266,376] (gdb)
> [1,127,327,266,376] 34 ptype TString
> [1,127,327,266,381] &"ptype TString\n"
> [1,127,327,266,381] ~"type = class TString {\n"
> [1,127,327,266,381] ~" private:\n"
> [1,127,327,266,381] ~" unsigned char *data;\n"
> [1,127,327,266,381] ~" char *work;\n"
> [1,127,327,266,381] ~" int len;\n"
> [1,127,327,266,381] ~" int capacity;\n"
> [1,127,327,266,382] ~" bool changed;\n"
> [1,127,327,266,382] ~"\n"
> [1,127,327,266,382] ~" public:\n"
> [1,127,327,266,382] ~" ~TString(void);\n"
> [1,127,327,266,382] ~" TString(void);\n"
> [1,127,327,266,382] ~" TString(TString const &);\n"
> [1,127,327,266,382] ~" TString(char const *);\n"
> [1,127,327,266,382] ~" bool operator==(TString const &) const;\n"
> [1,127,327,266,383] ~" bool equals(TString const &) const;\n"
> [1,127,327,266,383] ~" bool equalsIgnoreCase(TString const &) const;\n"
> [1,127,327,266,383] ~" bool operator!=(TString const &) const;\n"
> [1,127,327,266,383] ~" TString & operator=(TString const &);\n"
> [1,127,327,266,383] ~" TString & operator=(char const *);\n"
> [1,127,327,266,383] ~" void assign(TString const &);\n"
> [1,127,327,266,383] ~" void assign(char const *);\n"
> [1,127,327,266,383] ~" void assign(char const *, int);\n"
> [1,127,327,266,383] ~" TString & operator+=(TString const &);\n"
> [1,127,327,266,384] ~" TString & operator+=(char const *);\n"
> [1,127,327,266,384] ~" TString & operator+=(char);\n"
> [1,127,327,266,384] ~" void append(TString const &);\n"
> [1,127,327,266,384] ~" void append(char const *);\n"
> [1,127,327,266,384] ~" void append(char);\n"
> [1,127,327,266,384] ~" void append(int, char const *);\n"
> [1,127,327,266,384] ~" unsigned char & operator[](int) const;\n"
> [1,127,327,266,384] ~" int compare(TString const &) const;\n"
> [1,127,327,266,385] ~" int compareIgnoreCase(TString const &) const;\n"
> [1,127,327,266,385] ~" int compare(TString const &, int, int) const;\n"
> [1,127,327,266,385] ~" int compareIgnoreCase(TString const &, int, int)
> const;\n"
> [1,127,327,266,385] ~" int compareMiddle(TString const &, int, int)
> const;\n"
> [1,127,327,266,385] ~" bool containsNonPrintable(bool) const;\n"
> [1,127,327,266,385] ~" bool isDigit(int) const;\n"
> [1,127,327,266,385] ~" int getDigit(int) const;\n"
> [1,127,327,266,386] ~" bool isLetter(int) const;\n"
> [1,127,327,266,386] ~" int find(TString const &, int) const;\n"
> [1,127,327,266,386] ~" int findIgnoreCase(TString const &, int)
> const;\n"
> [1,127,327,266,386] ~" int find_first_of(TString const &, int)
> const;\n"
> [1,127,327,266,386] ~" int find_first_not_of(TString const &, int)
> const;\n"
> [1,127,327,266,386] ~" int rfind(TString const &) const;\n"
> [1,127,327,266,386] ~" int find_last_of(TString const &) const;\n"
> [1,127,327,266,387] ~" TString substr(int) const;\n"
> [1,127,327,266,387] ~" TString substr(int, int) const;\n"
> [1,127,327,266,387] ~" TString substrByPosition(int, int) const;\n"
> [1,127,327,266,387] ~" void insert(int, char const *);\n"
> [1,127,327,266,387] ~" void insert(int, TString const &);\n"
> [1,127,327,266,387] ~" void replace(int, int, TString const &);\n"
> [1,127,327,266,387] ~" void erase(int, int);\n"
> [1,127,327,266,387] ~" void remove(char);\n"
> [1,127,327,266,388] ~" char * c_str(void) const;\n"
> [1,127,327,266,388] ~" int length(void) const;\n"
> [1,127,327,266,388] ~" int size(void) const;\n"
> [1,127,327,266,388] ~" void reserve(int);\n"
> [1,127,327,266,388] ~" void eraseAll(void);\n"
> [1,127,327,266,388] ~" void toUpperCase(void);\n"
> [1,127,327,266,388] ~" void toLowerCase(void);\n"
> [1,127,327,266,389] ~" TString removeNonAlphaNumeric(void) const;\n"
> [1,127,327,266,389] ~" TString makeDiomoSafe(void) const;\n"
> [1,127,327,266,389] ~" TString removeNonAlpha(void) const;\n"
> [1,127,327,266,389] ~" TString removeNonNumeric(void) const;\n"
> [1,127,327,266,389] ~" TString URLEncode(bool);\n"
> [1,127,327,266,389] ~" TString compact(void);\n"
> [1,127,327,266,389] ~" int isEmailAddress(void);\n"
> [1,127,327,266,390] ~" TString toHTML(void);\n"
> [1,127,327,266,402] ~" bool endsWith(TString const &) const;\n"
> [1,127,327,266,402] ~" bool startsWith(TString const &) const;\n"
> [1,127,327,266,402] ~"}\n"
> [1,127,327,266,403] 34^done
> [1,127,327,266,403] (gdb)
> [1,127,327,266,423] 35-var-create - * CGI_KEY_DEBUG
> [1,127,327,266,423] 35^done,name="var3",numchild="1",type="TString"
> [1,127,327,266,423] (gdb)
> [1,127,327,266,426] 36 ptype TString
> [1,127,327,266,429] &"ptype TString\n"
> [1,127,327,266,429] ~"type = class TString {\n"
> [1,127,327,266,429] ~" private:\n"
> [1,127,327,266,430] ~" unsigned char *data;\n"
> [1,127,327,266,430] ~" char *work;\n"
> [1,127,327,266,430] ~" int len;\n"
> [1,127,327,266,430] ~" int capacity;\n"
> [1,127,327,266,430] ~" bool changed;\n"
> [1,127,327,266,430] ~"\n"
> [1,127,327,266,430] ~" public:\n"
> [1,127,327,266,431] ~" ~TString(void);\n"
> [1,127,327,266,431] ~" TString(void);\n"
> [1,127,327,266,431] ~" TString(TString const &);\n"
> [1,127,327,266,431] ~" TString(char const *);\n"
> [1,127,327,266,431] ~" bool operator==(TString const &) const;\n"
> [1,127,327,266,431] ~" bool equals(TString const &) const;\n"
> [1,127,327,266,431] ~" bool equalsIgnoreCase(TString const &) const;\n"
> [1,127,327,266,431] ~" bool operator!=(TString const &) const;\n"
> [1,127,327,266,432] ~" TString & operator=(TString const &);\n"
> [1,127,327,266,432] ~" TString & operator=(char const *);\n"
> [1,127,327,266,432] ~" void assign(TString const &);\n"
> [1,127,327,266,432] ~" void assign(char const *);\n"
> [1,127,327,266,432] ~" void assign(char const *, int);\n"
> [1,127,327,266,432] ~" TString & operator+=(TString const &);\n"
> [1,127,327,266,432] ~" TString & operator+=(char const *);\n"
> [1,127,327,266,432] ~" TString & operator+=(char);\n"
> [1,127,327,266,433] ~" void append(TString const &);\n"
> [1,127,327,266,433] ~" void append(char const *);\n"
> [1,127,327,266,433] ~" void append(char);\n"
> [1,127,327,266,433] ~" void append(int, char const *);\n"
> [1,127,327,266,433] ~" unsigned char & operator[](int) const;\n"
> [1,127,327,266,433] ~" int compare(TString const &) const;\n"
> [1,127,327,266,433] ~" int compareIgnoreCase(TString const &) const;\n"
> [1,127,327,266,433] ~" int compare(TString const &, int, int) const;\n"
> [1,127,327,266,433] ~" int compareIgnoreCase(TString const &, int, int)
> const;\n"
> [1,127,327,266,434] ~" int compareMiddle(TString const &, int, int)
> const;\n"
> [1,127,327,266,434] ~" bool containsNonPrintable(bool) const;\n"
> [1,127,327,266,434] ~" bool isDigit(int) const;\n"
> [1,127,327,266,434] ~" int getDigit(int) const;\n"
> [1,127,327,266,434] ~" bool isLetter(int) const;\n"
> [1,127,327,266,434] ~" int find(TString const &, int) const;\n"
> [1,127,327,266,434] ~" int findIgnoreCase(TString const &, int)
> const;\n"
> [1,127,327,266,434] ~" int find_first_of(TString const &, int)
> const;\n"
> [1,127,327,266,435] ~" int find_first_not_of(TString const &, int)
> const;\n"
> [1,127,327,266,435] ~" int rfind(TString const &) const;\n"
> [1,127,327,266,435] ~" int find_last_of(TString const &) const;\n"
> [1,127,327,266,436] ~" TString substr(int) const;\n"
> [1,127,327,266,437] ~" TString substr(int, int) const;\n"
> [1,127,327,266,437] ~" TString substrByPosition(int, int) const;\n"
> [1,127,327,266,437] ~" void insert(int, char const *);\n"
> [1,127,327,266,437] ~" void insert(int, TString const &);\n"
> [1,127,327,266,437] ~" void replace(int, int, TString const &);\n"
> [1,127,327,266,437] ~" void erase(int, int);\n"
> [1,127,327,266,437] ~" void remove(char);\n"
> [1,127,327,266,437] ~" char * c_str(void) const;\n"
> [1,127,327,266,438] ~" int length(void) const;\n"
> [1,127,327,266,438] ~" int size(void) const;\n"
> [1,127,327,266,438] ~" void reserve(int);\n"
> [1,127,327,266,438] ~" void eraseAll(void);\n"
> [1,127,327,266,438] ~" void toUpperCase(void);\n"
> [1,127,327,266,438] ~" void toLowerCase(void);\n"
> [1,127,327,266,438] ~" TString removeNonAlphaNumeric(void) const;\n"
> [1,127,327,266,439] ~" TString makeDiomoSafe(void) const;\n"
> [1,127,327,266,439] ~" TString removeNonAlpha(void) const;\n"
> [1,127,327,266,439] ~" TString removeNonNumeric(void) const;\n"
> [1,127,327,266,439] ~" TString URLEncode(bool);\n"
> [1,127,327,266,439] ~" TString compact(void);\n"
> [1,127,327,266,439] ~" int isEmailAddress(void);\n"
> [1,127,327,266,439] ~" TString toHTML(void);\n"
> [1,127,327,266,440] ~" bool endsWith(TString const &) const;\n"
> [1,127,327,266,440] ~" bool startsWith(TString const &) const;\n"
> [1,127,327,266,440] ~"}\n"
> [1,127,327,266,440] 36^done
> [1,127,327,266,441] (gdb)
> [1,127,327,266,460] 37-var-create - * listingId
> [1,127,327,266,460] 37^done,name="var4",numchild="1",type="TString"
> [1,127,327,266,461] (gdb)
> [1,127,327,266,462] 38 ptype TString
> [1,127,327,266,465] &"ptype TString\n"
> [1,127,327,266,465] ~"type = class TString {\n"
> [1,127,327,266,466] ~" private:\n"
> [1,127,327,266,466] ~" unsigned char *data;\n"
> [1,127,327,266,466] ~" char *work;\n"
> [1,127,327,266,466] ~" int len;\n"
> [1,127,327,266,466] ~" int capacity;\n"
> [1,127,327,266,466] ~" bool changed;\n"
> [1,127,327,266,466] ~"\n"
> [1,127,327,266,466] ~" public:\n"
> [1,127,327,266,466] ~" ~TString(void);\n"
> [1,127,327,266,467] ~" TString(void);\n"
> [1,127,327,266,467] ~" TString(TString const &);\n"
> [1,127,327,266,467] ~" TString(char const *);\n"
> [1,127,327,266,467] ~" bool operator==(TString const &) const;\n"
> [1,127,327,266,467] ~" bool equals(TString const &) const;\n"
> [1,127,327,266,467] ~" bool equalsIgnoreCase(TString const &) const;\n"
> [1,127,327,266,467] ~" bool operator!=(TString const &) const;\n"
> [1,127,327,266,467] ~" TString & operator=(TString const &);\n"
> [1,127,327,266,467] ~" TString & operator=(char const *);\n"
> [1,127,327,266,468] ~" void assign(TString const &);\n"
> [1,127,327,266,468] ~" void assign(char const *);\n"
> [1,127,327,266,468] ~" void assign(char const *, int);\n"
> [1,127,327,266,468] ~" TString & operator+=(TString const &);\n"
> [1,127,327,266,468] ~" TString & operator+=(char const *);\n"
> [1,127,327,266,468] ~" TString & operator+=(char);\n"
> [1,127,327,266,468] ~" void append(TString const &);\n"
> [1,127,327,266,468] ~" void append(char const *);\n"
> [1,127,327,266,468] ~" void append(char);\n"
> [1,127,327,266,469] ~" void append(int, char const *);\n"
> [1,127,327,266,469] ~" unsigned char & operator[](int) const;\n"
> [1,127,327,266,469] ~" int compare(TString const &) const;\n"
> [1,127,327,266,469] ~" int compareIgnoreCase(TString const &) const;\n"
> [1,127,327,266,469] ~" int compare(TString const &, int, int) const;\n"
> [1,127,327,266,469] ~" int compareIgnoreCase(TString const &, int, int)
> const;\n"
> [1,127,327,266,469] ~" int compareMiddle(TString const &, int, int)
> const;\n"
> [1,127,327,266,469] ~" bool containsNonPrintable(bool) const;\n"
> [1,127,327,266,470] ~" bool isDigit(int) const;\n"
> [1,127,327,266,470] ~" int getDigit(int) const;\n"
> [1,127,327,266,470] ~" bool isLetter(int) const;\n"
> [1,127,327,266,470] ~" int find(TString const &, int) const;\n"
> [1,127,327,266,470] ~" int findIgnoreCase(TString const &, int)
> const;\n"
> [1,127,327,266,470] ~" int find_first_of(TString const &, int)
> const;\n"
> [1,127,327,266,470] ~" int find_first_not_of(TString const &, int)
> const;\n"
> [1,127,327,266,470] ~" int rfind(TString const &) const;\n"
> [1,127,327,266,470] ~" int find_last_of(TString const &) const;\n"
> [1,127,327,266,471] ~" TString substr(int) const;\n"
> [1,127,327,266,471] ~" TString substr(int, int) const;\n"
> [1,127,327,266,471] ~" TString substrByPosition(int, int) const;\n"
> [1,127,327,266,471] ~" void insert(int, char const *);\n"
> [1,127,327,266,471] ~" void insert(int, TString const &);\n"
> [1,127,327,266,471] ~" void replace(int, int, TString const &);\n"
> [1,127,327,266,471] ~" void erase(int, int);\n"
> [1,127,327,266,471] ~" void remove(char);\n"
> [1,127,327,266,472] ~" char * c_str(void) const;\n"
> [1,127,327,266,472] ~" int length(void) const;\n"
> [1,127,327,266,472] ~" int size(void) const;\n"
> [1,127,327,266,472] ~" void reserve(int);\n"
> [1,127,327,266,472] ~" void eraseAll(void);\n"
> [1,127,327,266,472] ~" void toUpperCase(void);\n"
> [1,127,327,266,472] ~" void toLowerCase(void);\n"
> [1,127,327,266,472] ~" TString removeNonAlphaNumeric(void) const;\n"
> [1,127,327,266,472] ~" TString makeDiomoSafe(void) const;\n"
> [1,127,327,266,473] ~" TString removeNonAlpha(void) const;\n"
> [1,127,327,266,473] ~" TString removeNonNumeric(void) const;\n"
> [1,127,327,266,473] ~" TString URLEncode(bool);\n"
> [1,127,327,266,473] ~" TString compact(void);\n"
> [1,127,327,266,474] ~" int isEmailAddress(void);\n"
> [1,127,327,266,474] ~" TString toHTML(void);\n"
> [1,127,327,266,474] ~" bool endsWith(TString const &) const;\n"
> [1,127,327,266,474] ~" bool startsWith(TString const &) const;\n"
> [1,127,327,266,474] ~"}\n"
> [1,127,327,266,474] 38^done
> [1,127,327,266,475] (gdb)
> [1,127,327,266,494] 39-var-create - * matchedBotCommaList
> [1,127,327,266,495] 39^done,name="var5",numchild="1",type="TString"
> [1,127,327,266,495] (gdb)
> [1,127,327,266,495] 40 ptype TString
> [1,127,327,266,498] &"ptype TString\n"
> [1,127,327,266,498] ~"type = class TString {\n"
> [1,127,327,266,498] ~" private:\n"
> [1,127,327,266,498] ~" unsigned char *data;\n"
> [1,127,327,266,499] ~" char *work;\n"
> [1,127,327,266,499] ~" int len;\n"
> [1,127,327,266,499] ~" int capacity;\n"
> [1,127,327,266,499] ~" bool changed;\n"
> [1,127,327,266,499] ~"\n"
> [1,127,327,266,505] ~" public:\n"
> [1,127,327,266,505] ~" ~TString(void);\n"
> [1,127,327,266,505] ~" TString(void);\n"
> [1,127,327,266,505] ~" TString(TString const &);\n"
> [1,127,327,266,505] ~" TString(char const *);\n"
> [1,127,327,266,505] ~" bool operator==(TString const &) const;\n"
> [1,127,327,266,506] ~" bool equals(TString const &) const;\n"
> [1,127,327,266,506] ~" bool equalsIgnoreCase(TString const &) const;\n"
> [1,127,327,266,506] ~" bool operator!=(TString const &) const;\n"
> [1,127,327,266,506] ~" TString & operator=(TString const &);\n"
> [1,127,327,266,506] ~" TString & operator=(char const *);\n"
> [1,127,327,266,506] ~" void assign(TString const &);\n"
> [1,127,327,266,506] ~" void assign(char const *);\n"
> [1,127,327,266,506] ~" void assign(char const *, int);\n"
> [1,127,327,266,506] ~" TString & operator+=(TString const &);\n"
> [1,127,327,266,507] ~" TString & operator+=(char const *);\n"
> [1,127,327,266,507] ~" TString & operator+=(char);\n"
> [1,127,327,266,507] ~" void append(TString const &);\n"
> [1,127,327,266,507] ~" void append(char const *);\n"
> [1,127,327,266,507] ~" void append(char);\n"
> [1,127,327,266,507] ~" void append(int, char const *);\n"
> [1,127,327,266,507] ~" unsigned char & operator[](int) const;\n"
> [1,127,327,266,507] ~" int compare(TString const &) const;\n"
> [1,127,327,266,507] ~" int compareIgnoreCase(TString const &) const;\n"
> [1,127,327,266,508] ~" int compare(TString const &, int, int) const;\n"
> [1,127,327,266,508] ~" int compareIgnoreCase(TString const &, int, int)
> const;\n"
> [1,127,327,266,508] ~" int compareMiddle(TString const &, int, int)
> const;\n"
> [1,127,327,266,508] ~" bool containsNonPrintable(bool) const;\n"
> [1,127,327,266,508] ~" bool isDigit(int) const;\n"
> [1,127,327,266,508] ~" int getDigit(int) const;\n"
> [1,127,327,266,509] ~" bool isLetter(int) const;\n"
> [1,127,327,266,509] ~" int find(TString const &, int) const;\n"
> [1,127,327,266,509] ~" int findIgnoreCase(TString const &, int)
> const;\n"
> [1,127,327,266,509] ~" int find_first_of(TString const &, int)
> const;\n"
> [1,127,327,266,510] ~" int find_first_not_of(TString const &, int)
> const;\n"
> [1,127,327,266,510] ~" int rfind(TString const &) const;\n"
> [1,127,327,266,510] ~" int find_last_of(TString const &) const;\n"
> [1,127,327,266,510] ~" TString substr(int) const;\n"
> [1,127,327,266,510] ~" TString substr(int, int) const;\n"
> [1,127,327,266,510] ~" TString substrByPosition(int, int) const;\n"
> [1,127,327,266,510] ~" void insert(int, char const *);\n"
> [1,127,327,266,511] ~" void insert(int, TString const &);\n"
> [1,127,327,266,511] ~" void replace(int, int, TString const &);\n"
> [1,127,327,266,511] ~" void erase(int, int);\n"
> [1,127,327,266,511] ~" void remove(char);\n"
> [1,127,327,266,511] ~" char * c_str(void) const;\n"
> [1,127,327,266,511] ~" int length(void) const;\n"
> [1,127,327,266,511] ~" int size(void) const;\n"
> [1,127,327,266,511] ~" void reserve(int);\n"
> [1,127,327,266,512] ~" void eraseAll(void);\n"
> [1,127,327,266,512] ~" void toUpperCase(void);\n"
> [1,127,327,266,512] ~" void toLowerCase(void);\n"
> [1,127,327,266,512] ~" TString removeNonAlphaNumeric(void) const;\n"
> [1,127,327,266,512] ~" TString makeDiomoSafe(void) const;\n"
> [1,127,327,266,512] ~" TString removeNonAlpha(void) const;\n"
> [1,127,327,266,512] ~" TString removeNonNumeric(void) const;\n"
> [1,127,327,266,512] ~" TString URLEncode(bool);\n"
> [1,127,327,266,513] ~" TString compact(void);\n"
> [1,127,327,266,513] ~" int isEmailAddress(void);\n"
> [1,127,327,266,513] ~" TString toHTML(void);\n"
> [1,127,327,266,513] ~" bool endsWith(TString const &) const;\n"
> [1,127,327,266,513] ~" bool startsWith(TString const &) const;\n"
> [1,127,327,266,513] ~"}\n"
> [1,127,327,266,514] 40^done
> [1,127,327,266,514] (gdb)
> [1,127,327,266,534] 41-var-create - * debug_mode
> [1,127,327,266,534] 41^done,name="var6",numchild="0",type="bool"
> [1,127,327,266,534] (gdb)
> [1,127,327,266,535] 42-var-create - * cgi
> [1,127,327,266,549] 42^done,name="var7",numchild="1",type="CGI"
> [1,127,327,266,550] (gdb)
> [1,127,327,266,557] 43 ptype CGI
> [1,127,327,266,558] &"ptype CGI\n"
> [1,127,327,266,558] ~"type = class CGI {\n"
> [1,127,327,266,558] ~" private:\n"
> [1,127,327,266,558] ~" TPairs data;\n"
> [1,127,327,266,558] ~"\n"
> [1,127,327,266,558] ~" public:\n"
> [1,127,327,266,559] ~" CGI & operator=(CGI const &);\n"
> [1,127,327,266,559] ~" ~CGI(void);\n"
> [1,127,327,266,587] 44-gdb-exit
>
>
>
>
>
>
>
> "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
> news:dgs65k$948$1@news.eclipse.org...
>> The messages below are not errors and have no relation to the problem.
>> gdb crashes when the CDT debugger tries to retrieve a variable-related
>> information.
>> If you want to dig deeper and find out which gdb command is causing the
>> problem, get the gdb trace. On how to do it see the CDT Debugger FAQ #5.
>>
>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>> news:dgs4pc$781$1@news.eclipse.org...
>>> AHHHH - A clue.... I just happened to have the breakpoints tab selected
>>> and was able to break and step through code - HOWEVER when I then
>>> selected the variables tab (the whole of debugging for me from within
>>> Eclipse) I crashed with the errors below...
>>>
>>> Does this info help?
>>>
>>> -Jerry
>>>
>>>
>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>> news:dgs4ic$6th$1@news.eclipse.org...
>>>> Hi,
>>>>
>>>> I am at a loss - I upgraded the GDB and still no luck when I hit a
>>>> break point the program is terminated with the following error. with
>>>> no break points set the program runs fine via Eclipse - GDB and DDD all
>>>> still work for debugging. Do you have any other ideas? Thanks for all
>>>> your help.
>>>>
>>>>>>> Eclipse console error
>>>> Stopped due to shared library event
>>>> Stopped due to shared library event
>>>> Stopped due to shared library event
>>>> mi_cmd_stack_list_frames: No stack.
>>>>>>>>
>>>>
>>>>>>> Upgraded GDB
>>>> GNU gdb Red Hat Linux (6.3.0.0-0.30.1rh)
>>>> Copyright 2004 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 "i386-redhat-linux-gnu".
>>>> (gdb)
>>>>
>>>> -Jerry
>>>>
>>>>
>>>> "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
>>>> news:dgrrhs$obi$1@news.eclipse.org...
>>>>> Jerry,
>>>>>
>>>>> I didn't use RPM to install gdb, so unfortunately I can't answer to
>>>>> your question. But I believe, if you just download the zipped file and
>>>>> unzip it, it would work fine.
>>>>>
>>>>> Mikhail
>>>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>>>> news:dgnj47$tfp$1@news.eclipse.org...
>>>>>> Thanks Mikhail,
>>>>>>
>>>>>> Sorry to be so slow about all this - I am new to this enviornment
>>>>>> too. I grabbed an RPM for redhat from centos and when I ran
>>>>>> the --test option I got the following errors. Does this mean that I
>>>>>> need to uninstall what is there now? Or issue some other switch on
>>>>>> the rpm command or does it mean I can not install this rpm on this
>>>>>> machine because of this conflict?
>>>>>>
>>>>>> Thnks,
>>>>>> Jerry
>>>>>>
>>>>>> [jrodgers@jdevunix jrodgers]$ rpm -iv --test
>>>>>> gdb-6.3.0.0-0.30.1.i386.rpm
>>>>>> warning: gdb-6.3.0.0-0.30.1.i386.rpm: V3 DSA signature: NOKEY, key ID
>>>>>> 025e513b
>>>>>> Preparing packages for installation...
>>>>>> file /usr/bin/gdb from install of gdb-6.3.0.0-0.30.1 conflicts
>>>>>> with file from package gdb-5.
>>>>>> 3.90-0.20030710.40
>>>>>> file /usr/bin/gdbserver from install of gdb-6.3.0.0-0.30.1
>>>>>> conflicts with file from package
>>>>>> gdb-5.3.90-0.20030710.40
>>>>>> file /usr/share/info/annotate.info.gz from install of
>>>>>> gdb-6.3.0.0-0.30.1 conflicts with file
>>>>>> from package gdb-5.3.90-0.20030710.40
>>>>>> file /usr/share/info/gdb.info-1.gz from install of
>>>>>> gdb-6.3.0.0-0.30.1 conflicts with file fr
>>>>>> om package gdb-5.3.90-0.20030710.40
>>>>>> file /usr/share/info/gdb.info.gz from install of
>>>>>> gdb-6.3.0.0-0.30.1 conflicts with file from
>>>>>> package gdb-5.3.90-0.20030710.40
>>>>>> file /usr/share/info/gdbint.info-1.gz from install of
>>>>>> gdb-6.3.0.0-0.30.1 conflicts with file
>>>>>> from package gdb-5.3.90-0.20030710.40
>>>>>> file /usr/share/info/gdbint.info.gz from install of
>>>>>> gdb-6.3.0.0-0.30.1 conflicts with file f
>>>>>> rom package gdb-5.3.90-0.20030710.40
>>>>>> file /usr/share/info/stabs.info-1.gz from install of
>>>>>> gdb-6.3.0.0-0.30.1 conflicts with file
>>>>>> from package gdb-5.3.90-0.20030710.40
>>>>>> file /usr/share/info/stabs.info.gz from install of
>>>>>> gdb-6.3.0.0-0.30.1 conflicts with file fr
>>>>>> om package gdb-5.3.90-0.20030710.40
>>>>>> [jrodgers@jdevunix jrodgers]$
>>>>>>
>>>>>>
>>>>>>
>>>>>> "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
>>>>>> news:dgf1p2$7o0$1@news.eclipse.org...
>>>>>>>I don't think you will have problems using gdb 6.3 with your
>>>>>>>projects. You can simply download the binary from the RedHat site.
>>>>>>>
>>>>>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>>>>>> news:dgcv4n$jd9$1@news.eclipse.org...
>>>>>>>> Hi Mikhail,
>>>>>>>>
>>>>>>>> What is the relationship between gdb and gcc? Can I upgrade to the
>>>>>>>> current version of gdb while still using the older version of gcc
>>>>>>>> that my code currently relies on? How do I upgrade gcc? Is there an
>>>>>>>> rpm from redhat or do I need to down load the current 6.3 version
>>>>>>>> and use "make" to build it?
>>>>>>>>
>>>>>>>> thanks for the help,
>>>>>>>> Jerry
>>>>>>>>
>>>>>>>>
>>>>>>>> "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
>>>>>>>> news:dgci41$2o7$1@news.eclipse.org...
>>>>>>>>> It looks like gdb is crashing. Try a newer version of gdb.
>>>>>>>>> The messages you see in the gdb console reflect the internal
>>>>>>>>> activity and are not "real" errors.
>>>>>>>>>
>>>>>>>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>>>>>>>> news:dgcfv4$vb9$1@news.eclipse.org...
>>>>>>>>>>I wanted to include that I am using
>>>>>>>>>>
>>>>>>>>>> GNU gdb Red Hat Linux (5.3.90-0.20030710.40rh)
>>>>>>>>>> Eclipse 3.1.0 - Build 120050627-1435
>>>>>>>>>> CDT 3.0.0
>>>>>>>>>> GCC - gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
>>>>>>>>>>
>>>>>>>>>> -Jerrry
>>>>>>>>>>
>>>>>>>>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>>>>>>>>> news:dgcfl8$utd$1@news.eclipse.org...
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> I am having problems being able to debug my C++ executable under
>>>>>>>>>>> Eclipse. I was able to run/break/inspect variables etc directly
>>>>>>>>>>> under GDB and DDD. I am a newbie to C/C++ to begin with but have
>>>>>>>>>>> been using Eclipse fror Java for many years.
>>>>>>>>>>>
>>>>>>>>>>> I am able to make and run the C++ program from within Eclipse
>>>>>>>>>>> (as long as I do not have any break points set) wihtout any
>>>>>>>>>>> problems - The problem is when I select Run - Debug and I set a
>>>>>>>>>>> break point however as soon as it stops it ends up termintaing -
>>>>>>>>>>> all I get is this in the console. I pretty much accepted the
>>>>>>>>>>> defaults for debugging - I selected GDB as the debugger and have
>>>>>>>>>>> Stop at main() on startup selected.
>>>>>>>>>>>
>>>>>>>>>>> Stopped due to shared library event
>>>>>>>>>>> Stopped due to shared library event
>>>>>>>>>>> Stopped due to shared library event
>>>>>>>>>>> mi_cmd_stack_list_frames: No stack.
>>>>>>>>>>>
>>>>>>>>>>> Also if I am quick about when I select run - debug - and then
>>>>>>>>>>> try to step I get this error.
>>>>>>>>>>> Eclipse Target request failed: {R,T}xThread Terminated
>>>>>>>>>>>
>>>>>>>>>>> Any ideas where I am going wrong?
>>>>>>>>>>>
>>>>>>>>>>> thanks,
>>>>>>>>>>> Jerry Rodgers
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
Re: Debugging issues... [message #154913 is a reply to message #154891] Wed, 21 September 2005 20:53 Go to previous message
Eclipse UserFriend
Originally posted by: jerryrodgers.comcast.net

While that is a major bummer - at least I feel grateful that I know where I
stand now - I'll give your approach a try and just not watch complex types.

thanks much.

-Jerry


"Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
news:dgsaq8$gbt$1@news.eclipse.org...
> gdb crashes on the "ptype CGI" command. The lines
> 43^done
> (gdb)
> would indicate that ptype was completed.
> Unfortunately, this is a bug in gdb and the gdb team only can fix it. We
> have seen similar crashes for complex C++ classes.
> The possible workaround is to uncheck the "Automatically track the values
> of variables" option and enable only those variables that you want to
> watch. To access this option, open the "Debugger" tab of the launch
> configuration dialog and press the "Advanced" button. Hopefully, this will
> help.
>
> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
> news:dgs9j5$eb3$1@news.eclipse.org...
>> Hi,
>>
>> Below is the LENGTHY output from the debug session. I set a break point
>> on the very first line within my main method - recorded that output and
>> if you search below for JMR you will see where the debug info stops
>> before I then clicked on the variables tab and caused the debugger to
>> crash. I kinda see what is happening but not sure what steps to take -
>> it looks like when the variables tab is clicked it does some sort of
>> discovery process with gdb and determines the type of all the variables
>> and what their signatures are etc and it looks like it stops on a
>> variable this is of type CGI - I don't really see any error though just a
>> gdb exit... ?
>>
>> Again thanks for sticking with me on this - I greatly appreciate the
>> help.
>>
>> [root@jdevunix eclipse]# ./starteclipse.sh
>> Start VM: /usr/local/java/jre/bin/java
>> -Xms40m
>> -Xmx256m
>> -jar /usr/local/eclipse/./startup.jar
>> -os linux
>> -ws gtk
>> -arch x86
>> -launcher /usr/local/eclipse/./eclipse
>> -name Eclipse
>> -showsplash 600
>> -exitdata 78009
>> -debug file:/usr/local/eclipse/.options
>> -vm /usr/local/java/jre/bin/java
>> -vmargs
>> -Xms40m
>> -Xmx256m
>> -jar /usr/local/eclipse/./startup.jar
>> Install location:
>> file:/usr/local/eclipse/
>> Configuration file:
>> file:/usr/local/eclipse/configuration/config.ini loaded
>> Configuration location:
>> file:/usr/local/eclipse/configuration/
>> Framework located:
>> file:/usr/local/eclipse/plugins/org.eclipse.osgi_3.1.0.jar
>> Framework classpath:
>> file:/usr/local/eclipse/plugins/org.eclipse.osgi_3.1.0.jar
>> Splash location:
>> /usr/local/eclipse/plugins/org.eclipse.platform_3.1.0/splash .bmp
>> runCommand:
>>
>> </usr/local/eclipse/./eclipse><-name><Eclipse><-showsplash ><600>< /usr/local/eclipse/plugins/org.eclipse.platform_3.1.0/splash .bmp >
>> Debug options:
>> file:/usr/local/eclipse/.options loaded
>> Time to load bundles: 15
>> Starting application: 729
>> [1,127,327,219,055]
>> gdb --cd=/home/jrodgers/makesystem/bbs_main/cpp_cgi_apps --command=.gdbinit
>> -q -\
>> nw -tty /dev/pts/1 -i mi
>> /home/jrodgers/makesystem/bbs_main/cpp_cgi_apps/cgi_source/b otrevmatch
>> [1,127,327,219,105] 1-gdb-set confirm off
>> [1,127,327,219,106] 1^done
>> [1,127,327,219,120] (gdb)
>> [1,127,327,219,130] 2-gdb-set width 0
>> [1,127,327,219,141] 2^done
>> [1,127,327,219,141] (gdb)
>> [1,127,327,219,142] 3-gdb-set height 0
>> [1,127,327,219,142] 3^done
>> [1,127,327,219,142] (gdb)
>> [1,127,327,219,155] 4-interpreter-exec console echo
>> [1,127,327,219,157] 4^done
>> [1,127,327,219,169] 5-gdb-show prompt
>> [1,127,327,219,168] (gdb)
>> [1,127,327,219,181] 5^done,value="(gdb) "
>> [1,127,327,219,184] 6-stack-list-frames
>> [1,127,327,219,191] (gdb)
>> [1,127,327,219,204] &"mi_cmd_stack_list_frames: No stack.\n"
>> [1,127,327,219,205] 6^error,msg="mi_cmd_stack_list_frames: No stack."
>> [1,127,327,219,347] 7-gdb-set auto-solib-add on
>> [1,127,327,219,352] (gdb)
>> [1,127,327,219,376] 7^done
>> [1,127,327,219,376] 8-gdb-set stop-on-solib-events 0
>> [1,127,327,219,376] (gdb)
>> [1,127,327,219,384] 8^done
>> [1,127,327,219,384] 9-gdb-set stop-on-solib-events 1
>> [1,127,327,219,385] (gdb)
>> [1,127,327,219,392] 9^done
>> [1,127,327,219,572] 10-environment-cd
>> /home/jrodgers/makesystem/bbs_main/cpp_cgi_apps
>> [1,127,327,219,573] (gdb)
>> [1,127,327,219,573] 10^done
>> [1,127,327,219,729] 11-environment-directory
>> /home/jrodgers/makesystem/bbs_main/cpp_cgi_apps /home/j\
>> rodgers/makesystem/bbs_main/cpp_cgi_apps/autom4te.cache
>> /home/jrodgers/makesystem/bbs_main/cpp_cgi_a\
>> pps/cgi_source
>> /home/jrodgers/makesystem/bbs_main/cpp_cgi_apps/cgi_source/. deps
>> [1,127,327,219,734] (gdb)
>> [1,127,327,219,749]
>> 11^done,source-path=" /home/jrodgers/makesystem/bbs_main/cpp_cgi_apps:/home/jrodg\
>> ers/makesystem/bbs_main/cpp_cgi_apps/autom4te.cache:/home/jr odgers/makesystem/bbs_main/cpp_cgi_apps/\
>> cgi_source:/home/jrodgers/makesystem/bbs_main/cpp_cgi_apps/c gi_source/.deps:$cdir:$cwd "
>> [1,127,327,219,760] 12 info threads
>> [1,127,327,219,769] (gdb)
>> [1,127,327,219,769] &"info threads\n"
>> [1,127,327,219,769] &"No registers.\n"
>> [1,127,327,219,770] 12^error,msg="No registers."
>> [1,127,327,219,792] 13-data-list-register-names
>> [1,127,327,219,809] (gdb)
>> [1,127,327,219,809]
>> 13^done,register-names=["eax","ecx","edx","ebx","esp ","ebp","esi","edi","eip","e\
>> flags","cs","ss","ds","es","fs","gs","st0","st1 ","st2","st3","st4","st5","st6","st7","fctrl", "fstat"\
>> ,"ftag","fiseg","fioff","foseg","fooff","fop","xmm0 ","xmm1","xmm2","xmm3","xmm4","xmm5","xmm6","xmm7\
>> ","mxcsr","orig_eax","mm0","mm1","mm2","mm3","mm4 ","mm5","mm6","mm7"]
>> [1,127,327,219,836] 14-break-insert botrevmatch.cpp:18
>> [1,127,327,219,913] (gdb)
>> [1,127,327,219,915]
>> 14^done,bkpt={number="1",type="breakpoint",disp="keep",enabled= "y",addr="0x08049\
>> 9f9",func="main",file="botrevmatch.cpp",line="18",times= "0"}
>> [1,127,327,219,927] 15-break-insert -t main
>> [1,127,327,219,942] (gdb)
>> [1,127,327,219,943]
>> 15^done,bkpt={number="2",type="breakpoint",disp="del",enabled= "y",addr="0x080499\
>> f9",func="main",file="botrevmatch.cpp",line="18",times= "0"}
>> [1,127,327,219,943] 16-exec-run
>> [1,127,327,219,952] (gdb)
>> [1,127,327,219,953] 16^running
>> [1,127,327,219,958] (gdb)
>> [1,127,327,220,082] ~"Stopped due to shared library event\n"
>> [1,127,327,220,119] 16*stopped,thread-id="0"
>> [1,127,327,220,121] 17 info program
>> [1,127,327,220,137] (gdb)
>> [1,127,327,220,138] &"info program\n"
>> [1,127,327,220,164] ~"\tUsing the running image of child process 6235.\n"
>> [1,127,327,220,165] ~"Program stopped at 0xb75f82b0.\n"
>> [1,127,327,220,165] ~"It stopped at a breakpoint that has since been
>> deleted.\n"[1,127,327,220,174] ~"Type \"info stack\" or \"info
>> registers\" for more information.\n"
>> [1,127,327,220,174] 17^done
>> [1,127,327,220,176] 18 info sharedlibrary
>> [1,127,327,220,191] (gdb)
>> [1,127,327,220,192] &"info sharedlibrary\n"
>> [1,127,327,220,192] ~"From To Syms Read Shared Object
>> Library\n"
>> [1,127,327,220,193] ~"0xb75cb9e0 0xb75d3f24 Yes /usr/lib/libz.so.1\n"
>> [1,127,327,220,211] ~"0xb759f5d0 0xb75bdf30 Yes
>> /usr/lib/libstdc++-libc6.2-2.so.3\n"
>> [1,127,327,220,212] ~"0xb7568500 0xb757fdac Yes /lib/tls/libm.so.6\n"
>> [1,127,327,220,221] ~"0xb7443540 0xb753f1c8 Yes /lib/tls/libc.so.6\n"
>> [1,127,327,220,221] ~"0xb75ebc30 0xb75fd49f Yes /lib/ld-linux.so.2\n"
>> [1,127,327,220,221] 18^done
>> [1,127,327,220,234] 19-exec-continue
>> [1,127,327,220,249] (gdb)
>> [1,127,327,220,249] 19^running
>> [1,127,327,220,263] (gdb)
>> [1,127,327,220,279] ~"Stopped due to shared library event\n"
>> [1,127,327,220,288] 19*stopped,thread-id="0"
>> [1,127,327,220,288] 20 info sharedlibrary
>> [1,127,327,220,288] (gdb)
>> [1,127,327,220,289] &"info sharedlibrary\n"
>> [1,127,327,220,289] ~"From To Syms Read Shared Object
>> Library\n"
>> [1,127,327,220,299] ~"0xb75cb9e0 0xb75d3f24 Yes /usr/lib/libz.so.1\n"
>> [1,127,327,220,307] ~"0xb759f5d0 0xb75bdf30 Yes
>> /usr/lib/libstdc++-libc6.2-2.so.3\n"
>> [1,127,327,220,308] ~"0xb7568500 0xb757fdac Yes /lib/tls/libm.so.6\n"
>> [1,127,327,220,308] ~"0xb7443540 0xb753f1c8 Yes /lib/tls/libc.so.6\n"
>> [1,127,327,220,323] ~"0xb75ebc30 0xb75fd49f Yes /lib/ld-linux.so.2\n"
>> [1,127,327,220,323] 20^done
>> [1,127,327,220,324] 21-exec-continue
>> [1,127,327,220,332] (gdb)
>> [1,127,327,220,332] 21^running
>> [1,127,327,220,341] (gdb)
>> [1,127,327,220,355] ~"Stopped due to shared library event\n"
>> [1,127,327,220,371] 21*stopped,thread-id="0"
>> [1,127,327,220,385] 22 info sharedlibrary
>> [1,127,327,220,385] (gdb)
>> [1,127,327,220,385] &"info sharedlibrary\n"
>> [1,127,327,220,386] ~"From To Syms Read Shared Object
>> Library\n"
>> [1,127,327,220,394] ~"0xb75cb9e0 0xb75d3f24 Yes /usr/lib/libz.so.1\n"
>> [1,127,327,220,394] ~"0xb759f5d0 0xb75bdf30 Yes
>> /usr/lib/libstdc++-libc6.2-2.so.3\n"
>> [1,127,327,220,413] ~"0xb7568500 0xb757fdac Yes /lib/tls/libm.so.6\n"
>> [1,127,327,220,414] ~"0xb7443540 0xb753f1c8 Yes /lib/tls/libc.so.6\n"
>> [1,127,327,220,414] ~"0xb75ebc30 0xb75fd49f Yes /lib/ld-linux.so.2\n"
>> [1,127,327,220,414] 22^done
>> [1,127,327,220,415] 23-exec-continue
>> [1,127,327,220,423] (gdb)
>> [1,127,327,220,424] 23^running
>> [1,127,327,220,431] (gdb)
>> [1,127,327,220,452]
>> 23*stopped,reason="breakpoint-hit",bkptno="1",thread-id= "0",frame={addr="0x08049\
>> 9f9",func="main",args=[],file="botrevmatch.cpp",line="18 "}
>> [1,127,327,220,472] 24 info threads
>> [1,127,327,220,484] (gdb)
>> [1,127,327,220,484] &"info threads\n"
>> [1,127,327,220,501] 24^done
>> [1,127,327,220,516] 25-stack-info-depth
>> [1,127,327,220,516] (gdb)
>> [1,127,327,220,517] 25^done,depth="1"
>> [1,127,327,220,530] 26-stack-list-frames 0 1
>> [1,127,327,220,530] (gdb)
>> [1,127,327,220,543]
>> 26^done,stack=[frame={level="0",addr="0x080499f9",func="main ",file="botrevmatch.\
>> cpp",line="18"}]
>> [1,127,327,220,547] 27-data-list-changed-registers
>> [1,127,327,220,557] (gdb)
>> [1,127,327,220,557]
>> 27^done,changed-registers=["0","1","2","3","4","5 ","6","7","8","9","10","11","12\
>> ","13","15","24","26","40","41"]
>> [1,127,327,220,572] 28 info sharedlibrary
>> [1,127,327,220,583] (gdb)
>> [1,127,327,220,583] &"info sharedlibrary\n"
>> [1,127,327,220,596] ~"From To Syms Read Shared Object
>> Library\n"
>> [1,127,327,220,596] ~"0xb75cb9e0 0xb75d3f24 Yes /usr/lib/libz.so.1\n"
>> [1,127,327,220,597] ~"0xb759f5d0 0xb75bdf30 Yes
>> /usr/lib/libstdc++-libc6.2-2.so.3\n"
>> [1,127,327,220,611] ~"0xb7568500 0xb757fdac Yes /lib/tls/libm.so.6\n"
>> [1,127,327,220,611] ~"0xb7443540 0xb753f1c8 Yes /lib/tls/libc.so.6\n"
>> [1,127,327,220,612] ~"0xb75ebc30 0xb75fd49f Yes /lib/ld-linux.so.2\n"
>> [1,127,327,220,612] 28^done
>> [1,127,327,221,050] (gdb)
>>
>>>>>>> JMR CLICKED ON VARIABLES TAB <<<<<<<<<<
>>
>>
>> [[1,127,327,266,170] 29-stack-list-arguments 0 0 0
>> [1,127,327,266,171] 29^done,stack-args=[frame={level="0",args=[]}]
>> [1,127,327,266,171] (gdb)
>> [1,127,327,266,172] 30-stack-list-locals 0
>> [1,127,327,266,189]
>> 30^done,locals=[name="SECURITY_PASSWORD",name="CGI_KEY_LISTINGID ",name="CGI_KEY_\
>> DEBUG",name="listingId",name="matchedBotCommaList",name= "debug_mode",name="cgi"]
>> [1,127,327,266,189] (gdb)
>> [1,127,327,266,218] 31-var-create - * SECURITY_PASSWORD
>> [1,127,327,266,219] 31^done,name="var1",numchild="1",type="TString"
>> [1,127,327,266,219] (gdb)
>> [1,127,327,266,238] 32 ptype TString
>> [1,127,327,266,256] &"ptype TString\n"
>> [1,127,327,266,256] ~"type = class TString {\n"
>> [1,127,327,266,256] ~" private:\n"
>> [1,127,327,266,256] ~" unsigned char *data;\n"
>> [1,127,327,266,256] ~" char *work;\n"
>> [1,127,327,266,256] ~" int len;\n"
>> [1,127,327,266,256] ~" int capacity;\n"
>> [1,127,327,266,257] ~" bool changed;\n"
>> [1,127,327,266,257] ~"\n"
>> [1,127,327,266,257] ~" public:\n"
>> [1,127,327,266,257] ~" ~TString(void);\n"
>> [1,127,327,266,257] ~" TString(void);\n"
>> [1,127,327,266,257] ~" TString(TString const &);\n"
>> [1,127,327,266,257] ~" TString(char const *);\n"
>> [1,127,327,266,257] ~" bool operator==(TString const &) const;\n"
>> [1,127,327,266,258] ~" bool equals(TString const &) const;\n"
>> [1,127,327,266,258] ~" bool equalsIgnoreCase(TString const &)
>> const;\n"
>> [1,127,327,266,258] ~" bool operator!=(TString const &) const;\n"
>> [1,127,327,266,258] ~" TString & operator=(TString const &);\n"
>> [1,127,327,266,258] ~" TString & operator=(char const *);\n"
>> [1,127,327,266,258] ~" void assign(TString const &);\n"
>> [1,127,327,266,258] ~" void assign(char const *);\n"
>> [1,127,327,266,258] ~" void assign(char const *, int);\n"
>> [1,127,327,266,258] ~" TString & operator+=(TString const &);\n"
>> [1,127,327,266,259] ~" TString & operator+=(char const *);\n"
>> [1,127,327,266,259] ~" TString & operator+=(char);\n"
>> [1,127,327,266,259] ~" void append(TString const &);\n"
>> [1,127,327,266,259] ~" void append(char const *);\n"
>> [1,127,327,266,259] ~" void append(char);\n"
>> [1,127,327,266,259] ~" void append(int, char const *);\n"
>> [1,127,327,266,259] ~" unsigned char & operator[](int) const;\n"
>> [1,127,327,266,259] ~" int compare(TString const &) const;\n"
>> [1,127,327,266,260] ~" int compareIgnoreCase(TString const &)
>> const;\n"
>> [1,127,327,266,260] ~" int compare(TString const &, int, int)
>> const;\n"
>> [1,127,327,266,260] ~" int compareIgnoreCase(TString const &, int,
>> int) const;\n"
>> [1,127,327,266,260] ~" int compareMiddle(TString const &, int, int)
>> const;\n"
>> [1,127,327,266,260] ~" bool containsNonPrintable(bool) const;\n"
>> [1,127,327,266,260] ~" bool isDigit(int) const;\n"
>> [1,127,327,266,260] ~" int getDigit(int) const;\n"
>> [1,127,327,266,260] ~" bool isLetter(int) const;\n"
>> [1,127,327,266,261] ~" int find(TString const &, int) const;\n"
>> [1,127,327,266,261] ~" int findIgnoreCase(TString const &, int)
>> const;\n"
>> [1,127,327,266,261] ~" int find_first_of(TString const &, int)
>> const;\n"
>> [1,127,327,266,261] ~" int find_first_not_of(TString const &, int)
>> const;\n"
>> [1,127,327,266,261] ~" int rfind(TString const &) const;\n"
>> [1,127,327,266,261] ~" int find_last_of(TString const &) const;\n"
>> [1,127,327,266,261] ~" TString substr(int) const;\n"
>> [1,127,327,266,261] ~" TString substr(int, int) const;\n"
>> [1,127,327,266,262] ~" TString substrByPosition(int, int) const;\n"
>> [1,127,327,266,262] ~" void insert(int, char const *);\n"
>> [1,127,327,266,262] ~" void insert(int, TString const &);\n"
>> [1,127,327,266,262] ~" void replace(int, int, TString const &);\n"
>> [1,127,327,266,262] ~" void erase(int, int);\n"
>> [1,127,327,266,262] ~" void remove(char);\n"
>> [1,127,327,266,262] ~" char * c_str(void) const;\n"
>> [1,127,327,266,262] ~" int length(void) const;\n"
>> [1,127,327,266,263] ~" int size(void) const;\n"
>> [1,127,327,266,263] ~" void reserve(int);\n"
>> [1,127,327,266,263] ~" void eraseAll(void);\n"
>> [1,127,327,266,263] ~" void toUpperCase(void);\n"
>> [1,127,327,266,263] ~" void toLowerCase(void);\n"
>> [1,127,327,266,263] ~" TString removeNonAlphaNumeric(void) const;\n"
>> [1,127,327,266,263] ~" TString makeDiomoSafe(void) const;\n"
>> [1,127,327,266,264] ~" TString removeNonAlpha(void) const;\n"
>> [1,127,327,266,264] ~" TString removeNonNumeric(void) const;\n"
>> [1,127,327,266,264] ~" TString URLEncode(bool);\n"
>> [1,127,327,266,264] ~" TString compact(void);\n"
>> [1,127,327,266,264] ~" int isEmailAddress(void);\n"
>> [1,127,327,266,264] ~" TString toHTML(void);\n"
>> [1,127,327,266,281] ~" bool endsWith(TString const &) const;\n"
>> [1,127,327,266,281] ~" bool startsWith(TString const &) const;\n"
>> [1,127,327,266,282] ~"}\n"
>> [1,127,327,266,282] 32^done
>> [1,127,327,266,282] (gdb)
>> [1,127,327,266,375] 33-var-create - * CGI_KEY_LISTINGID
>> [1,127,327,266,375] 33^done,name="var2",numchild="1",type="TString"
>> [1,127,327,266,376] (gdb)
>> [1,127,327,266,376] 34 ptype TString
>> [1,127,327,266,381] &"ptype TString\n"
>> [1,127,327,266,381] ~"type = class TString {\n"
>> [1,127,327,266,381] ~" private:\n"
>> [1,127,327,266,381] ~" unsigned char *data;\n"
>> [1,127,327,266,381] ~" char *work;\n"
>> [1,127,327,266,381] ~" int len;\n"
>> [1,127,327,266,381] ~" int capacity;\n"
>> [1,127,327,266,382] ~" bool changed;\n"
>> [1,127,327,266,382] ~"\n"
>> [1,127,327,266,382] ~" public:\n"
>> [1,127,327,266,382] ~" ~TString(void);\n"
>> [1,127,327,266,382] ~" TString(void);\n"
>> [1,127,327,266,382] ~" TString(TString const &);\n"
>> [1,127,327,266,382] ~" TString(char const *);\n"
>> [1,127,327,266,382] ~" bool operator==(TString const &) const;\n"
>> [1,127,327,266,383] ~" bool equals(TString const &) const;\n"
>> [1,127,327,266,383] ~" bool equalsIgnoreCase(TString const &)
>> const;\n"
>> [1,127,327,266,383] ~" bool operator!=(TString const &) const;\n"
>> [1,127,327,266,383] ~" TString & operator=(TString const &);\n"
>> [1,127,327,266,383] ~" TString & operator=(char const *);\n"
>> [1,127,327,266,383] ~" void assign(TString const &);\n"
>> [1,127,327,266,383] ~" void assign(char const *);\n"
>> [1,127,327,266,383] ~" void assign(char const *, int);\n"
>> [1,127,327,266,383] ~" TString & operator+=(TString const &);\n"
>> [1,127,327,266,384] ~" TString & operator+=(char const *);\n"
>> [1,127,327,266,384] ~" TString & operator+=(char);\n"
>> [1,127,327,266,384] ~" void append(TString const &);\n"
>> [1,127,327,266,384] ~" void append(char const *);\n"
>> [1,127,327,266,384] ~" void append(char);\n"
>> [1,127,327,266,384] ~" void append(int, char const *);\n"
>> [1,127,327,266,384] ~" unsigned char & operator[](int) const;\n"
>> [1,127,327,266,384] ~" int compare(TString const &) const;\n"
>> [1,127,327,266,385] ~" int compareIgnoreCase(TString const &)
>> const;\n"
>> [1,127,327,266,385] ~" int compare(TString const &, int, int)
>> const;\n"
>> [1,127,327,266,385] ~" int compareIgnoreCase(TString const &, int,
>> int) const;\n"
>> [1,127,327,266,385] ~" int compareMiddle(TString const &, int, int)
>> const;\n"
>> [1,127,327,266,385] ~" bool containsNonPrintable(bool) const;\n"
>> [1,127,327,266,385] ~" bool isDigit(int) const;\n"
>> [1,127,327,266,385] ~" int getDigit(int) const;\n"
>> [1,127,327,266,386] ~" bool isLetter(int) const;\n"
>> [1,127,327,266,386] ~" int find(TString const &, int) const;\n"
>> [1,127,327,266,386] ~" int findIgnoreCase(TString const &, int)
>> const;\n"
>> [1,127,327,266,386] ~" int find_first_of(TString const &, int)
>> const;\n"
>> [1,127,327,266,386] ~" int find_first_not_of(TString const &, int)
>> const;\n"
>> [1,127,327,266,386] ~" int rfind(TString const &) const;\n"
>> [1,127,327,266,386] ~" int find_last_of(TString const &) const;\n"
>> [1,127,327,266,387] ~" TString substr(int) const;\n"
>> [1,127,327,266,387] ~" TString substr(int, int) const;\n"
>> [1,127,327,266,387] ~" TString substrByPosition(int, int) const;\n"
>> [1,127,327,266,387] ~" void insert(int, char const *);\n"
>> [1,127,327,266,387] ~" void insert(int, TString const &);\n"
>> [1,127,327,266,387] ~" void replace(int, int, TString const &);\n"
>> [1,127,327,266,387] ~" void erase(int, int);\n"
>> [1,127,327,266,387] ~" void remove(char);\n"
>> [1,127,327,266,388] ~" char * c_str(void) const;\n"
>> [1,127,327,266,388] ~" int length(void) const;\n"
>> [1,127,327,266,388] ~" int size(void) const;\n"
>> [1,127,327,266,388] ~" void reserve(int);\n"
>> [1,127,327,266,388] ~" void eraseAll(void);\n"
>> [1,127,327,266,388] ~" void toUpperCase(void);\n"
>> [1,127,327,266,388] ~" void toLowerCase(void);\n"
>> [1,127,327,266,389] ~" TString removeNonAlphaNumeric(void) const;\n"
>> [1,127,327,266,389] ~" TString makeDiomoSafe(void) const;\n"
>> [1,127,327,266,389] ~" TString removeNonAlpha(void) const;\n"
>> [1,127,327,266,389] ~" TString removeNonNumeric(void) const;\n"
>> [1,127,327,266,389] ~" TString URLEncode(bool);\n"
>> [1,127,327,266,389] ~" TString compact(void);\n"
>> [1,127,327,266,389] ~" int isEmailAddress(void);\n"
>> [1,127,327,266,390] ~" TString toHTML(void);\n"
>> [1,127,327,266,402] ~" bool endsWith(TString const &) const;\n"
>> [1,127,327,266,402] ~" bool startsWith(TString const &) const;\n"
>> [1,127,327,266,402] ~"}\n"
>> [1,127,327,266,403] 34^done
>> [1,127,327,266,403] (gdb)
>> [1,127,327,266,423] 35-var-create - * CGI_KEY_DEBUG
>> [1,127,327,266,423] 35^done,name="var3",numchild="1",type="TString"
>> [1,127,327,266,423] (gdb)
>> [1,127,327,266,426] 36 ptype TString
>> [1,127,327,266,429] &"ptype TString\n"
>> [1,127,327,266,429] ~"type = class TString {\n"
>> [1,127,327,266,429] ~" private:\n"
>> [1,127,327,266,430] ~" unsigned char *data;\n"
>> [1,127,327,266,430] ~" char *work;\n"
>> [1,127,327,266,430] ~" int len;\n"
>> [1,127,327,266,430] ~" int capacity;\n"
>> [1,127,327,266,430] ~" bool changed;\n"
>> [1,127,327,266,430] ~"\n"
>> [1,127,327,266,430] ~" public:\n"
>> [1,127,327,266,431] ~" ~TString(void);\n"
>> [1,127,327,266,431] ~" TString(void);\n"
>> [1,127,327,266,431] ~" TString(TString const &);\n"
>> [1,127,327,266,431] ~" TString(char const *);\n"
>> [1,127,327,266,431] ~" bool operator==(TString const &) const;\n"
>> [1,127,327,266,431] ~" bool equals(TString const &) const;\n"
>> [1,127,327,266,431] ~" bool equalsIgnoreCase(TString const &)
>> const;\n"
>> [1,127,327,266,431] ~" bool operator!=(TString const &) const;\n"
>> [1,127,327,266,432] ~" TString & operator=(TString const &);\n"
>> [1,127,327,266,432] ~" TString & operator=(char const *);\n"
>> [1,127,327,266,432] ~" void assign(TString const &);\n"
>> [1,127,327,266,432] ~" void assign(char const *);\n"
>> [1,127,327,266,432] ~" void assign(char const *, int);\n"
>> [1,127,327,266,432] ~" TString & operator+=(TString const &);\n"
>> [1,127,327,266,432] ~" TString & operator+=(char const *);\n"
>> [1,127,327,266,432] ~" TString & operator+=(char);\n"
>> [1,127,327,266,433] ~" void append(TString const &);\n"
>> [1,127,327,266,433] ~" void append(char const *);\n"
>> [1,127,327,266,433] ~" void append(char);\n"
>> [1,127,327,266,433] ~" void append(int, char const *);\n"
>> [1,127,327,266,433] ~" unsigned char & operator[](int) const;\n"
>> [1,127,327,266,433] ~" int compare(TString const &) const;\n"
>> [1,127,327,266,433] ~" int compareIgnoreCase(TString const &)
>> const;\n"
>> [1,127,327,266,433] ~" int compare(TString const &, int, int)
>> const;\n"
>> [1,127,327,266,433] ~" int compareIgnoreCase(TString const &, int,
>> int) const;\n"
>> [1,127,327,266,434] ~" int compareMiddle(TString const &, int, int)
>> const;\n"
>> [1,127,327,266,434] ~" bool containsNonPrintable(bool) const;\n"
>> [1,127,327,266,434] ~" bool isDigit(int) const;\n"
>> [1,127,327,266,434] ~" int getDigit(int) const;\n"
>> [1,127,327,266,434] ~" bool isLetter(int) const;\n"
>> [1,127,327,266,434] ~" int find(TString const &, int) const;\n"
>> [1,127,327,266,434] ~" int findIgnoreCase(TString const &, int)
>> const;\n"
>> [1,127,327,266,434] ~" int find_first_of(TString const &, int)
>> const;\n"
>> [1,127,327,266,435] ~" int find_first_not_of(TString const &, int)
>> const;\n"
>> [1,127,327,266,435] ~" int rfind(TString const &) const;\n"
>> [1,127,327,266,435] ~" int find_last_of(TString const &) const;\n"
>> [1,127,327,266,436] ~" TString substr(int) const;\n"
>> [1,127,327,266,437] ~" TString substr(int, int) const;\n"
>> [1,127,327,266,437] ~" TString substrByPosition(int, int) const;\n"
>> [1,127,327,266,437] ~" void insert(int, char const *);\n"
>> [1,127,327,266,437] ~" void insert(int, TString const &);\n"
>> [1,127,327,266,437] ~" void replace(int, int, TString const &);\n"
>> [1,127,327,266,437] ~" void erase(int, int);\n"
>> [1,127,327,266,437] ~" void remove(char);\n"
>> [1,127,327,266,437] ~" char * c_str(void) const;\n"
>> [1,127,327,266,438] ~" int length(void) const;\n"
>> [1,127,327,266,438] ~" int size(void) const;\n"
>> [1,127,327,266,438] ~" void reserve(int);\n"
>> [1,127,327,266,438] ~" void eraseAll(void);\n"
>> [1,127,327,266,438] ~" void toUpperCase(void);\n"
>> [1,127,327,266,438] ~" void toLowerCase(void);\n"
>> [1,127,327,266,438] ~" TString removeNonAlphaNumeric(void) const;\n"
>> [1,127,327,266,439] ~" TString makeDiomoSafe(void) const;\n"
>> [1,127,327,266,439] ~" TString removeNonAlpha(void) const;\n"
>> [1,127,327,266,439] ~" TString removeNonNumeric(void) const;\n"
>> [1,127,327,266,439] ~" TString URLEncode(bool);\n"
>> [1,127,327,266,439] ~" TString compact(void);\n"
>> [1,127,327,266,439] ~" int isEmailAddress(void);\n"
>> [1,127,327,266,439] ~" TString toHTML(void);\n"
>> [1,127,327,266,440] ~" bool endsWith(TString const &) const;\n"
>> [1,127,327,266,440] ~" bool startsWith(TString const &) const;\n"
>> [1,127,327,266,440] ~"}\n"
>> [1,127,327,266,440] 36^done
>> [1,127,327,266,441] (gdb)
>> [1,127,327,266,460] 37-var-create - * listingId
>> [1,127,327,266,460] 37^done,name="var4",numchild="1",type="TString"
>> [1,127,327,266,461] (gdb)
>> [1,127,327,266,462] 38 ptype TString
>> [1,127,327,266,465] &"ptype TString\n"
>> [1,127,327,266,465] ~"type = class TString {\n"
>> [1,127,327,266,466] ~" private:\n"
>> [1,127,327,266,466] ~" unsigned char *data;\n"
>> [1,127,327,266,466] ~" char *work;\n"
>> [1,127,327,266,466] ~" int len;\n"
>> [1,127,327,266,466] ~" int capacity;\n"
>> [1,127,327,266,466] ~" bool changed;\n"
>> [1,127,327,266,466] ~"\n"
>> [1,127,327,266,466] ~" public:\n"
>> [1,127,327,266,466] ~" ~TString(void);\n"
>> [1,127,327,266,467] ~" TString(void);\n"
>> [1,127,327,266,467] ~" TString(TString const &);\n"
>> [1,127,327,266,467] ~" TString(char const *);\n"
>> [1,127,327,266,467] ~" bool operator==(TString const &) const;\n"
>> [1,127,327,266,467] ~" bool equals(TString const &) const;\n"
>> [1,127,327,266,467] ~" bool equalsIgnoreCase(TString const &)
>> const;\n"
>> [1,127,327,266,467] ~" bool operator!=(TString const &) const;\n"
>> [1,127,327,266,467] ~" TString & operator=(TString const &);\n"
>> [1,127,327,266,467] ~" TString & operator=(char const *);\n"
>> [1,127,327,266,468] ~" void assign(TString const &);\n"
>> [1,127,327,266,468] ~" void assign(char const *);\n"
>> [1,127,327,266,468] ~" void assign(char const *, int);\n"
>> [1,127,327,266,468] ~" TString & operator+=(TString const &);\n"
>> [1,127,327,266,468] ~" TString & operator+=(char const *);\n"
>> [1,127,327,266,468] ~" TString & operator+=(char);\n"
>> [1,127,327,266,468] ~" void append(TString const &);\n"
>> [1,127,327,266,468] ~" void append(char const *);\n"
>> [1,127,327,266,468] ~" void append(char);\n"
>> [1,127,327,266,469] ~" void append(int, char const *);\n"
>> [1,127,327,266,469] ~" unsigned char & operator[](int) const;\n"
>> [1,127,327,266,469] ~" int compare(TString const &) const;\n"
>> [1,127,327,266,469] ~" int compareIgnoreCase(TString const &)
>> const;\n"
>> [1,127,327,266,469] ~" int compare(TString const &, int, int)
>> const;\n"
>> [1,127,327,266,469] ~" int compareIgnoreCase(TString const &, int,
>> int) const;\n"
>> [1,127,327,266,469] ~" int compareMiddle(TString const &, int, int)
>> const;\n"
>> [1,127,327,266,469] ~" bool containsNonPrintable(bool) const;\n"
>> [1,127,327,266,470] ~" bool isDigit(int) const;\n"
>> [1,127,327,266,470] ~" int getDigit(int) const;\n"
>> [1,127,327,266,470] ~" bool isLetter(int) const;\n"
>> [1,127,327,266,470] ~" int find(TString const &, int) const;\n"
>> [1,127,327,266,470] ~" int findIgnoreCase(TString const &, int)
>> const;\n"
>> [1,127,327,266,470] ~" int find_first_of(TString const &, int)
>> const;\n"
>> [1,127,327,266,470] ~" int find_first_not_of(TString const &, int)
>> const;\n"
>> [1,127,327,266,470] ~" int rfind(TString const &) const;\n"
>> [1,127,327,266,470] ~" int find_last_of(TString const &) const;\n"
>> [1,127,327,266,471] ~" TString substr(int) const;\n"
>> [1,127,327,266,471] ~" TString substr(int, int) const;\n"
>> [1,127,327,266,471] ~" TString substrByPosition(int, int) const;\n"
>> [1,127,327,266,471] ~" void insert(int, char const *);\n"
>> [1,127,327,266,471] ~" void insert(int, TString const &);\n"
>> [1,127,327,266,471] ~" void replace(int, int, TString const &);\n"
>> [1,127,327,266,471] ~" void erase(int, int);\n"
>> [1,127,327,266,471] ~" void remove(char);\n"
>> [1,127,327,266,472] ~" char * c_str(void) const;\n"
>> [1,127,327,266,472] ~" int length(void) const;\n"
>> [1,127,327,266,472] ~" int size(void) const;\n"
>> [1,127,327,266,472] ~" void reserve(int);\n"
>> [1,127,327,266,472] ~" void eraseAll(void);\n"
>> [1,127,327,266,472] ~" void toUpperCase(void);\n"
>> [1,127,327,266,472] ~" void toLowerCase(void);\n"
>> [1,127,327,266,472] ~" TString removeNonAlphaNumeric(void) const;\n"
>> [1,127,327,266,472] ~" TString makeDiomoSafe(void) const;\n"
>> [1,127,327,266,473] ~" TString removeNonAlpha(void) const;\n"
>> [1,127,327,266,473] ~" TString removeNonNumeric(void) const;\n"
>> [1,127,327,266,473] ~" TString URLEncode(bool);\n"
>> [1,127,327,266,473] ~" TString compact(void);\n"
>> [1,127,327,266,474] ~" int isEmailAddress(void);\n"
>> [1,127,327,266,474] ~" TString toHTML(void);\n"
>> [1,127,327,266,474] ~" bool endsWith(TString const &) const;\n"
>> [1,127,327,266,474] ~" bool startsWith(TString const &) const;\n"
>> [1,127,327,266,474] ~"}\n"
>> [1,127,327,266,474] 38^done
>> [1,127,327,266,475] (gdb)
>> [1,127,327,266,494] 39-var-create - * matchedBotCommaList
>> [1,127,327,266,495] 39^done,name="var5",numchild="1",type="TString"
>> [1,127,327,266,495] (gdb)
>> [1,127,327,266,495] 40 ptype TString
>> [1,127,327,266,498] &"ptype TString\n"
>> [1,127,327,266,498] ~"type = class TString {\n"
>> [1,127,327,266,498] ~" private:\n"
>> [1,127,327,266,498] ~" unsigned char *data;\n"
>> [1,127,327,266,499] ~" char *work;\n"
>> [1,127,327,266,499] ~" int len;\n"
>> [1,127,327,266,499] ~" int capacity;\n"
>> [1,127,327,266,499] ~" bool changed;\n"
>> [1,127,327,266,499] ~"\n"
>> [1,127,327,266,505] ~" public:\n"
>> [1,127,327,266,505] ~" ~TString(void);\n"
>> [1,127,327,266,505] ~" TString(void);\n"
>> [1,127,327,266,505] ~" TString(TString const &);\n"
>> [1,127,327,266,505] ~" TString(char const *);\n"
>> [1,127,327,266,505] ~" bool operator==(TString const &) const;\n"
>> [1,127,327,266,506] ~" bool equals(TString const &) const;\n"
>> [1,127,327,266,506] ~" bool equalsIgnoreCase(TString const &)
>> const;\n"
>> [1,127,327,266,506] ~" bool operator!=(TString const &) const;\n"
>> [1,127,327,266,506] ~" TString & operator=(TString const &);\n"
>> [1,127,327,266,506] ~" TString & operator=(char const *);\n"
>> [1,127,327,266,506] ~" void assign(TString const &);\n"
>> [1,127,327,266,506] ~" void assign(char const *);\n"
>> [1,127,327,266,506] ~" void assign(char const *, int);\n"
>> [1,127,327,266,506] ~" TString & operator+=(TString const &);\n"
>> [1,127,327,266,507] ~" TString & operator+=(char const *);\n"
>> [1,127,327,266,507] ~" TString & operator+=(char);\n"
>> [1,127,327,266,507] ~" void append(TString const &);\n"
>> [1,127,327,266,507] ~" void append(char const *);\n"
>> [1,127,327,266,507] ~" void append(char);\n"
>> [1,127,327,266,507] ~" void append(int, char const *);\n"
>> [1,127,327,266,507] ~" unsigned char & operator[](int) const;\n"
>> [1,127,327,266,507] ~" int compare(TString const &) const;\n"
>> [1,127,327,266,507] ~" int compareIgnoreCase(TString const &)
>> const;\n"
>> [1,127,327,266,508] ~" int compare(TString const &, int, int)
>> const;\n"
>> [1,127,327,266,508] ~" int compareIgnoreCase(TString const &, int,
>> int) const;\n"
>> [1,127,327,266,508] ~" int compareMiddle(TString const &, int, int)
>> const;\n"
>> [1,127,327,266,508] ~" bool containsNonPrintable(bool) const;\n"
>> [1,127,327,266,508] ~" bool isDigit(int) const;\n"
>> [1,127,327,266,508] ~" int getDigit(int) const;\n"
>> [1,127,327,266,509] ~" bool isLetter(int) const;\n"
>> [1,127,327,266,509] ~" int find(TString const &, int) const;\n"
>> [1,127,327,266,509] ~" int findIgnoreCase(TString const &, int)
>> const;\n"
>> [1,127,327,266,509] ~" int find_first_of(TString const &, int)
>> const;\n"
>> [1,127,327,266,510] ~" int find_first_not_of(TString const &, int)
>> const;\n"
>> [1,127,327,266,510] ~" int rfind(TString const &) const;\n"
>> [1,127,327,266,510] ~" int find_last_of(TString const &) const;\n"
>> [1,127,327,266,510] ~" TString substr(int) const;\n"
>> [1,127,327,266,510] ~" TString substr(int, int) const;\n"
>> [1,127,327,266,510] ~" TString substrByPosition(int, int) const;\n"
>> [1,127,327,266,510] ~" void insert(int, char const *);\n"
>> [1,127,327,266,511] ~" void insert(int, TString const &);\n"
>> [1,127,327,266,511] ~" void replace(int, int, TString const &);\n"
>> [1,127,327,266,511] ~" void erase(int, int);\n"
>> [1,127,327,266,511] ~" void remove(char);\n"
>> [1,127,327,266,511] ~" char * c_str(void) const;\n"
>> [1,127,327,266,511] ~" int length(void) const;\n"
>> [1,127,327,266,511] ~" int size(void) const;\n"
>> [1,127,327,266,511] ~" void reserve(int);\n"
>> [1,127,327,266,512] ~" void eraseAll(void);\n"
>> [1,127,327,266,512] ~" void toUpperCase(void);\n"
>> [1,127,327,266,512] ~" void toLowerCase(void);\n"
>> [1,127,327,266,512] ~" TString removeNonAlphaNumeric(void) const;\n"
>> [1,127,327,266,512] ~" TString makeDiomoSafe(void) const;\n"
>> [1,127,327,266,512] ~" TString removeNonAlpha(void) const;\n"
>> [1,127,327,266,512] ~" TString removeNonNumeric(void) const;\n"
>> [1,127,327,266,512] ~" TString URLEncode(bool);\n"
>> [1,127,327,266,513] ~" TString compact(void);\n"
>> [1,127,327,266,513] ~" int isEmailAddress(void);\n"
>> [1,127,327,266,513] ~" TString toHTML(void);\n"
>> [1,127,327,266,513] ~" bool endsWith(TString const &) const;\n"
>> [1,127,327,266,513] ~" bool startsWith(TString const &) const;\n"
>> [1,127,327,266,513] ~"}\n"
>> [1,127,327,266,514] 40^done
>> [1,127,327,266,514] (gdb)
>> [1,127,327,266,534] 41-var-create - * debug_mode
>> [1,127,327,266,534] 41^done,name="var6",numchild="0",type="bool"
>> [1,127,327,266,534] (gdb)
>> [1,127,327,266,535] 42-var-create - * cgi
>> [1,127,327,266,549] 42^done,name="var7",numchild="1",type="CGI"
>> [1,127,327,266,550] (gdb)
>> [1,127,327,266,557] 43 ptype CGI
>> [1,127,327,266,558] &"ptype CGI\n"
>> [1,127,327,266,558] ~"type = class CGI {\n"
>> [1,127,327,266,558] ~" private:\n"
>> [1,127,327,266,558] ~" TPairs data;\n"
>> [1,127,327,266,558] ~"\n"
>> [1,127,327,266,558] ~" public:\n"
>> [1,127,327,266,559] ~" CGI & operator=(CGI const &);\n"
>> [1,127,327,266,559] ~" ~CGI(void);\n"
>> [1,127,327,266,587] 44-gdb-exit
>>
>>
>>
>>
>>
>>
>>
>> "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
>> news:dgs65k$948$1@news.eclipse.org...
>>> The messages below are not errors and have no relation to the problem.
>>> gdb crashes when the CDT debugger tries to retrieve a variable-related
>>> information.
>>> If you want to dig deeper and find out which gdb command is causing the
>>> problem, get the gdb trace. On how to do it see the CDT Debugger FAQ #5.
>>>
>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>> news:dgs4pc$781$1@news.eclipse.org...
>>>> AHHHH - A clue.... I just happened to have the breakpoints tab
>>>> selected and was able to break and step through code - HOWEVER when I
>>>> then selected the variables tab (the whole of debugging for me from
>>>> within Eclipse) I crashed with the errors below...
>>>>
>>>> Does this info help?
>>>>
>>>> -Jerry
>>>>
>>>>
>>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>>> news:dgs4ic$6th$1@news.eclipse.org...
>>>>> Hi,
>>>>>
>>>>> I am at a loss - I upgraded the GDB and still no luck when I hit a
>>>>> break point the program is terminated with the following error. with
>>>>> no break points set the program runs fine via Eclipse - GDB and DDD
>>>>> all still work for debugging. Do you have any other ideas? Thanks for
>>>>> all your help.
>>>>>
>>>>>>>> Eclipse console error
>>>>> Stopped due to shared library event
>>>>> Stopped due to shared library event
>>>>> Stopped due to shared library event
>>>>> mi_cmd_stack_list_frames: No stack.
>>>>>>>>>
>>>>>
>>>>>>>> Upgraded GDB
>>>>> GNU gdb Red Hat Linux (6.3.0.0-0.30.1rh)
>>>>> Copyright 2004 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 "i386-redhat-linux-gnu".
>>>>> (gdb)
>>>>>
>>>>> -Jerry
>>>>>
>>>>>
>>>>> "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
>>>>> news:dgrrhs$obi$1@news.eclipse.org...
>>>>>> Jerry,
>>>>>>
>>>>>> I didn't use RPM to install gdb, so unfortunately I can't answer to
>>>>>> your question. But I believe, if you just download the zipped file
>>>>>> and unzip it, it would work fine.
>>>>>>
>>>>>> Mikhail
>>>>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>>>>> news:dgnj47$tfp$1@news.eclipse.org...
>>>>>>> Thanks Mikhail,
>>>>>>>
>>>>>>> Sorry to be so slow about all this - I am new to this enviornment
>>>>>>> too. I grabbed an RPM for redhat from centos and when I ran
>>>>>>> the --test option I got the following errors. Does this mean that I
>>>>>>> need to uninstall what is there now? Or issue some other switch on
>>>>>>> the rpm command or does it mean I can not install this rpm on this
>>>>>>> machine because of this conflict?
>>>>>>>
>>>>>>> Thnks,
>>>>>>> Jerry
>>>>>>>
>>>>>>> [jrodgers@jdevunix jrodgers]$ rpm -iv --test
>>>>>>> gdb-6.3.0.0-0.30.1.i386.rpm
>>>>>>> warning: gdb-6.3.0.0-0.30.1.i386.rpm: V3 DSA signature: NOKEY, key
>>>>>>> ID 025e513b
>>>>>>> Preparing packages for installation...
>>>>>>> file /usr/bin/gdb from install of gdb-6.3.0.0-0.30.1
>>>>>>> conflicts with file from package gdb-5.
>>>>>>> 3.90-0.20030710.40
>>>>>>> file /usr/bin/gdbserver from install of gdb-6.3.0.0-0.30.1
>>>>>>> conflicts with file from package
>>>>>>> gdb-5.3.90-0.20030710.40
>>>>>>> file /usr/share/info/annotate.info.gz from install of
>>>>>>> gdb-6.3.0.0-0.30.1 conflicts with file
>>>>>>> from package gdb-5.3.90-0.20030710.40
>>>>>>> file /usr/share/info/gdb.info-1.gz from install of
>>>>>>> gdb-6.3.0.0-0.30.1 conflicts with file fr
>>>>>>> om package gdb-5.3.90-0.20030710.40
>>>>>>> file /usr/share/info/gdb.info.gz from install of
>>>>>>> gdb-6.3.0.0-0.30.1 conflicts with file from
>>>>>>> package gdb-5.3.90-0.20030710.40
>>>>>>> file /usr/share/info/gdbint.info-1.gz from install of
>>>>>>> gdb-6.3.0.0-0.30.1 conflicts with file
>>>>>>> from package gdb-5.3.90-0.20030710.40
>>>>>>> file /usr/share/info/gdbint.info.gz from install of
>>>>>>> gdb-6.3.0.0-0.30.1 conflicts with file f
>>>>>>> rom package gdb-5.3.90-0.20030710.40
>>>>>>> file /usr/share/info/stabs.info-1.gz from install of
>>>>>>> gdb-6.3.0.0-0.30.1 conflicts with file
>>>>>>> from package gdb-5.3.90-0.20030710.40
>>>>>>> file /usr/share/info/stabs.info.gz from install of
>>>>>>> gdb-6.3.0.0-0.30.1 conflicts with file fr
>>>>>>> om package gdb-5.3.90-0.20030710.40
>>>>>>> [jrodgers@jdevunix jrodgers]$
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
>>>>>>> news:dgf1p2$7o0$1@news.eclipse.org...
>>>>>>>>I don't think you will have problems using gdb 6.3 with your
>>>>>>>>projects. You can simply download the binary from the RedHat site.
>>>>>>>>
>>>>>>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>>>>>>> news:dgcv4n$jd9$1@news.eclipse.org...
>>>>>>>>> Hi Mikhail,
>>>>>>>>>
>>>>>>>>> What is the relationship between gdb and gcc? Can I upgrade to the
>>>>>>>>> current version of gdb while still using the older version of gcc
>>>>>>>>> that my code currently relies on? How do I upgrade gcc? Is there
>>>>>>>>> an rpm from redhat or do I need to down load the current 6.3
>>>>>>>>> version and use "make" to build it?
>>>>>>>>>
>>>>>>>>> thanks for the help,
>>>>>>>>> Jerry
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
>>>>>>>>> news:dgci41$2o7$1@news.eclipse.org...
>>>>>>>>>> It looks like gdb is crashing. Try a newer version of gdb.
>>>>>>>>>> The messages you see in the gdb console reflect the internal
>>>>>>>>>> activity and are not "real" errors.
>>>>>>>>>>
>>>>>>>>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>>>>>>>>> news:dgcfv4$vb9$1@news.eclipse.org...
>>>>>>>>>>>I wanted to include that I am using
>>>>>>>>>>>
>>>>>>>>>>> GNU gdb Red Hat Linux (5.3.90-0.20030710.40rh)
>>>>>>>>>>> Eclipse 3.1.0 - Build 120050627-1435
>>>>>>>>>>> CDT 3.0.0
>>>>>>>>>>> GCC - gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
>>>>>>>>>>>
>>>>>>>>>>> -Jerrry
>>>>>>>>>>>
>>>>>>>>>>> "Jerry Rodgers" <jerryrodgers@comcast.net> wrote in message
>>>>>>>>>>> news:dgcfl8$utd$1@news.eclipse.org...
>>>>>>>>>>>> Hi,
>>>>>>>>>>>>
>>>>>>>>>>>> I am having problems being able to debug my C++ executable
>>>>>>>>>>>> under Eclipse. I was able to run/break/inspect variables etc
>>>>>>>>>>>> directly under GDB and DDD. I am a newbie to C/C++ to begin
>>>>>>>>>>>> with but have been using Eclipse fror Java for many years.
>>>>>>>>>>>>
>>>>>>>>>>>> I am able to make and run the C++ program from within Eclipse
>>>>>>>>>>>> (as long as I do not have any break points set) wihtout any
>>>>>>>>>>>> problems - The problem is when I select Run - Debug and I set a
>>>>>>>>>>>> break point however as soon as it stops it ends up
>>>>>>>>>>>> termintaing - all I get is this in the console. I pretty much
>>>>>>>>>>>> accepted the defaults for debugging - I selected GDB as the
>>>>>>>>>>>> debugger and have Stop at main() on startup selected.
>>>>>>>>>>>>
>>>>>>>>>>>> Stopped due to shared library event
>>>>>>>>>>>> Stopped due to shared library event
>>>>>>>>>>>> Stopped due to shared library event
>>>>>>>>>>>> mi_cmd_stack_list_frames: No stack.
>>>>>>&g
Previous Topic:How do I define option in toolchain scope?
Next Topic:Is any formatters available?
Goto Forum:
  


Current Time: Wed Jul 17 15:17:18 GMT 2024

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

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

Back to the top