Re: Can't Print Two Dimensional Array Element for Fortran

2010-04-23 Thread Ingo Krabbe
On Fri, Apr 23, 2010 at 08:22:40PM -0500, lylelyle wrote: > > No, I can't do this in gdb. > > (gdb) print a(4) > Wrong number of subscripts > > (gdb) print a(6,1) > no such vector element > > lyle > I'm, quite sorry. As gdb relies on language features, you might either examine the memor

Re: Can't Print Two Dimensional Array Element for Fortran

2010-04-16 Thread Ingo Krabbe
On Sun, Mar 28, 2010 at 10:50:38PM -0500, lyle lyle wrote: > Hi Guys, > > I write code in Fortran and found that I couldn't print an element's value > if the element wasn't in the first column. For example, > > There is an array A and its size is 5x3. In gdb, I can get its first column > elements

ATTRIBUTE_ALIGNED_ALIGNOF ? is this really usefull? and some comments for the gdb maintainers

2006-08-11 Thread Ingo Krabbe
1. The line with ATTRIBUTE_ALIGNED_ALIGNOF in md5.h is quite annyoing since this macro doesn't seem to exist in gcc-3.4.6 (possibly later). It is contained in gdb-6.4 Can I safely remove it ? 2. It would be nice to automatically add the $PREFIX/include directory as a search director