This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb can't handle Boost?


Hi
I have something like
Array<double, 1> ind(100);
  for(int i = 0; i < 100; ++i)
    ind(i) = i + 1;
  cout << ind(0) << "\n";
  res = 0;

If I set a breakpoint at the end where res is set to 0
the value of "1" is printed to stdout. However,

(gdb) p ind(0)
Invalid data type for function to be called.

Is there a workaround for this?
-Mathew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]