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 translator/4886] stap should validate debuginfo files


------- Additional Comments From fche at redhat dot com  2007-08-15 19:25 -------
Just a note: this likely wouldn't help the kernel case (where vmlinux is
unstripped), but for modules, it may help to change src/tapsets.cxx's
initialization of debuginfo_path to have a "+" instead of "-" at the front.
That activates (weakish) CRC checking of the debuginfo against the stripped
base file. 

Just in case, would you mind testing that change with your wrong-vmlinux
scenario?

diff -r1.205 tapsets.cxx
668c668
<     static char debuginfo_path_arr[] = "-:.debug:/usr/lib/debug";
---
>     static char debuginfo_path_arr[] = "+:.debug:/usr/lib/debug";


-- 


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

------- 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]