Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] How to perform Multi-Threaded Debugging on CDT 6.0

We support what the community wants to contribute to. If someone wants to make #1 happen, they are free to. There is a prereq, though, you need to have a Mac which many of the current contributors don't.

On Mon, Nov 2, 2009 at 10:58 AM, Michael Jackson <mike.jackson@xxxxxxxxxxxxxx> wrote:
Well, that probably is not going to happen as evidenced by the following from an OS X 10.6 machine:

sean$ gdb --version
GNU gdb 6.3.50-20050815 (Apple version gdb-1346) (Fri Sep 18 20:40:51

UTC 2009)
Copyright 2004 Free Software Foundation, Inc.

So basically Eclipse CDT has 2 ways to go forward:

1: Direct support for Apple's GDB and OS X as a platform.
2: Withdraw support for OS X as a targeted operating System for CDT.

We all hate to have put in:

#if APPLE

#else WINDOWS

#else LINUX

#else SUN

into our code but this is the world we live in. Again, I'll offer at least the Testing on OS X as help as I use it about 10 hours a day would like to see it improved, or at least back to the way it was in CDT 4. Again, just need some help getting the environment setup.


--
Mike Jackson <www.bluequartz.net>

On Nov 2, 2009, at 10:07 AM, Dominique Toupin wrote:


The long term solution is for apple to stop forking GDB and add the features in fsf-gdb instead, they are wasting a lot of energy and it creates issues like the one below. A lot of major companies are doing it and they don't have problem like this.


-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx
[mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Tobias Hahn
Sent: 2-Nov-09 09:28
To: CDT General developers list.
Subject: Re: [cdt-dev] How to perform Multi-Threaded
Debugging on CDT 6.0

Hi all:

thanks for all the continuing work you are doing on cdt.

This being said: gdb-7.0 is the first one to support darwin,
and still has a few issues (debugging dynamically linked
binaries is not yet supported for instance). Until these are
fixed, apple's gdb-6.3.50 is really the _only_ options mac
users have. And because Apple is happily adding new language
features, I am not so sure fsf-gdb can become the default for
eclipse on mac users in the short/mid term.

The best solution IMHO would be if someone could step in and
support apple's gdb in eclipse. I know that dev resources are
sparse, but if the standard process launcher were left to die
it would mean losing a large platform for cdt.

Just my 2ct :)

Tobias

Am 02.11.2009 um 15:12 schrieb Marc Khouzam:


I've tried to figure out what was going on from the traces.
Here is what I'm thinking

1- is version 6.3.50 for Apple, based on GDB 6.3?  If so,
 you should know that DSF-GDB only supports 6.6 or higher.
 In fact, I see that some commands are simply not answered
 by GDB.  These commands seem to correspond to relatively
 new commands (after 6.3).  So, if you are running 6.3, I suggest
 you try with a newer version.

2- Be aware that this problem could be because you are running on
MacOS.
 Few of us have access to a Mac and DSF-GDB was not really
 tested on a Mac.  A couple of people have tried it, but nothing
 to guarantee it would work.

Sorry I can't be of more help

Marc

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx
[mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Michael Jackson
Sent: Thursday, October 29, 2009 11:40 AM
To: CDT General developers list.
Subject: Re: [cdt-dev] How to perform Multi-Threaded
Debugging on CDT
6.0

The trace is pretty large and is at the bottom of the reply.

OS X 10.5.8, running Xcode tool set.

509:[mjackson@Ferb:~]$ gdb --version
GNU gdb 6.3.50-20050815 (Apple version gdb-966) (Tue Mar
10 02:43:13
UTC 2009) 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-apple-darwin".

SNIP_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

Ableton AG, Sitz Berlin, Amtsgericht Berlin-Charlottenburg, HRB 72838
Vorstand: Gerhard Behles, Jan Bohl, Bernd Roggendorf
Vorsitzender des Aufsichtsrats: Uwe Struck




_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top