• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [GDB] template bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GDB] template bug


  • Subject: Re: [GDB] template bug
  • From: alex <email@hidden>
  • Date: Thu, 9 Aug 2007 08:27:16 -0700

Title: Re: [GDB] template bug
Well, you also have the choice of installing a gdb that isn't customized by Apple.  You have the source code for your Linux version of gdb.  You can compile this on the Mac (although this isn't very practical advice, it is one solution).

Another thing that might work in the meantime (which is a hack) would be to declare a struct with the three floats in it and then try casting the vector to this struct to see if that makes any difference when trying to debug the values.

alex

At 5:15 PM +0200 8/9/07, Jens Frederich wrote:
Thats not a namespace problem. So we dont using any std stuff (crap).
We using a own vector e.g. VGLVector3<VGLfloat> >
The vector has a other name.
We compiling our application on five unix operation sytems, but this problem is under osx only.

APPLE should not customize the standard gdb, than this problem will not be occurs.


 Jens


On 8/9/07, Thomas Engelmeier <email@hidden> wrote:

On 09.08.2007, at 10:02, Jens Frederich wrote:

> I hope this is the right mailing list for my problem.
>
> I want print out the component of a template based vector 3 in gdb.
> The vector is a c++ template with float or double as template
> parameters.
> The components in the vector are float x, y and z.

Just a shot in the dark: Xcode is chronically namespace agnostic.
I wouldn't be surprised if the problem stems from gdb using some
intrinsic for std::vector instead of your custom vector.

Regards,
        Tom_E



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
>
This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >[GDB] template bug (From: "Jens Frederich" <email@hidden>)
 >Re: [GDB] template bug (From: Thomas Engelmeier <email@hidden>)
 >Re: [GDB] template bug (From: "Jens Frederich" <email@hidden>)

  • Prev by Date: Re: [GDB] template bug
  • Next by Date: Re: [GDB] template bug
  • Previous by thread: Re: [GDB] template bug
  • Next by thread: Re: [GDB] template bug
  • Index(es):
    • Date
    • Thread