This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/18001] Using sysname(), caller(), or callers(n) causes a gcc internal error
- From: "curzonj at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Thu, 19 Feb 2015 23:10:00 +0000
- Subject: [Bug translator/18001] Using sysname(), caller(), or callers(n) causes a gcc internal error
- Auto-submitted: auto-generated
- References: <bug-18001-6586 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18001
--- Comment #1 from curzonj at gmail dot com ---
I was wrong, about backtrace also causing a compile error. But here is some
more info.
This works:
stap -e 'probe kernel.function("dev_hold") { printf("%x", caller_addr());
exit() }'
But this fails:
stap -e 'probe kernel.function("dev_hold") { printf("%s",
symname(caller_addr())); exit() }'
--
You are receiving this mail because:
You are the assignee for the bug.