This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb/930: GDB has no syntax for referring to particular definitions of a symbol/type


>Number:         930
>Category:       gdb
>Synopsis:       GDB has no syntax for referring to particular definitions of a symbol/type
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 14 12:58:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     drow@mvista.com
>Release:        CVS 2002-01-14
>Organization:
>Environment:

>Description:
If a static function is defined in multiple files, GDB has no
way to distinguish between the definitions.  If a global
function is defined in multiple shared objects, a type in
multiple places, etc etc.

Attached is a simple example of the problem.  Depending on
what symbols are loaded printing the type of baz has different
results, and there's no way to specify which you want.

Should we have something like "struct [objfile:file]foo"?
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/gzip; name="multi-test.tar.gz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="multi-test.tar.gz"

H4sIAJ93JD4AA+2W307CMBSHd92nOMHEqIl4OvbnYvGC6XsQYEOXwGZKFxXDu1sBpeCAq20h/L6k
WdKdrc3OvnM6K6c6u9fpXD84dcHscej75soy9Nm+/uJwGEjJYS9wpcNShuw55Ne2I4tyroeKyElU
8X4s7tT9M2W2zX+/O65nDZbMgecdzL/L/ir/Js5lr2fiXVeyQ1zPdna58PxfZfl4WiYpdZ66rx0h
5lqVY02ToqAvQZTlmj4isYyE/nxLk3RCVoAZo+Ei2nnIjEE/smfuXlI9WE3Tza34ealKdalyut7E
LkXbH+GCsfyPW/NfsuW/v/KfQ/jfBCf8T4pyNE1pcbQEqP8lIK4uAXFVCYhRAtrD8t/8APWsccp/
yX/+S3NSXPd/D/43wdbSw037sMsRvD1zLP+f2+r/0g8t/+Xa/wD+N8F+/zcHfjEbZvmmT9vim7M+
PdJuYdiPUBURm17PaPMAAAAAAAAAAAAAAAAAQEN8AwbB7ooAKAAA


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]