Version-Release number of selected component (if applicable): 6.8-29.fc10 How reproducible: example code, struct { int n; int a[0]; } b; (gdb) p &b->a $1 = (int (*)[]) 0x80495ec (gdb) p &b->a[0] $2 = (int *) 0x9a0458c but b->a and &b->a[0] should be the same address.
gdb-6.8.50.20090302-25.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/gdb-6.8.50.20090302-25.fc11
There is also an F10 update: https://admin.fedoraproject.org/updates/gdb-6.8-30.fc10 It was a bug from the VLA (variable-length-arrays) + Fortran-dynamic-arrays support, thanks.
I've tried the updates, and it solves the problem. Thanks for your work.
gdb-6.8-24.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/gdb-6.8-24.fc9
gdb-6.8.50.20090302-27.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/gdb-6.8.50.20090302-27.fc11
gdb-6.8-30.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.
gdb-6.8-24.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.
gdb-6.8.50.20090302-27.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.