Bug 455714
Summary: | gdb shows wrong source code. | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Yoshihiro Kagawa <ykagawa> | ||||
Component: | gdb | Assignee: | Jan Kratochvil <jan.kratochvil> | ||||
Status: | CLOSED WORKSFORME | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 4.0 | CC: | cagney | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-07-29 08:29:57 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Yoshihiro Kagawa
2008-07-17 11:13:17 UTC
Created attachment 312032 [details]
Reproducer
On F-9 x86_64:
$ cat >cmd
file ./gdb_tp
b 17
r
$ LD_LIBRARY_PATH=`pwd` /tmp/gdb-6.3.0.0-1.132.EL4.x86_64/usr/bin/gdb -silent -x
./cmd
Using host libthread_db library "/lib64/libthread_db.so.1".
Breakpoint 1 at 0x400807: file gdb_tp.cc, line 17.
Breakpoint 1, gdb_tp () at gdb_tp.cc:17
17 p_class = new test_class();
(gdb) q
gcc-4.3.1-4.x86_64
libstdc++-4.3.1-4.x86_64
On RHEL-4 please try to use rather `gcc4'.
Also the tested GDB release is very old, recent RHEL-4 release is
gdb-6.3.0.0-1.159.el4.
> Is there any reason why the patch was not merged into GNU-gdb?
Please ask upstream, there is not enough workforce to review all the incoming
patches.
Please submit a RHEL-4 request ticket through your RHEL-4 service contract.
|