`distclean' incomplete

2005-09-30 Thread Ilya N. Golubev
Version: 6.3

`make distclean' leaves the following files in build directory.

intl/config.h
intl/config.status
intl/stamp-h
gdb/doc/gdb.info
gdb/doc/gdb.info-1
gdb/doc/gdb.info-2
gdb/doc/gdb.info-3
gdb/doc/gdb.info-4
gdb/observer.h
gdb/ada-lex.c
gdb/observer.inc
utils/sparclite/Makefile
utils/sparclite/config.status
utils/wince/config.status
utils/wince/Makefile

If a new gdb version is configured to build in the same directory, it
may even break the build, in particular, because files left in build
directory are obsolete wrt new version and gdb makefiles in that new
version fail to notice that and rebuild them.


___
Bug-gdb mailing list
Bug-gdb@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gdb


reading data members: `this' reference

2005-09-30 Thread Ilya N. Golubev
Version: 6.3

On request will compose reproducing instructions with a smaller code
example.  For now, observed that on code of `kdecore' from kdelibs
3.2.

(gdb) p(NETRootInfoPrivate*)(*(void**)($esp)-0x28)
$69 = (NETRootInfoPrivate *) 0x810f5c0
(gdb) p $69->workarea
Variable "this" is not available.

`workarea' is a (data) field of `NETRootInfoPrivate' structure.
Reading it should require nothing except address of that structure
variable.  But, instead, for some reason gdb tries to use `this'
(pointer to class instance passed to class method that currently
executes) - which is indeed not available at the moment due to some
compiler optimizations.  The worst is that the whole gdb expression
evaluation terminates, not just error / warning is issued.


___
Bug-gdb mailing list
Bug-gdb@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gdb