This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap 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]

[Bug tapsets/9871] use @cast() instead of embedded-c whereever possible


------- Additional Comments From jkenisto at us dot ibm dot com  2009-03-09 21:06 -------
Correct.  (In reply to comment #6)
> (In reply to comment #5)
> > In taspset/*/registers.stp, _stp_get_register_by_offset() could be replaced
> > using @cast.
> 
> Just remember that @cast requires debuginfo -- aren't the registers tapsets
> designed to be helpful for running with no debuginfo?

Yes, indeed.  Does it help that we'd be casting only to predefined types --
e.g., pointer-to-long?

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=9871

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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