GDB/GDBSERVER and remote Thread Debugging

6 messages, 4 authors, 2002-06-21 · open the first message on its own page

GDB/GDBSERVER and remote Thread Debugging

From: Steffen Rumler <hidden>
Date: 2002-06-06 13:29:11

Hello,

I'm looking for a stable GDB/GDBSERVER extension
suitable for (remote) Debugging multiple threads.

It should also possible to attach already running
threads.

Actually I'm working with the GDB 5.0, but
I have problems with it. Sometimes breakpoints
are not hit, sometimes all threads seem to
be hanging in the debugging case only.

Is there a stable extension for the GDB/GDBSERVER
providing thread debugging ?


Thank you for help


Steffen Rumler

--


--------------------------------------------------------------

Steffen Rumler
ICN ON PNE SB 4
Siemens AG
Hofmannstr. 51                 Email: Steffen.Rumler@icn.siemens.de
D-81359 Munich                 Phone: +49 89 722-44061
Germany                        Fax  : +49 89 722-36703

--------------------------------------------------------------

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: GDB/GDBSERVER and remote Thread Debugging

From: Mark Hatle <hidden>
Date: 2002-06-06 15:14:48

You will need to be working with GDB version 5.2 or newer to do thread
debugging.

--Mark

Steffen Rumler wrote:
Hello,

I'm looking for a stable GDB/GDBSERVER extension
suitable for (remote) Debugging multiple threads.

It should also possible to attach already running
threads.

Actually I'm working with the GDB 5.0, but
I have problems with it. Sometimes breakpoints
are not hit, sometimes all threads seem to
be hanging in the debugging case only.

Is there a stable extension for the GDB/GDBSERVER
providing thread debugging ?

Thank you for help

Steffen Rumler

--

--------------------------------------------------------------

Steffen Rumler
ICN ON PNE SB 4
Siemens AG
Hofmannstr. 51                 Email: Steffen.Rumler@icn.siemens.de
D-81359 Munich                 Phone: +49 89 722-44061
Germany                        Fax  : +49 89 722-36703

--------------------------------------------------------------
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

RE: GDB/GDBSERVER and remote Thread Debugging

From: Rick Hunnicutt <hidden>
Date: 2002-06-06 15:43:26

Will this give thread debugging with GDBSERVER as well or does it still have
to be native GDB?
-----Original Message-----
From: owner-linuxppc-embedded@lists.linuxppc.org
[mailto:owner-linuxppc-embedded@lists.linuxppc.org]On Behalf Of Mark
Hatle
Sent: Thursday, June 06, 2002 8:15 AM
To: Steffen Rumler
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: GDB/GDBSERVER and remote Thread Debugging



You will need to be working with GDB version 5.2 or newer to do thread
debugging.

--Mark

Steffen Rumler wrote:
quoted
Hello,

I'm looking for a stable GDB/GDBSERVER extension
suitable for (remote) Debugging multiple threads.

It should also possible to attach already running
threads.

Actually I'm working with the GDB 5.0, but
I have problems with it. Sometimes breakpoints
are not hit, sometimes all threads seem to
be hanging in the debugging case only.

Is there a stable extension for the GDB/GDBSERVER
providing thread debugging ?

Thank you for help

Steffen Rumler

--

--------------------------------------------------------------

Steffen Rumler
ICN ON PNE SB 4
Siemens AG
Hofmannstr. 51                 Email: Steffen.Rumler@icn.siemens.de
D-81359 Munich                 Phone: +49 89 722-44061
Germany                        Fax  : +49 89 722-36703

--------------------------------------------------------------

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: GDB/GDBSERVER and remote Thread Debugging

From: Mark Hatle <hidden>
Date: 2002-06-06 15:57:15

