Created attachment 479436 [details]
test case, C++ source
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. g++ -g -o foo foo.cc (attached)
2. gdb foo
3. b foo
(gdb) b foo
Breakpoint 1 at 0x400950: file fmh.cc, line 7.
Starting program: /tmp/fmh
Breakpoint 1, foo (i=23) at fmh.cc:7
(gdb) p *i
Attempt to take contents of a non-pointer value.
#1 0x00000000004009e6 in main () at fmh.cc:15
(gdb) p *i
$1 = (const int &) @0x602010: 23
First "p *i" behaves similarly to second.
[patch] C++ operators do not resolve through typedefs
gdb-7.2-44.fc14 has been submitted as an update for Fedora 14.
gdb-7.2-44.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update gdb'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/gdb-7.2-44.fc14
gdb-7.2-45.fc14 has been submitted as an update for Fedora 14.
gdb-7.2-45.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.