Implement _UPT_resume().
Lots of small fixes to make tar-based distribution work, make x86 target compile
again, etc.
BKrev: 3e66e74czhAdPIrEkhQdwJEf8gQVng
(SOSLOCK): Remove
(SOSUNLOCK): Ditto.
(LOCK): Ditto
(UNLOCK): Ditto.
(sos_alloc): If HAVE_CMPXCHG is defined, use cmpxchg_ptr() to atomically allocate
memory in a lock-free manner. Otherwise, fall back on disabling signal
delivery and holding the sos_lock during memory allocation.
(sos_free): Remove.
(mempool_init): Initialize pool lock. Replace LOCK/UNLOCK with appropriate
signal-masking & mutex_lock/unlock calls.
(mempool_free): Replace LOCK/UNLOC with appropriate signal-masking & mutex_lock/unlock
calls.
(Logical change 1.59)
(ia64_get_cached_proc_info): Rename from ia64_script_lookup() and modify it so
it directly updates the proc-info if the necessary script is in the cache.
(script_new): Remove locking comments and adjust formatting.
(ia64_find_save_locs): If global caching is enabled, mask signal delivery and
hold the cache lock while accessing the cache.
(ia64_script_cache_init): Initialize the cache lock.
(Logical change 1.59)
into wailua.hpl.hp.com:/home/davidm/src/unwind/libunwind
2003/03/04 16:13:44-08:00 hp.com!davidm
Make sure elfxx.h and elfxx.c get distributed. Reported by Arun
Sharma.
BKrev: 3e654146-959Szs5FKTAqJu9pNq4KQ
(parse_dynamic): Fix it so it actually works.
(create_state_record_for): Initialize return_link_reg to zero.
Don't print "no unwind info" unconditionally when UNW_DEBUG is
in effect.
(Logical change 1.56)
Add get_proc_name() callback to accessors so things like the ptrace-support
routines can also print static procedure names.
Try running "tests/test-ptrace -v -t tests/ia64-test-dyn1" for fun.
BKrev: 3e5de161FPiuBUYgFoJGdYn3fGlUUQ
(main): Send SIGUSR1 before dynamic testing starts, SIGUSR2 afterwards (makes it
easy for test-ptrace to catch when verification should begin).
Add test case for func_vframe().
(Logical change 1.56)
(intern_dyn_info): Skip over padding rather than fetching it.
Start intern_regions() at address of first region, not just at the next
sequential address.
(unwi_dyn_remote_find_proc_info): Allocate "di" dynamically (it needs to persist
until put_unwind_info() is called).
(Logical change 1.56)
(_U_dyn_op_label_state): Drop "qp" and "when" arguments.
(_U_dyn_op_copy_state): Ditto.
(_U_dyn_op_stop): Define qp to _U_QP_TRUE and when to -1.
(_U_QP_TRUE): New macro.
(Logical change 1.56)
Skip over "prev_addr". Read start/end-IP directly into the "di" structure,
not into temporary variables. Skip padding by directly adjusting the
address (don't bother fetching padding values; that only slows things down).
Return 0 only if we really did find dynamic unwind info.
(Logical change 1.55)