hp.com!davidm
f1d10c0fb3
(unw_tdep_save_loc_t): New type.
...
(Logical change 1.10)
2002-04-03 06:51:34 +00:00
hp.com!davidm
48da72afd7
(unw_save_loc_t): New member "extra" to hold arch-specific save-location info.
...
(unw_get_save_loc): Define.
(Logical change 1.10)
2002-04-03 06:51:34 +00:00
hp.com!davidm
fb94137d04
(unw_get_save_loc): First draft-implementation. Should be reasonably close to something
...
useful.
(Logical change 1.10)
2002-04-03 06:51:34 +00:00
hp.com!davidm
a5bf714ea5
(rotate_gr, rotate_fr, pr_ltop, pr_ptol): Move into regs.h.
...
(Logical change 1.10)
2002-04-03 06:51:34 +00:00
hp.com!davidm
1bb24a283f
(AM_CPPFLAGS): Define.
...
(libunwind_la_SOURCES): Mention unw_get_save_loc.c and Lunw_get_save_loc.c.
(Logical change 1.10)
2002-04-03 06:51:34 +00:00
hp.com!davidm
0f1a0c4b4e
(AM_CPPFLAGS): Define.
...
(Logical change 1.10)
2002-04-03 06:51:34 +00:00
mostang.com!davidm
99639fb162
Rename UNW_IA64_CURRENT_BSP to UNW_IA64_BSP.
...
(Logical change 1.9)
2002-04-01 23:01:22 +00:00
mostang.com!davidm
42f9c357a8
Mention unw_get_fpreg.c and unw_set_fpreg.c.
...
(Logical change 1.9)
2002-04-01 23:01:22 +00:00
mostang.com!davidm
5e30dcbde3
Mention debugger requirements.
...
(Logical change 1.9)
2002-04-01 23:01:22 +00:00
mostang.com!davidm
6f514a6726
(Logical change 1.9)
2002-04-01 23:01:22 +00:00
mostang.com!davidm
3d5c9efd1e
Initial revision
2002-04-01 23:01:22 +00:00
mostang.com!davidm
883ce4ca59
Drop useless STAT() call.
...
(Logical change 1.9)
2002-04-01 23:01:22 +00:00
mostang.com!davidm
cec1997e0c
Add missing routines to set/get fp-registers.
...
Begin working on enhancements for debuggers.
BKrev: 3ca8e6c2bLwAvO1tnQI63RwEAeoQog
2002-04-01 23:01:22 +00:00
mostang.com!davidm
70dd4fbccf
(unw_save_loc_type_t): New type.
...
(unw_save_loc_t): New type.
(get_save_loc): New prototype.
(Logical change 1.9)
2002-04-01 23:01:22 +00:00
mostang.com!davidm
85bd7b8e9d
Regenerate with "aclocal" to get AM_MAINTAINER_MODE macro.
...
(Logical change 1.8)
2002-02-28 16:24:48 +00:00
mostang.com!davidm
9a2039fe01
Protect against multiple inclusion. Define IA64_UNW_DEBUG based on DEBUG. Document
...
that in the UNW_LOCAL_ONLY-case, bit 2 in register save locations is unused. If
UNW_LOCAL_ONLY is defined, define stream-lined versions of IA64_REG_LOC(),
IA64_FPREG_LOC(), ia64_acquire_unwind_info(), ia64_release_unwind_info(), ia64_get(),
ia64_put(), ia64_getfp(), and ia64_putfp(). Drop convenience macros and declarations for
ia64_glibc_{acquire,release}_unwind_info(). Add convenience macro and declaration for
ia64_local_resume().
(Logical change 1.8)
2002-02-28 16:24:48 +00:00
mostang.com!davidm
59f4f0d4c1
Move sharable stuff into shared.c.
...
(Logical change 1.8)
2002-02-28 16:24:48 +00:00
mostang.com!davidm
0c897ad858
Make this file sharable by using exported names that do not depend on UNW_LOCAL_ONLY.
...
(Logical change 1.8)
2002-02-28 16:24:48 +00:00
mostang.com!davidm
3083f40842
Initial revision
2002-02-28 16:24:48 +00:00
mostang.com!davidm
78a71343b5
Enable building of local-only version of the code. Applications get this version
...
by defining UNW_LOCAL_ONLY before including <libunwind.h>.
BKrev: 3c7e59d0_BxB6JTA5slt2sbN5jkx8Q
2002-02-28 16:24:48 +00:00
mostang.com!davidm
97ae3ba79a
Define UNW_LOCAL_ONLY before including libunwind.h.
...
(Logical change 1.8)
2002-02-28 16:24:48 +00:00
mostang.com!davidm
ede7c575f9
Adjust for fact that IA64_REG_LOC now takes two arguments.
...
Special case access of NaT bits.
(Logical change 1.8)
2002-02-28 16:24:48 +00:00
mostang.com!davidm
f6cd0daa97
Added src/ia64/Linit.c~ src/ia64/Lscript.c~ src/ia64/Lregs.c~ src/ia64/Lparser.c~ src/ia64/Lunw_get_reg.c~ src/ia64/Lunw_init_local.c~ src/ia64/Lunw_init_remote.c~ src/ia64/Lunw_resume.c~ src/ia64/Lunw_set_reg.c~ src/ia64/Lunw_step.c~ src/ia64/init.h~ src/ia64/shared.c~ to the ignore list
...
(Logical change 1.8)
2002-02-28 16:24:48 +00:00
mostang.com!davidm
83b038d4aa
Add local-only variants of files (Lfoo.c).
...
Add ia64/shared.c and ia64/init.h.
(Logical change 1.8)
2002-02-28 16:24:48 +00:00
mostang.com!davidm
525afd5676
Add AM_MAINTAINER_MODE.
...
Add command-line option --enable-debug to enable debugging.
In CPPFLAGS, define DEBUG when debugging, NDEBUG otherwise.
Add CPPFLAGS to ASFLAGS.
(Logical change 1.8)
2002-02-28 16:24:48 +00:00
mostang.com!davidm
2353a19c67
(unw_resume): If UNW_LOCAL_ONLY is defined, directly call ia64_local_resume().
...
(Logical change 1.8)
2002-02-28 16:24:48 +00:00
mostang.com!davidm
155b35c2cf
(unw_init_remote): If UNW_LOCAL_ONLY is defined, return -UNW_EINVAL. Use common_init()
...
to handle most of the cursor initialization.
(Logical change 1.8)
2002-02-28 16:24:48 +00:00
mostang.com!davidm
503d83fa69
(uc_addr): New function to translate a register number into a ucontext address.
...
(_U_ia64_uc_addr): New function.
(access_reg): Use uc_addr() to calculate ucontext address. Use uc->sc_rbs_base
when accessing ar.bsp or ar.bspstore (see comments for unw_init_local()).
(access_fpreg): Ditto.
(ia64_local_resume): Renamed from resume(). Read NaT bits via ia64_access_reg().
Call abort() instead of fprintf() when encountering a signal trampoline.
(unw_init_local): Initialize uc->sc_rbs_base to the bsp value of the current function.
For UNW_LOCAL_ONLY case, just initialize c->uc and then call
common_init() to do the remaining initialization. For the general case,
just initialize the accessor and then also call common_init().
(Logical change 1.8)
2002-02-28 16:24:48 +00:00
mostang.com!davidm
5e34685f18
(Logical change 1.8)
2002-02-28 16:24:48 +00:00
mostang.com!davidm
468db8fdea
mvdir
...
}(Logical change 1.7)
2002-02-23 20:27:03 +00:00
mostang.com!davidm
0660b2b7bb
mvdir
...
(Logical change 1.7)
2002-02-23 20:27:03 +00:00
mostang.com!davidm
354f1c77b1
Update version number and build instructions.
...
(Logical change 1.7)
2002-02-23 20:27:03 +00:00
mostang.com!davidm
cc4d70dfe6
Switch build environment to automake + autoconf + libtool.
...
BKrev: 3c77fb17m0Es9xJjHhx0sCGyqBmVIA
2002-02-23 20:27:03 +00:00
mostang.com!davidm
97c6919cd3
Rename: src/ia64/unwind_decoder.c -> src/ia64/unwind_decoder.h
...
}(Logical change 1.7)
2002-02-23 20:27:03 +00:00
mostang.com!davidm
de7b9f4912
Rename: src/ia64/unwind_decoder.c -> src/ia64/unwind_decoder.h
...
(Logical change 1.7)
2002-02-23 20:27:03 +00:00
mostang.com!davidm
bbc09de14d
Rename: NOTES -> doc/NOTES
...
}(Logical change 1.7)
2002-02-23 20:27:03 +00:00
mostang.com!davidm
be72029dac
Rename: NOTES -> doc/NOTES
...
(Logical change 1.7)
2002-02-23 20:27:03 +00:00
mostang.com!davidm
96e3133a62
Remove include of libunwind-config.h. Include libunwind-tdep.h instead of
...
opencoding an architecture-specific include.
2002/02/23 12:16:40-08:00 mostang.com!davidm
Rename: include/libunwind.h.in -> include/libunwind.h
(Logical change 1.7)
2002-02-23 20:27:03 +00:00
mostang.com!davidm
95ce9146a7
Initial revision
2002-02-23 20:27:03 +00:00
mostang.com!davidm
2f69df1d92
Include unwind_decoder.h instead of unwind_decoder.c.
...
(Logical change 1.7)
2002-02-23 20:27:03 +00:00
mostang.com!davidm
1888c151fc
Delete: tests/Makefile
...
}(Logical change 1.7)
2002-02-23 20:27:03 +00:00
mostang.com!davidm
02acb8d4dd
Delete: src/Makefile
...
}(Logical change 1.7)
2002-02-23 20:27:03 +00:00
mostang.com!davidm
9da5d9e6ec
Delete: include/libunwind-config.h
...
}(Logical change 1.7)
2002-02-23 20:27:03 +00:00
mostang.com!davidm
99afd3edc1
Added Makefile.in configure doc/Makefile.in include/libunwind-tdep.h include/stamp-h include/stamp-h1 libunwind-0.2.tar.gz src/Makefile-orig src/Makefile.in tests/Makefile.in to the ignore list
...
(Logical change 1.7)
2002-02-23 20:27:03 +00:00
mostang.com!davidm
1a9fe6168d
(Logical change 1.7)
2002-02-23 20:27:03 +00:00
(none)!davidm
0d1108748f
Delete: include/config.h
...
}(Logical change 1.6)
2002-02-22 22:09:28 +00:00
(none)!davidm
36c22aa3ef
Delete include/config.h; it's no longer needed.
...
BKrev: 3c76c198B2QHDakzsFDqg1LkZT1y9Q
2002-02-22 22:09:28 +00:00
(none)!davidm
68ffdc1fce
When printing a value of type unw_word_t, use the %lu format and
...
cast the value to (long).
(struct ia64_labeled_state): New type.
(alloc_labeled_state): New macro.
(free_labeled_state): Ditto.
(push, pop): Update for new ia64_state_record layout.
(dup_state_stack): New function.
(free_state_stack): Ditto.
(desc_copy_state): Make it restore the entire stack of states, not
just the current one.
(desc_label_state): Make it save the entire stack of states, not
just the current one.
(ia64_free_state_record): Free the list of labeled states.
(desc_prologue): Terminate parsing at end of region regardless of
whether the next region is a body or a prologue.
(lookup): Verify that unwind table entry found by binary search
really includes the desired IP. If not, return NULL.
(get_proc_info): Adjust for move of start/end from unwind table
to the unwind table info. Return -UNW_ENOMEM if unable
to allocate a new table. If unwind entry does not exist
for desired IP, clear the procedure info to zero. Check
the unwind version number and return -UNW_EBADVERSION if
it is not 1.
(Logical change 1.5)
2002-02-22 21:58:53 +00:00
(none)!davidm
8dbd577e05
To simplify cross-compilation, use unw_word_t instead of long pointers
...
for backing store addresses.
(Logical change 1.5)
2002-02-22 21:58:53 +00:00
(none)!davidm
a8d1c7c6e9
Set HOSTARCH to the host architecture and pass it on to subdirectories.
...
Build backtrace.o only when doing a native (local) build.
(Logical change 1.5)
2002-02-22 21:58:53 +00:00