Bug 185337
Summary: | p errno does not work when stopped at a breakpoint | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Jay Fenlason <fenlason> | ||||||||||
Component: | gdb | Assignee: | Jan Kratochvil <jan.kratochvil> | ||||||||||
Status: | CLOSED ERRATA | QA Contact: | Jay Turner <jturner> | ||||||||||
Severity: | medium | Docs Contact: | |||||||||||
Priority: | medium | ||||||||||||
Version: | 4.0 | CC: | aoliva, cagney, jan.kratochvil, jfeeney, srevivo | ||||||||||
Target Milestone: | --- | Keywords: | Regression | ||||||||||
Target Release: | --- | ||||||||||||
Hardware: | i686 | ||||||||||||
OS: | Linux | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | RHSA-2007-0229 | Doc Type: | Bug Fix | ||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2007-05-01 17:22:31 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: | |||||||||||||
Bug Depends On: | |||||||||||||
Bug Blocks: | 202727, 209548 | ||||||||||||
Attachments: |
|
Description
Jay Fenlason
2006-03-13 20:26:10 UTC
Created attachment 126068 [details]
source for simple test program
This is also broken in rawhide with gdb-6.3.0.0-1.122 Please retest if compiled with -ggdb3: gcc -o convert -ggdb3 convert.c -ggdb3 -ggdb2 FC5 gdb OK Cannot find thread-local variables CVS gdb OK Cannot access memory at address 0x8 FC4 gdb OK Cannot access memory at address 0x8 As it is fixed by on of the Red Hat vendor patches, suggesting to extend the error message by: ", try gcc -ggdb3" Created attachment 134901 [details]
Access TLS symbols without DWARF debuginfo
Attached patch implements accessing TLS symbols without the debuginfo
suggestions as not always such associatet debuginfo is available. It checks
for
SYMBOL_BFD_SECTION (msymbol)->flags & SEC_THREAD_LOCAL
symbols, implements for them new `UNOP_MEMVAL_TLS' and reuses for them former
`dwarf_expr_tls_address'.
Created attachment 134902 [details]
Ignore TLS symbols for non-TLS programs
IMO the right way is to ignore TLS symbols for inferiors without activated
threading.
Created attachment 134903 [details]
Suggest how to resolve the missing "errno" symbol
Also attached suggestion patch how to deal with the most common "errno" symbol
for the most common under-ggdb3 compiled programs.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. This bugzilla has Keywords: Regression. Since no regressions are allowed between releases, it is also being marked as a blocker for this release. Please resolve ASAP. This bugzilla has Keywords: Regression. Since no regressions are allowed between releases, it is also being marked as a blocker for this release. Please resolve ASAP. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2007-0229.html |