Probably not the answer you want, but MontaVista's GDB 5.2 version allows remote
thread debugging.  (We are in the process of releasing GDB 5.2 as an update
right now.  I don't know for sure when it will be released.)  I don't know if
the upstream (GNU version) supports that for PPC or not.  I know it does not for
SH, MIPS, and ARM.

--Mark

Rick Hunnicutt wrote:
Will this give thread debugging with GDBSERVER as well or does it still have
to be native GDB?
quoted
You will need to be working with GDB version 5.2 or newer to do thread
debugging.

--Mark
quoted
I'm looking for a stable GDB/GDBSERVER extension
suitable for (remote) Debugging multiple threads.

It should also possible to attach already running
threads.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: GDB/GDBSERVER and remote Thread Debugging

From: Mark Hatle <hidden>
Date: 2002-06-06 16:14:44

Sorry, I was incorrect.  Remote thread debugging has not yet been pulled in by
the upstream GDB.  We have it internally, but it's not in GDB 5.2.  (Mind you
GDB 5.2 does have good local thread debugging.)

--Mark

Mark Hatle wrote:
Probably not the answer you want, but MontaVista's GDB 5.2 version allows remote
thread debugging.  (We are in the process of releasing GDB 5.2 as an update
right now.  I don't know for sure when it will be released.)  I don't know if
the upstream (GNU version) supports that for PPC or not.  I know it does not for
SH, MIPS, and ARM.

--Mark

Rick Hunnicutt wrote:
quoted
Will this give thread debugging with GDBSERVER as well or does it still have
to be native GDB?
quoted
You will need to be working with GDB version 5.2 or newer to do thread
debugging.

--Mark
quoted
I'm looking for a stable GDB/GDBSERVER extension
suitable for (remote) Debugging multiple threads.

It should also possible to attach already running
threads.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

RE: GDB/GDBSERVER and remote Thread Debugging

From: Lionel TAILLURAT <hidden>
Date: 2002-06-21 14:41:21

Hello,

Have a look here :
http://www.kegel.com/linux/gdbserver.html

Regards,

Lionel

--

 _________________________________________________________
|                               |                         |
| Lionel TAILLURAT              | ECRIN SYSTEMS           |
| Development & Support Service | Rue du pre-de-l'Horme   |
|                               | B.P 15                  |
| Tel :(33) 4 76 92 20 02       | 38921 CROLLES CEDEX     |
| Fax :(33) 4 76 08 03 18       | FRANCE                  |
|                               | http://www.ecrin.com    |
|_______________________________|_________________________|
|                                                         |
|Email: Lionel.TAILLURAT@ecrin.com                        |
|Email: support@ecrin.com                                 |
|_________________________________________________________|
-----Message d'origine-----
De : owner-linuxppc-embedded@lists.linuxppc.org
[mailto:owner-linuxppc-embedded@lists.linuxppc.org]De la part de Mark
Hatle
Envoye : jeudi 6 juin 2002 17:15
A : Steffen Rumler
Cc : linuxppc-embedded@lists.linuxppc.org
Objet : Re: GDB/GDBSERVER and remote Thread Debugging



You will need to be working with GDB version 5.2 or newer to do thread
debugging.

--Mark

Steffen Rumler wrote:
quoted
Hello,

I'm looking for a stable GDB/GDBSERVER extension
suitable for (remote) Debugging multiple threads.

It should also possible to attach already running
threads.

Actually I'm working with the GDB 5.0, but
I have problems with it. Sometimes breakpoints
are not hit, sometimes all threads seem to
be hanging in the debugging case only.

Is there a stable extension for the GDB/GDBSERVER
providing thread debugging ?

Thank you for help

Steffen Rumler

--

--------------------------------------------------------------

Steffen Rumler
ICN ON PNE SB 4
Siemens AG
Hofmannstr. 51                 Email: Steffen.Rumler@icn.siemens.de
D-81359 Munich                 Phone: +49 89 722-44061
Germany                        Fax  : +49 89 722-36703

--------------------------------------------------------------

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help