summaryrefslogtreecommitdiffstats
path: root/runtime/loc2c-runtime.h
Commit message (Collapse)AuthorAgeFilesLines
* Rewrote s390x version of __stp_put_asm and __stp_put_asm to do singledwilder2007-03-011-34/+17
| | | | byte writes.
* loc2c-runtime.h: Added defines for EX_TABLE needed by olderdwilder2007-02-271-0/+19
| | | | s390 kernels that do not already have it defined.
* Changed the s390 versions of __stp_put_asm __stp_get_asm to use EX_TABLE ↵dwilder2007-02-261-56/+2
| | | | macro eliminating the need for both a s390 and s390x version of these functions. This alos fixed an aligment problem building the the exception table.
* The s390x version of store_deref was missed named, I fixed it.dwilder2007-02-121-1/+1
|
* 2007-02-06 Josh Stone <joshua.i.stone@intel.com>jistone2007-02-061-10/+6
| | | | | | | | runtime/ * loc2c-runtime.h (kread): Let it work with const types. testsuite/ * systemtap.base/deref.stp: Test kread with const sources.
* 2007-01-25 Roland McGrath <roland@redhat.com>roland2007-01-261-1/+1
| | | | * loc2c-runtime.h (store_deref): Use "Zr" constraint for 64-bit case.
* 2007-01-22 Josh Stone <joshua.i.stone@intel.com>jistone2007-01-231-20/+24
| | | | | | | | | runtime/ * loc2c-runtime.h (kread, kwrite): Tweaks to work better with reading and writing pointer values. testsuite/ * systemtap.base/deref.stp: Rewrite test, and now also check the ability to read/write pointers.
* 2007-01-19 Josh Stone <joshua.i.stone@intel.com>jistone2007-01-201-1/+39
| | | | | | | | | | | | | PR 3079 runtime/ * loc2c-runtime.h (kread, kwrite): New macros to safely read/write values from kernel pointers. This includes a workaround for 64-bit numbers on i386 platforms. testsuite/ * systemtap.base/deref.stp: Use the new kread macro that should work fine with 64-bit numbers on i386 platforms. Also expand the test to include writes with kwrite. * systemtap.base/deref.exp: Remove the setup_kfail.
* 2006-12-18 Frank Ch. Eigler <fche@elastic.org>fche2006-12-181-1/+35
| | | | | | | | | | | PR 3079 * loc2c-runtime.h (deref, store_deref): Fork x86 and x86-64 variants. Remove dysfunctional 64-bit ops from x86. 2006-12-18 Frank Ch. Eigler <fche@elastic.org> * vfs.stp (ppos_pos): Protect contents with deref(), though this blocks operation on i686 due to bug #3079.
* Adding s390x supportdwilder2006-10-191-0/+158
|
* 2006-06-27 Roland McGrath <roland@redhat.com>roland2006-06-271-1/+22
| | | | * loc2c-runtime.h: Add some comments.
* 2006-05-03 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-031-2/+2
| | | | | | * loc2c-runtime.h (deref_string): resolved gcc "warning: assignment makes integer from pointer without a cast" when using a pointer as the source address.
* Fixing BZ#2583hien2006-04-211-3/+3
|
* Fix 2076.hien2006-03-201-42/+48
|
* IA64 Runtime support patches. With this in placeaskeshav2005-10-281-1/+47
| | | | | | | Systemtap should now be able to build on Ia64. Includes supports for - function probes, return probes, function parameter access and dumping stack backtrace. Added by Anil S Keshavamurthy <Anil.s.keshavamurthy@intel.com>
* [ChangeLog]graydon2005-10-011-12/+12
| | | | | | | | | | | | | | | | | | | | | | | 2005-09-30 Graydon Hoare <graydon@redhat.com> PR 1131. * tapsets.cxx (dwflpp::find_variable_and_frame_base) (dwflpp::translate_components) (dwflpp::resolve_unqualified_inner_typedie) (dwflpp::translate_final_fetch_or_store): New functions. (dwflpp::literal_stmt_for_local): Factor a bit. (variable_flavour_calculating_visitor::visit_target_symbol): Don't fault on lvalue, just collect an extra char. (var_expanding_copy_visitor::target_symbol_setter_functioncalls): New member. (var_expanding_copy_visitor::visit_assignment): New method. (var_expanding_copy_visitor::visit_target_symbol): Permit lvalues. [runtime/ChangeLog] 2005-09-30 Graydon Hoare <graydon@redhat.com> * loc2c-runtime.h (_put_user_asm): Fix bracket-matching.
* 2005-09-09 Roland McGrath <roland@redhat.com>roland2005-09-091-0/+1
| | | | * loc2c-runtime.h [__powerpc__] (store_register): Add #undef.
* 2005-08-30 Roland McGrath <roland@redhat.com>roland2005-08-311-26/+36
| | | | | | | * loc2c-runtime.h (fetch_register, store_register): Rewritten to pass REGS to dwarf_register_<N> as a macro argument. [__i386__, __x86_64__]: Update dwarf_register_* macros. [__i386__] (dwarf_register_4): Define special case for stack pointer.
* (deref_string): terminateroland2005-08-251-0/+1
|
* 2005-08-25 Roland McGrath <roland@redhat.com>roland2005-08-251-2/+8
| | | | * loc2c-runtime.h (deref_string): Rewritten using deref.
* (deref_string): prettifyroland2005-08-251-5/+5
|
* silly macro typosfche2005-08-251-5/+5
|
* 2005-08-24 Roland McGrath <roland@redhat.com>roland2005-08-251-0/+7
| | | | * loc2c-runtime.h (deref_string): New macro.
* 2005-08-10 Roland McGrath <roland@redhat.com>roland2005-08-111-1/+49
| | | | | * loc2c-runtime.h (store_bitfield): Fix argument use. (store_deref): New macro (three flavors).
* 2005-07-28 Graydon Hoare <graydon@redhat.com>graydon2005-07-291-0/+125
* elaborate.cxx (derived_probe::derived_probe): Accept NULL probe. * staptree.cxx (provide, require): Move from here... * staptree.h: to here, and virtualize deep-copy methods. * translate.cxx (c_unparser::emit_common_header): Include loc2c-runtime.h * tapsets.cxx (dwflpp::iterate_over_modules): Use new, faster getmodules loop. (dwflpp::literal_stmt_for_local): New method, call loc2c. (var_expanding_copy_visitor): New struct which expands $-vars. (dwarf_derived_probe): Rebuild this->body using var expander. (query_function): Refactor logic a bit for speed. * loc2c.{c,h}: Copies (with minor changes) of Roland's work from elfutils CVS. * Makefile.am (AM_CFLAGS): Set to elfutils-style. (stap_SOURCES): Add loc2c.c. * Makefile.in: Regenerate. 2005-07-28 Graydon Hoare <graydon@redhat.com> * loc2c-runtime.h: New file from elfutils CVS.