* [Bug translator/19952] New: listing mode should list dwarf-annotated types
@ 2016-04-15 15:07 fche at redhat dot com
2016-04-15 17:25 ` [Bug translator/19952] " jistone at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: fche at redhat dot com @ 2016-04-15 15:07 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=19952
Bug ID: 19952
Summary: listing mode should list dwarf-annotated types
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
Assignee: systemtap at sourceware dot org
Reporter: fche at redhat dot com
Target Milestone: ---
As per bug #13664, some stap script level variables have an inferred dwarf type
tag associated with them, when they were last assigned from a $context var. We
should list that type name in the stap -L mode, instead or in addition to
":long".
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug translator/19952] listing mode should list dwarf-annotated types
2016-04-15 15:07 [Bug translator/19952] New: listing mode should list dwarf-annotated types fche at redhat dot com
@ 2016-04-15 17:25 ` jistone at redhat dot com
0 siblings, 0 replies; 2+ messages in thread
From: jistone at redhat dot com @ 2016-04-15 17:25 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=19952
Josh Stone <jistone at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jistone at redhat dot com
--- Comment #1 from Josh Stone <jistone at redhat dot com> ---
There's a little ambiguity in the type domains, especially with "long". At
least with a context $var it's somewhat clear that it's the target language's
"long", but with "foo:long" this isn't clear.
But now that I write this, I think that particular case doesn't really matter,
as they're just numbers and we widen it anyway. So consider this comment just
a braindump of a dismissable concern. Something like "string" might have been
more tricky, e.g. C++'s is shown without even the std namespace "$s:string",
but it can only be assigned as a pointer, or possibly a reference, so
"foo:string" should definitely be systemtap string.
Printing the dwarf type *in addition* seems like the safer choice, if we can
devise a way that doesn't itself look like a compound type.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-04-15 17:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-15 15:07 [Bug translator/19952] New: listing mode should list dwarf-annotated types fche at redhat dot com
2016-04-15 17:25 ` [Bug translator/19952] " jistone at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).