Konstantin Belousov
d11456ffbf
Code to read/write fpregs on FreeBSD
2010-03-06 14:55:11 +02:00
Konstantin Belousov
905034ce72
Initial attempt at the build infrastructure for FreeBSD.
2010-03-06 00:41:37 +02:00
Arun Sharma
3468a6b33d
Change MS_SYNC to MS_ASYNC
...
Hopefully this makes the address validation a bit cheaper.
2010-02-23 10:35:47 -08:00
Stefan Demharter
752076789f
Be gcc compatible for C++ exceptions on 32 bit platforms.
2010-02-21 22:45:08 -08:00
Arun Sharma
5a1d3c6fd7
Remove bogus check on scan_string which is guaranteed to fail every time.
2010-02-21 22:35:26 -08:00
Paul Pluzhnikov
54752e0df0
Implement getcontext for x86
...
Greetings,
Attached patch implements getcontext for x86.
Motivation is the same as:
http://lists.nongnu.org/archive/html/libunwind-devel/2008-06/msg00009.html
This also fixes check-name-space on x86.
Tested on Linux/86 with no new failures.
Thanks,
--
Paul Pluzhnikov
2009-12-23 09:59:52 -08:00
Paul Pluzhnikov
0cf76ed0b5
Check for NULL when validating addresses
...
This is rather on the obvious side.
While doing strace on an executable using libunwind, I noticed a
lot of:
msync(0, 1, MS_SYNC) = -1 ENOMEM (Cannot allocate memory)
Since we know that the first page isn't mapped (or at least doesn't
contain the data we are looking for), we can eliminate all such
msync calls.
Tested on Linux/x86_64 with no regressions.
2009-12-01 13:59:45 -08:00
Paul Pluzhnikov
9626d66019
Fix a race condition in dwarf unwinding.
...
Original code was accessing rs_cache memory without holding a lock
in some cases. If there was sufficient cache pressure, entry being
accessed may be overwritten by another thread, resulting in a data
race.
We now make a thread local copy of the data, before releasing the
lock. If we end up supporting UNW_CACHE_PER_THREAD properly
in the future, this memcpy should be unnecessary.
2009-11-24 15:18:48 -08:00
Paul Pluzhnikov
2648a77f04
Simplify control flow
...
Greetings,
Attached patch gets rid of additional unnecessary branch (rs_get_cache
can not return NULL unless caching_policy is UNW_CACHE_NONE), gets rid of
goto's, and makes apply_reg_state (major CPU consumer) execute with cache
lock not held (before the patch, apply_reg_state was called with lock held
for newly-inserted entries, but not for found-in-cache entries).
Tested on Linux/x86_64 with no regressions.
Thanks,
--
Paul Pluzhnikov
2009-11-20 12:04:13 -08:00
Paul Pluzhnikov
f958b9dc4f
Get rid of some bogus checks.
...
Greetings,
Attached patch is rather on the obvious side:
- rs1 can't be NULL since it's assigned on previous line
- rs_new never returns NULL, and if it ever did, we'd crash on memcpy that
preceeds the NULL check.
Tested on Linux/x86_64 with no regressions.
Thanks,
--
Paul Pluzhnikov
2009-11-20 11:40:05 -08:00
Arun Sharma
d7089547e2
Fix a warning message on i386
...
Without this, we may be accessing data beyond the array bounds.
2009-10-23 22:38:11 -07:00
Arun Sharma
491d576529
Fix compiler warnings on x86_64
2009-10-16 14:01:50 -07:00
Paul Pluzhnikov
b56375e76a
Reduce stack use and apply CONFIG_DEBUG_FRAME to more code.
...
Currently, libunwind allocates several PATH_MAX entries on stack, while
trying to find a binary via /proc/.../maps.
However stack space may be at premium (especially when sigaltstack is used),
and PATH_MAX on Linux is 4096, while SIGSTKSZ is only 8192 on x86.
Attached patch eliminates multiple PATH_MAX stack allocations, and simplifies
code in maps_next, at the cost of being unable to do anything if we can't
mmap one page. It appears to me that under such low-memory conditions,
libunwind will fail shortly elsewhere anyway.
This patch also disables more of debug_frame-handling code when
CONFIG_DEBUG_FRAME is undefined.
Tested on Linux/x86_64 with and without CONFIG_DEBUG_FRAME, no regressions.
2009-10-07 12:51:03 -07:00
Paul Pluzhnikov
fc2934aade
Make the remaining sigprocmask calls conditional on --enable-block-signals
2009-09-29 23:14:50 -07:00
Paul Pluzhnikov
839db77b7b
Wait if there is contention on the cache
...
The behavior on wait vs abort unwind depends on the locking primitive
chosen by the user. This makes the API consistent and independent of
the locking primitive.
2009-09-25 09:38:55 -07:00
Paul Pluzhnikov
84d4150668
Allow caller to block signals.
...
Greetings,
We use libunwind just for stack traces (I suspect many others do as well).
The use pattern is:
GetStackTrace(void** result, int max_depth)
{
...
unw_getcontext(&uc);
unw_init_local(&cursor, &uc);
while (n < max_depth) {
if (unw_get_reg(&cursor, UNW_REG_IP, (unw_word_t *) &ip) < 0) {
break;
}
result[n++] = ip;
if (unw_step(&cursor) <= 0) {
break;
}
}
Given this usage, it is quite convenient for us to block signals (or
prevent signal handlers from re-entering libunwind by other means) at the
"top level", which makes most of the sigprocmask calls performed by
libunwind itself unneccessary.
The second patch in this series adds a configure option which removes most
of the sigprocmask calls.
Attached patch is a preliminary for it -- consolidating all of the
"sigprocmask; mutex_lock;" sequences into lock_acquire and "mutex_unlock;
sigprocmask;" sequences into lock_release.
Thanks,
--
Paul Pluzhnikov
commit 402d15b123d54a7669db7cf17a76dd315094e472
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date: Mon Sep 21 10:18:28 2009 -0700
Replace "sigprocmask + mutext_lock" with a single lock_acquire.
Likewise, replace "mutext_unlock + sigprocmask" with lock_release.
2009-09-25 09:35:31 -07:00
Arun Sharma
4b8404d153
Remove the special casing of ia64 for GetIPInfo()
...
This rule (no IP adjustment on ia64) may be correct for locating the right FDE.
Unfortunately the same adjusted/unadjusted return address is being used also by
__gxx_personality_v0() to locate the right call-site (the try {} block) for
unwinding. And this case is already sensitive for off-by-one PC values.
Unlike the FDE location where the function prologue + epilogue make it immune
against off-by-one PC calculations.
Therefore suggesting to unify it with non-ia64 case.
Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
2009-04-24 11:10:08 -07:00
Arun Sharma
6aec15799d
Fix ppc32 build.
...
Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
2009-04-13 11:44:45 -07:00
Arun Sharma
40afb6667d
Use a shorter path for include
...
This should've been a part of: 2fce54102c
2009-04-13 10:57:21 -07:00
Arun Sharma
2fce54102c
Implement _Unwind_GetIPInfo() as required by the C++ ABI
...
Provide a special implementation for ia64, because the unwind
information is such that an IP adjustment is not necessary before
looking up unwind info.
Bad things happen if libunwind only provides parts of the ABI and
the rest come from libgcc.
Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
2009-04-02 22:22:05 -07:00
Arun Sharma
9607c6407c
Fixup CONFIG_DEBUG_FRAME support.
2009-03-17 19:08:58 -07:00
Arun Sharma
ec53de82ec
[PATCH] Avoiding name conflict with the GNU-specific dprintf in stdio.h
...
Signed-off-by: Yang Zhang <yaaang@gmail.com>
2009-03-16 21:37:11 -07:00
Arun Sharma
ff0ae70cc3
Bad pointer validation for 32 bit x86.
...
This corresponds to commit 649f1fb344
.
Signed-off-by: Paul Pluzhnikov <ppluzhnikov@google.com>
2009-03-16 21:34:49 -07:00
Arun Sharma
5822fca27a
Enable Intel C++ compatibility only when C++ exceptions are enabled.
2009-03-16 21:34:49 -07:00
Arun Sharma
0bce5f0016
Remove auto generated files.
2009-03-16 21:34:49 -07:00
Arun Sharma
a2c27a4ab7
Make .debug_frame support optional.
...
Because these code paths use malloc and stdio, they could
cause deadlocks when we try to unwind stack from inside malloc.
2009-03-16 21:21:58 -07:00
David Mosberger-Tang
638302ed73
Rerun autoreconf.
2008-06-16 14:43:21 -06:00
Arun Sharma
ef29eade44
This patch eliminates one system call per unwind by not using the
...
getcontext in libc.
Also cleanup the namespace (check-name-space passes on x86_64 now).
Replace uses of offsets.h with ucontext_i.h.
Rename _x86_64_setcontext to _Ux86_64_setcontext.
TBD: Add CFI annotations for get/setcontext.
Signed-off-by: Paul Pluzhnikov <ppluzhnikov@google.com>
Signed-off-by: Arun Sharma <arun.sharma@google.com>
2008-06-16 14:42:16 -06:00
Arun Sharma
649f1fb344
[X86-64] For local unwinding, we have a defence mechanism against
...
bad/missing unwind information, which could result in libunwind
dereferencing bad pointers. This mechanism is based on msync(2) system
call and significantly reduces the chances of a bad pointer
dereference in libunwind.
The original idea was to turn this mechanism on only when necessary
i.e. libunwind didn't find proper unwind information for a IP.
There are a couple of problems in the current implementation.
* The flag is global and is modified without locking
* The flag isn't reset when starting a new unwind
The attached patch makes ->validate a per-thread setting by moving it
into struct cursor from unw_local_addr_space and resets it to false
when starting a new unwind. As a result, cursor->as_arg points to the
cursor itself instead of the ucontext (for the local case).
This was found to reduce the number of msync() system calls from an
application using libunwind significantly.
Signed-off-by: Paul Pluzhnikov <ppluzhnikov@google.com>
Signed-off-by: Arun Sharma <arun.sharma@google.com>
2008-06-16 14:35:53 -06:00
David Mosberger-Tang
183d28a066
Rebuild autoconf files with autoreconf.
2008-06-16 14:30:38 -06:00
Arun Sharma
8081e82ba1
Make the linking of C++ ABI related code for exceptions optional.
...
The default is to have it enabled.
Signed-off-by: Arun Sharma <arun.sharma@google.com>
2008-06-16 14:28:36 -06:00
Bruna Moreira
1eddefc371
[ARM] This patch add some missing bits on ARM platform.
...
* src/arm/unwind_i (arm_lock, arm_local_resume): Define.
* src/ptrace/_UPT_find_proc_info.c: Handle ARM like X86 etc.
* tests/flush-cache.S (flush_cache): Add (dummy) ARM-version.
ARM does need executable stack, even on Linux...
Signed-off-by: Anderson Lizardo <anderson.lizardo@indt.org.br>
Signed-off-by: Bruna Moreira <bruna.moreira@indt.org.br>
2008-04-21 13:43:18 -06:00
Paul Pluzhnikov
bb9d3dc689
[X86-64] Fix the pattern used to match signal frames.
...
The current pattern is too restrictive and doesn't work well on
modern glibcs.
Signed-off-by: Paul Pluzhnikov <ppluzhnikov@google.com>
Signed-off-by: Arun Sharma <arun.sharma@google.com>
2008-04-16 08:05:49 -06:00
Daniel Jacobowitz
3842dac733
Add initial ARM and MIPS support. To support this, also enable the
...
reading of .debug_frame sections (used in lieu of .eh_frame sections
when they're not available).
2008-02-04 17:16:37 -07:00
Mark Wielaard
5ed2da2a40
[DWARF] Fix error return.
...
* src/dwarf/Gfde.c (dwarf_extract_proc_info_from_fde):
Return -UNW_ENOMEM.
2008-02-04 16:31:34 -07:00
David Mosberger-Tang
f5cb2c52dc
2007-12-14 Mark Wielaard <mwielaard@redhat.com>
...
* src/mi/Gget_reg.c (unw_get_reg): Use tdep_get_ip() when
looking for UNW_REG_IP.
2008-01-07 15:43:42 -07:00
David Mosberger-Tang
a8be10e251
[X86] Cleanup XMM handling for x86
...
* Use explicit types for XMM registers
* Support full width (128 bits) access
Signed-off-by: Andrew Cagney <cagney@redhat.com>
Signed-off-by: Arun Sharma <aruns@google.com>
2008-01-07 15:41:20 -07:00
David Mosberger-Tang
826374cee5
Merge ../libunwind-v0.98
...
Conflicts:
configure
configure.in
src/ia64/Ginit.c
2007-11-14 16:51:14 -07:00
David Mosberger-Tang
3899ab7039
Update NEWS file and rerun "autoreconf".
2007-11-14 13:04:15 -07:00
Curt Wohlgemuth
7fda769769
ia64 [src/ia64/Ginit.c]: Don't mark the reference to _Uelf64_get_proc_name
...
as "weak". Since the elf-support is in the library anyhow, this serves
no purpose and in fact causes problem because the weak reference alone
is not enough to pull in the ELF-code from an archive file, causing to
spurious failures of get_proc_name.
2007-11-14 12:59:10 -07:00
Curt Wohlgemuth
253f3e5738
[Linux] Fix potentially overlapping memory-copy to use memmove() instead
...
of memcpy().
2007-10-18 10:45:55 -06:00
Andrew Cagney
05c8284b43
[X86] 2007-10-10 Andrew Cagney <cagney@redhat.com>
...
* src/x86/init.h (common_init): Fix typo: use UNW_X86_ESI for
dwarf.loc[ESI].
Acked-by: Arun Sharma <aruns@google.com>
2007-10-15 10:32:07 -06:00
Jose Flavio Aguilar Paulino
9ea6af8ed5
[PPC32] Make PPC32 unwinding work for real.
2007-10-08 12:33:18 -06:00
Jan Kratochvil
57e5696463
Mark Wielaard <mwielaard@redhat.com> writes:
...
On some systems executable stacks are denied. Since libunwind and the
tests don't actually need executable stacks this patch marks all
assembly files as not needing it.
The original patch comes from frysk:
2007-04-05 Jan Kratochvil <jan.kratochvil@redhat.com>
* src/hppa/getcontext.S, src/hppa/setcontext.S, src/hppa/siglongjmp.S,
src/ia64/Ginstall_cursor.S, src/ia64/Linstall_cursor.S,
src/ia64/dyn_info_list.S, src/ia64/getcontext.S, src/ia64/longjmp.S,
src/ia64/setjmp.S, src/ia64/siglongjmp.S, src/ia64/sigsetjmp.S,
src/ppc64/longjmp.S, src/ppc64/siglongjmp.S, src/x86/longjmp.S,
src/x86/siglongjmp.S, src/x86_64/longjmp.S, src/x86_64/setcontext.S,
src/x86_64/siglongjmp.S: Stack should be non-executable, for SELinux.
I added a couple more markers for new files in current libunwind.
Before this patch you would get the following on selinux enabled
systems without allow_exec_stack: error while loading shared
libraries:
libunwind.so.7: cannot enable executable stack as shared object
requires: Permission denied
After the patch that error disappears and all test results are similar
to the results on systems without executable stack protection.
2007-10-01 08:35:01 -06:00
Jose Flavio Aguilar Paulino
c340d04279
[PPC32] Make get_func_addr() a no-op function.
...
[PPC64] Add .../lib64 library directory when targeting ppc64.
2007-09-20 11:11:37 -06:00
Jose Flavio Aguilar Paulino
4499bb29a6
[PPC32] First check-in to add preliminary support for Linux/PPC32.
2007-09-12 21:52:25 -06:00
David Mosberger-Tang
6d75df39b5
Regenerate Makefile.in.
2007-08-27 15:31:10 -06:00
Jose Flavio Aguilar Paulino
32e2187fab
[PPC64] Get "make check" to work on PPC64 Linux. Add a README entry
...
describing the expected results.
2007-08-27 09:11:37 -06:00
Jose Flavio Aguilar Paulino
3e24581adc
[PPC64] Add PPC64 entry to README and fix David's typo in ppc64/get_func_addr.c
2007-08-24 10:54:00 -06:00
David Mosberger-Tang
e6b9f350f7
Introduce a tdep_get_func_addr_hook() in the ELF lookup_symbol()
...
routine and add address-space argument. This is needed because on
PPC64, a the function-name symbol refers to a function descriptor
(unlike, for example, on ia64, where the @fptr() operator is needed to
refer to a function descriptor). Thus, in order to look up the name
of a function, we need to dereference the function descriptor. To
make matters more "interesting", the function descriptors are normally
resolved by the dynamic linker, so we can't get their values from the
ELF file. Instead, we have to read them from the running image, hence
the need for the address-space argument.
2007-08-22 13:02:09 -06:00
David Mosberger-Tang
03e05b4138
Fix two minor compiler-warnings.
2007-08-22 12:57:49 -06:00
David Mosberger-Tang
7fdd022ccf
Update autoconf files.
2007-08-09 21:18:15 -06:00
Arun Sharma
bcca3ddcc0
[x86-64] Fix cross-compilation. setcontext.S can only be built natively.
2007-08-07 21:09:12 -06:00
David Mosberger-Tang
297315675e
Recreate autoconf files.
2007-08-06 20:27:29 -06:00
David Mosberger-Tang
5c95d139df
Cleanup some files from previous patch and rerurn autoconf tools.
2007-08-06 19:59:28 -06:00
Arun Sharma
3afd613545
[X86-64]: Instead of auto-generating _u_context_i.h, hardcode the
...
necessary offsets in offsets.h as is done for other
platforms. This fixes cross-builds.
2007-08-06 19:58:12 -06:00
David Mosberger-Tang
fad8b04c9f
Rebuilt configure and Makefile.in files.
2007-08-06 19:56:28 -06:00
Jose Flavio Aguilar Paulino
b33021e4b2
Add PPC64 support.
2007-08-02 09:59:43 -06:00
David Mosberger-Tang
a6393c0be1
Merge ../libunwind-v0.98
2007-06-06 20:58:56 -06:00
Andreas Schwab
09c8c7d0f3
(unw_create_addr_space): Fix address-leak that triggered when function
...
was called with an unsupported "byte_order".
Signed-off-by: David Mosberger-Tang <dmosberger@gmail.com>
2007-06-06 20:55:36 -06:00
David Mosberger-Tang
7923ae31a0
Re-run aclocal and automake to update Makefiles so new files (e.g.,
...
x86_64/gen_offsets.c) get distributed.
2007-04-10 20:35:15 -06:00
Arun Sharma
497b987043
Add gen-offsets to the Makefile
...
This is so that the source file gets distributed and _ucontext_i.h is
generated properly on the target machine.
Signed-off-by: Arun Sharma <arun.sharma@google.com>
2007-04-10 20:18:56 -06:00
Arun Sharma
31440e9796
Make libunwind pass C++ exceptions correctly
...
When libunwind is linked with a C++ program that throws exceptions,
the exception that's thrown is passed in %rax. However, libc's
setcontext clears %rax, causing problems.
This patch implements a setcontext that doesn't clobber rax.
TBD: Add dwarf CFI annotations
Signed-off-by: Arun Sharma <arun.sharma@google.com>
2007-04-05 20:40:41 -06:00
Arun Sharma
55fe524775
Cleanup the hash() function copied from ia64
...
Fixes the compiler warning on x86-32.
Signed-off-by: Arun Sharma <arun.sharma@google.com>
2006-08-16 15:43:49 -06:00
Arun Sharma
a5d0c1f8b7
Remove HAVE___THREAD. This was never tested.
...
Signed-off-by: Arun Sharma <arun.sharma@google.com>
2006-08-16 15:41:32 -06:00
David Mosberger-Tang
62bacfcf1f
[x86-64] Minor reformatting for GNU-style and use memset() in lieu of bzero().
2006-08-10 21:34:31 -06:00
Arun Sharma (अरुण)
795529eee3
[x86-64] Add a known good address cache.
...
This improves the performance of Lperf-simple from 500ns to 195ns
on the avg.
Signed-off-by: Arun Sharma <arun.sharma@google.com>
2006-08-10 21:30:01 -06:00
David Mosberger-Tang
bde67706ed
Delete some backup files that accidentally made it into git.
2006-07-27 21:30:19 -06:00
Arun Sharma
11ea1275bd
[dwarf] The sword() function in Gexpr.c doesn't do what's intended.
...
Yes, it casts to signed, but then converts right back to
unsigned via the return type. Fixed thus.
Signed-off-by: Richard Henderson <rth@redhat.com>
Signed-off-by: Arun Sharma <arun.sharma@google.com>
2006-07-26 22:12:10 -06:00
Arun Sharma
cdb96f333c
[x86] (common_init): Fix spurious errors caused by uninitialized members.
...
Signed-off-by: Richard Henderson <rth@redhat.com>
Signed-off-by: Arun Sharma <arun.sharma@google.com>
2006-07-26 22:09:10 -06:00
Arun Sharma
8297866bd4
[x86-64] (unw_step): Further refine handling of functions without unwind-info.
...
CFA should be incremented by 16 in the hope that the previous frame
may have valid unwind info.
Also increase the default frame pointer recognition heuristic from 4k
to 16k.
Signed-off-by: Andrey Veskov <Andrey.Veskov@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@google.com>
2006-07-26 22:06:48 -06:00
Arun Sharma
06d2ffa41a
[x86-64] (unw_step): Improve handling of functions which lack unwind info.
...
If following the frame-chain leads to a frame >= 4KB away, we conclude that
the frame-pointer isn't really valid.
2006-07-26 22:04:40 -06:00
Arun Sharma
7c0907634d
[x86-64] (unw_is_signal_frame): If access mem fails, it's not a signal frame.
2006-07-26 21:58:27 -06:00
Arun Sharma
58888a5060
(dwarf_find_save_locs): Also apply register-state after parsing the FDE
2006-07-26 21:55:09 -06:00
Arun Sharma
527225e492
[x86-64] Make a best effort at validating pointers before dereferencing them.
...
Signed-off-by: Arun Sharma <arun.sharma@google.com>
2006-07-26 21:46:39 -06:00
Arun Sharma
4312719cbc
[dwarf] Need to guard against multiple threads accessing the rs cache.
...
Signed-off-by: Arun Sharma <arun.sharma@google.com>
2006-07-26 21:44:38 -06:00
Arun Sharma
c5dc3c150a
[dwarf] Allow return address column to differ from function to function.
...
Signed-off-by: Andrey Veskov <Andrey.Veskov@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@google.com>
2006-07-26 21:29:50 -06:00
Arun Sharma
60b7af702a
(dwarf_find_save_locs): Add a comment.
...
Now that dwarf_find_save_locs() not just finds the save-locations but
also updates the cursor-state, document this fact (the function really
is misnamed now).
2006-07-26 21:25:37 -06:00
Arun Sharma
3dfde7a3f0
(dwarf_find_save_locs): put_unwind_info() is not needed in the cached case.
2006-07-26 21:23:30 -06:00
Arun Sharma
00db7f752a
Implement a ip -> dwarf_reg_state cache.
...
Signed-off-by: Arun Sharma <arun.sharma@google.com>
2006-07-26 21:18:49 -06:00
David Mosberger-Tang
1a0af36731
Fix forgotten copyright year update.
2006-07-26 15:48:48 -06:00
David Mosberger-Tang
6a89d40236
Fix missed "tdep.h" -> "libunwind_i.h" conversions.
2006-07-26 15:44:23 -06:00
David Mosberger-Tang
8c94e12429
(_UPT_find_proc_info): Fix potential crash due to uninitialized pointer.
...
Be sure to clear pi->unwind_info when looking up the kernel table and
not needing the unwind-info. Otherwise, _UPT_put_unwind_info() may
erroneously call free() on the pointer, even though that space wasn't
malloc'd, leading to crashes..
2006-07-26 15:43:23 -06:00
David Mosberger-Tang
fd2fa63a6c
Fix missed merge on setjmp_i.h and siglongjmp.c.
2006-07-26 15:21:52 -06:00
David Mosberger-Tang
69d85f7c14
Restore mi/Ldyn-remote.c.
2006-07-26 15:10:48 -06:00
David Mosberger-Tang
236e370dc5
Remove three Emacs backup-files which accidentially got checked into git.
2006-07-26 14:54:50 -06:00
David Mosberger-Tang
6daeeac60a
Revert "Initial revision"
...
This reverts e6446885f4
commit.
2006-07-26 14:53:49 -06:00
David Mosberger-Tang
a369768c27
Revert "Initial revision"
...
This reverts 06d223e924
commit.
2006-07-26 14:47:44 -06:00
David Mosberger-Tang
ca69fee8bb
Merge ../libunwind-v0.98
...
Conflicts:
include/dwarf_i.h
include/x86/jmpbuf.h
include/x86_64/jmpbuf.h
src/hppa/init.h
src/mi/Gget_fpreg.c
src/mi/Gset_fpreg.c
src/mi/strerror.c
2006-07-25 21:41:43 -06:00
David Mosberger-Tang
af2503e223
Fix bug in libunwind-ptrace which can cause reading of random data.
...
(maps_next): After reading less than a full buffer of data, copy
remaining data to the top of the buffer so as to maintain the
invariant that all data between mi->buf and mi->buf_end is valid.
This avoids maps_next() parsing uninitialized data.
2006-07-25 21:35:30 -06:00
David Mosberger-Tang
f176ad6fc6
Bring git v0.98.5 tree in sync with released v0.98.5.
...
Sadly, the conversion from Bitkeeper -> CVS -> git wasn't perfect. Or
so it seems.
2006-07-25 21:32:28 -06:00
hp.com!davidm
36a0275014
Allow write-access to UNW_IA64_BSP and UNW_REG_SP.
...
(Logical change 1.303)
2005-05-20 15:32:18 +00:00
hp.com!davidm
cf2a44ca49
Use update_nat() instead of equivalent open code.
...
(Logical change 1.301)
2005-05-20 14:58:46 +00:00
hp.com!davidm
f5de64f9f7
If r1 has been saved in an ABI-specific frame
...
(such as an interrupt frame), access the saved
value. Otherwise, pick it up from the unwind-info
for the matching IP.
(Logical change 1.300)
2005-05-20 14:50:54 +00:00
hp.com!davidm
399f120c96
Drop unused readonly variable.
...
(Logical change 1.299)
2005-05-20 14:13:01 +00:00
hp.com!davidm
3fa950e818
Remove early-out test when IP is zero.
...
(Logical change 1.298)
2005-05-20 13:35:32 +00:00
hp.com!davidm
19e3bf3ea6
(rbs_switch): Use rbs_get_base() to determine the size of the register
...
backing store.
(Logical change 1.297)
2005-05-20 13:13:07 +00:00
hp.com!davidm
9724ac492c
(common_init): Use rbs_get_base() to determine size of register-backing store.
...
(Logical change 1.297)
2005-05-20 13:13:07 +00:00
hp.com!davidm
080f8423d9
Read sp and bsp via ia64_get() and then pass them to common_init().
...
(Logical change 1.296)
2005-05-20 12:47:59 +00:00
hp.com!davidm
50bbc1fe3d
(set_as_arg): New function.
...
(get_initial_stack_pointers): Likewise.
(unw_init_local): Use new functions to make code more readable and add
Linux kernel support.
(Logical change 1.296)
2005-05-20 12:47:59 +00:00
hp.com!davidm
84bd124a24
(inlined_uc_addr): Remove UNW_IA64_AR_BSP. We no longer need this ugly hack
...
since the initial BSP is now passed directly into common_init().
(Logical change 1.296)
2005-05-20 12:47:59 +00:00
hp.com!davidm
4992f1c936
(common_init): Take initial sp and bsp values as arguments instead of
...
reading them via ia64_get().
(Logical change 1.296)
2005-05-20 12:47:59 +00:00
hp.com!davidm
97b483dcaa
Drop include of "mempool.h", which causes problems in the kernel, due to
...
a conflicting <linux/mempool.h>.
(SOS_MEMORY_SIZE): Move to libunwind_i.h.
(Logical change 1.295)
2005-05-20 11:28:16 +00:00
hp.com!davidm
1b63be3f89
(parse_dynamic): Make it a dummy-function of _U_dyn_op isn't defined, i.e.,
...
if libunwind-dynamic.h isn't in use (as is the case for the kernel at
the moment).
(Logical change 1.295)
2005-05-20 11:28:16 +00:00
hp.com!davidm
7894f0edc0
(ia64_strloc): Move to Grbs.c.
...
(Logical change 1.295)
2005-05-20 11:28:16 +00:00
hp.com!davidm
96407911ee
(ia64_strloc): Move here from Ginit.c so it can be shared with the kernel.
...
(Logical change 1.295)
2005-05-20 11:28:16 +00:00
hp.com!davidm
2e35dd035c
Regenerate.
...
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
3e8a50255c
Include from tdep-$(arch) directory after the normal incliude directory.
...
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
32385d36fd
Include "tdep-ia64/rse.h" instead of "ia64/rse.h".
...
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
1228462adc
Include "rse.h" instead of "ia64/rse.h".
...
Include "libunwind_i.h" instead of "internal.h" and "tdep.h".
Define rbs_cover_and_flush() only for the !UNW_REMOTE_ONLY case.
(ia64_is_big_endian): New macro.
(ia64_get_abi): Likewise.
(ia64_set_abi): Likewise.
(ia64_get_abi_marker): Likewise.
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
8e6f3c8485
Include "rse.h" instead of "ia64/rse.h".
...
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
83820a78d1
Include "libunwind_i.h" instead of "tdep.h".
...
Include "tdep-ia64/rse.h" instead of "ia64/rse.h".
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
67f90c24be
Include "libunwind_i.h" instead of "tdep.h".
...
Include "elfxx.c" instead of "elf64.c".
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
d9e100753f
Include "libunwind_i.h" instead of "tdep.h".
...
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
07b01ad205
Include "libunwind_i.h" instead of "tdep.h" and "internal.h".
...
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
670dd57e82
Include "libunwind_i.h" instead of "libunwind.h" and a whole bunch of standard
...
header files.
Use lock_release instead of mutex_unlock/sigprocmask calls.
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
5724bee8c2
Include "libunwind_i.h" instead of "internal.h".
...
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
19df6612fa
Include "libunwind_i.h" instead of "internal.h" and "tdep.h".
...
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
b7adf160ee
Include "dwarf_i.h" instead of "dwarf.h".
...
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
c027d98386
Don't include headers already included via unwind_i.h.
...
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
df3d6af467
Don't include <string.h>.
...
Include "libunwind_i.h" instead of "tdep.h".
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
dda1a6d625
Don't include <string.h>.
...
Include "libunwind_i.h" instead of "internal.h" and "tdep.h".
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
379fb069d2
Don't include <string.h>, <unistd.h>, <sys/types.h>.
...
Include "libunwind_i.h" instead of "tdep.h".
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
9e8ba174e6
Don't include <string.h> and <stdlib.h>.
...
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
9fac7579ee
Don't include <string.h> and "tdep.h".
...
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
71acf1d00e
Don't include <stdlib.h>.
...
Include "libunwind_i.h" instead of "tdep.h".
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
03ba50ccaa
Don't include <stdlib.h> and <string.h>.
...
Include "libunwind_i.h" instead of "tdep.h".
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
fa2871946a
Don't include <assert.h> and <stddef.h>.
...
Use ia64_get_abi_marker() instead of directly referencing c->last_abi_marker.
(linux_scratch_loc): When accessing an fp-reg, default to IA64_FPREG_LOC.
Handle more registers for the Linux interrupt-frame case.
(tdep_access_reg): Use ia64_get_abi() instead of c->as->abi.
Use ia64_is_big_endian() instead of c->as->big_endian.
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
8bb167d4c1
Don't include <alloca.h> and <stdlib.h>.
...
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
6675be4926
(linux_interrupt): Enable this code for the kernel, too.
...
Use ia64_get_abi_marker() instead of c->abi_marker.
Use ia64_set_abi() instead of storing directly to c->as->abi.
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
ee6eeb4f7d
(get_script_cache): Use HAVE_ATOMIC_H instead of __linux && __KERNEL__.
...
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
8a1e0a2bcd
Auto merged
...
2005/05/17 14:14:23-07:00 hp.com!davidm
(tdep_access_reg): Access AR.EC via ec_loc instead of cfm_loc.
(Logical change 1.293)
2005-05-17 21:28:19 +00:00
hp.com!davidm
26fdb45d76
Auto merged
...
2005/05/17 14:14:23-07:00 hp.com!davidm
(linux_sigtramp): Add "prev_cfm_loc" argument. Use it to set c->ec_loc.
(linux_interrupt): Likewise.
(hpux_sigtramp): Likewise.
(update_frame_state): Copy old cfm_loc to prev_cfm_loc and pass it to
ABI-specific handlers. Initialize c->ec_loc to c->cfm_loc by default.
(Logical change 1.293)
2005-05-17 21:28:19 +00:00
hp.com!davidm
a6ba57d556
Auto merged
...
2005/05/17 06:10:13-07:00 hp.com!davidm
(tdep_access_reg): Don't rotate contents of UNW_IA64_PR.
(Logical change 1.292)
2005-05-17 13:24:49 +00:00
hp.com!davidm
8462f1f87d
(pr_ltop): Remove.
...
(pr_ptol): Remove.
(Logical change 1.292)
2005-05-17 13:24:49 +00:00
mostang.com!davidm
23884c98cb
Rename: src/sigsetjmp.c -> src/setjmp/sigsetjmp.c
...
}(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
4d7f2a5be7
Rename: src/sigsetjmp.c -> src/setjmp/sigsetjmp.c
...
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
5ac5853589
Rename: src/setjmp.c -> src/setjmp/setjmp.c
...
}(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
8e06df0e52
Rename: src/setjmp.c -> src/setjmp/setjmp.c
...
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
9bc79a618b
Rename: src/dwarf/dwarf-eh.h -> include/dwarf-eh.h
...
}(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
06d223e924
Initial revision
2005-05-03 09:13:17 +00:00
mostang.com!davidm
4e833d43fc
Include "setjmp_i.h".
...
Abstract ia64-specific code into bsp_match() routine.
Support any platform with at least 2 EH argument registers.
}(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
4f16756123
Include "setjmp_i.h".
...
Abstract ia64-specific code into bsp_match() routine.
Support any platform with at least 2 EH argument registers.
2004/12/06 01:33:16-08:00 mostang.com!davidm
Rename: src/longjmp.c -> src/setjmp/longjmp.c
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
203c0a5363
Include "setjmp_i.h".
...
Abstract ia64-specific code into bsp_match() and
resume_restores_sigmask() routines.
}(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
acf90b1f82
Include "setjmp_i.h".
...
Abstract ia64-specific code into bsp_match() and
resume_restores_sigmask() routines.
2004/12/06 01:33:01-08:00 mostang.com!davidm
Rename: src/siglongjmp.c -> src/setjmp/siglongjmp.c
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
239ea4e7ea
Implement for real. Note: this version is currently broken.
...
We don't pass sigmask the way this routine expects because it
can't work.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
7a5549f2d8
Drop "inline" since it's now part of ALWAYS_INLINE.
...
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
411331eecb
Delete: src/hppa/Lget_reg.c
...
}(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
ca02ad1708
Delete: src/hppa/Lget_proc_name.c
...
}(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
181bddfba0
Delete: src/hppa/Gget_reg.c
...
}(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
f45210852c
Delete: src/hppa/Gget_proc_name.c
...
}(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
10a269d6d0
Also enable DWARF code for UNW_TARGET_HPPA.
...
2004/11/23 16:59:56-08:00 mostang.com!davidm
(_UPTi_find_unwind_table): Implement first draft for x86/-64.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
b267dfc8c9
Adjust for sigset_t to intrmask_t renaming.
...
}(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
dc89a17613
Adjust for sigset_t to intrmask_t renaming.
...
2004/12/02 00:40:45-08:00 mostang.com!davidm
Add copyright notice.
Provide canonical DWARF-based implementation.
2004/11/30 23:38:42-08:00 mostang.com!davidm
Rename: src/hppa/global.c -> src/hppa/Gglobal.c
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
1f5ac0f5bd
Adjust for sigset_t to intrmask_t renaming.
...
2004/11/17 02:43:39-08:00 mostang.com!davidm
(struct callback_data): New structure.
(linear_search): New function.
(callback): Convert to getting auxiliary info passed via a pointer to
a callback_data structure, rather than an unw_dyn_info_t
structure.
Keep track of the maximum load address in max_load_addr.
If an object doesn't have a binary search-table, fall back
on a linear search.
(dwarf_find_proc_info): Fill in callback-data structure before calling
dl_iterate_phdr(). Upon returning, check whether
cb_data.single_fde is set and, if so, return directly, without
searching the DWARF unwind-table.
(dwarf_search_unwind_table): Adjust for renaming of
dwarf_parse_fde() to dwarf_extract_proc_info_from_fde().
If IP doesn't fall into the IP-range of the FDE-entry found
by the search, return UNW_ENOINFO.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
7fbb8a9593
Adjust for sigset_t to intrmask_t renaming.
...
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
9f3360a546
Adjust for "ia64_rse" to "rse" prefix change.
...
2005/02/23 12:55:45-08:00 mostang.com!davidm
(inlined_uc_addr): Adjust for ALWAYS_INLINE change.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
7f8b54ae5c
Adjust for "ia64_rse" to "rse" prefix change.
...
2005/02/20 21:42:55-08:00 mostang.com!davidm
Adjust for NELEMS to ARRAY_SIZE renaming.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
3f73836b87
Adjust for "ia64_rse" to "rse" prefix change.
...
2004/12/15 15:40:09-08:00 hp.com!davidm
Include "tdep.h" on ia64 (we need the cursor).
(bsp_match): Fix it so it compiles again.
(resume_restore_sigmask): Likewise.
2004/12/06 10:40:49-08:00 mostang.com!davidm
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
3e00b79170
Adjust for "ia64_rse" to "rse" prefix change.
...
2004/12/06 10:40:49-08:00 mostang.com!davidm
(tdep_access_reg): Fix typo in code to read EH argument registers.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
4849af2d09
Adjust for "ia64_rse" to "rse" prefix change.
...
2004/11/23 16:59:56-08:00 mostang.com!davidm
(_UPT_access_reg): If the register is out of range, set errno
to EINVAL.
When encountering an error while accessing a register,
print the corresponding error string.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
87081cebab
Adjust for "ia64_rse" to "rse" prefix change.
...
2004/10/25 07:52:30-07:00 hp.com!davidm
(unw_step): Add Debug statement to print return-value.
2004/10/25 05:21:51-07:00 hp.com!davidm
(unw_step): Print IP along with cursor address.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
bf832fc29e
Adjust for "ia64_rse" to "rse" prefix change.
...
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
3f16641760
(x86_local_resume): Delete unused code.
...
(establish_machine_state): Fix off-by-one error.
Fix Debug-statement formatting & debug-level.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
17bf4d0af8
(unw_step): If dwarf_step() fails and the frame doesn't look like
...
a signal-trampoline, assume that it's a PLT stub.
If non-DWARF stepping fails to change IP and CFA, declare
it a bad frame.
2004/11/23 16:59:56-08:00 mostang.com!davidm
(unw_step): Also print IP as part of the function-trace.
2004/11/23 16:17:37-08:00 mostang.com!davidm
(unw_step): When dwarf_step() fails on a signal-frame, fill in all
the known locations because dwarf_step() fails on older
kernels which don't export the kernel vDSO even though every-
thing else may be providing proper DWARF unwind-info.
2004/10/25 17:43:57+02:00 homeip.net!davidm
Add Debug statement for return-value.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
fa0828ac7d
(unw_step): Also print IP as part of the function-trace.
...
2004/11/23 12:49:54-08:00 mostang.com!davidm
(unw_step): If dwarf_step() fails on a signal-frame, fill in the
save-locations for everything that gets saved in the
sigcontext structure.
2004/10/25 17:43:57+02:00 homeip.net!davidm
Add Debug statement for return-value.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
93599dc278
(unw_init_local): Implement it based on the DWARF unwinder.
...
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
0f27732d35
(unw_get_proc_info): Implement it based on dwarf_make_proc_info().
...
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
7ac9665fd3
(unw_get_proc_info): Don't freak out if dwarf_make_proc_info() fails.
...
Unfortunately, it must fail for current versions of libc
since they fail to provide unwind-info for _start() and
_dl_start().
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
b1b84400b9
(tdep_uc_addr): Define as HIDDEN.
...
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
db1517609c
(tdep_access_reg): Buffer writes to EH argument registers (EAX
...
and EDX) in dwarf.eh_args[].
2004/11/17 02:43:39-08:00 mostang.com!davidm
(tdep_access_reg): Treat UNW_X86_ESP exactly like UNW_X86_CFA.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
caa61dfec1
(remote_install_cursor): Fix off-by-one error.
...
2004/10/25 05:21:51-07:00 hp.com!davidm
(unw_resume): Print IP along with cursor-address.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
46b7b8196c
(is_cie_id): New function.
...
(parse_cie): Adjust for moving DWARF2 extra-info from
unw_dyn_dwarf_fde_info_t to dwarf_cie_info.
Add support for `S' augmentation ("special frames").
(dwarf_extract_proc_info_from_fde): Rename frm dwarf_parse_fde().
Convert to returning data via dwarf_cie_info rather than
unw_dyn-dwarf_fde_info_t. Allow 0-length FDE since those
can be used to indicate the end of the FDE-table. Return
the end of the FDE via *ADDRP. Ignore CIEs (we may pick them
up during linear searches through the FDE-table).
Fill in the unwind-info only if really needed. When needed,
return the info via a dynamically allocated dwarf_cie_info
structure. Add support for `S' augmentation (ABI/tag pairs).
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
c14371409a
(fetch_proc_info): Decrement IP before searching for dynamic/static
...
unwind-info, since DWARF expects us to do so (unlikey for ia64,
where we are guaranteed that the (return) IP points to the
correct unwind-info).
2004/11/17 02:43:39-08:00 mostang.com!davidm
(run_cfi_program): Switch over to using dwarf_cie_info instead of
unw_dyn_dwarf_fde_info_t.
(fetch_proc_info): Clear c->pi before filling it in.
(put_unwind_info): If we got non-dynamic unwind-info, free it
via a call to mempool_free().
(parse_fde): Switch over to using dwarf_cie_info instead of
unw_dyn_dwarf_fde_info_t.
(apply_reg_state): Drop accessees to c->cfa_is_sp.
2004/10/25 17:38:51+02:00 homeip.net!davidm
Fix typo: DW_CFA_CFA_expression -> DW_CFA_expression.
2004/10/21 11:15:44+02:00 homeip.net!davidm
Auto merged
2004/10/21 11:15:12+02:00 homeip.net!davidm
(run_cfi_program): Add missing newline in Debug statement.
(apply_reg_state): It was wrong to do a dwarf_get() on the CFA-location
returned by eval_location_expr(). Instead, we must make sure
we're dealing with a memory-location and, if so, just extract
the memory address as the CFA.
Also, update c->cfa only _after_ the other frame-state has
been updated. This seems to be necessary for correct parsing
of the sigtramp unwind info. Not sure yet this is 100% correct,
but it gets us through Gtest-resume-sig.
2004/10/19 23:24:56-07:00 mostang.com!davidm
(run_cfi_program): Fix typos in Debug statements.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
4502aa0ff2
(dwarf_read_encoded_pointer): Implement simply by calling
...
dwarf_read_encoded_pointer_inlined().
2004/11/17 02:43:39-08:00 mostang.com!davidm
(dwarf_read_encoded_pointer): Declare proc-info-pointer argument
as "const".
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
3239e7db60
(dwarf_cie_info_pool): New variable.
...
(dwarf_init): Initialize dwarf_cie_info_pool.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
bbe87ea403
(common_init): Don't forget to clear c->dwarf members args_size,
...
ret_addr_column, pi_valid, and pi_is_dynamic.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
7fcb8006a9
(common_init): Adjust for ALWAYS_INLINE change.
...
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
8a66c9c635
(access_reg): Delete left-over Debug statement.
...
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
9c025efac2
(_UI_siglongjmp_cont): Provide dummy implementation.
...
(_UI_longjmp_cont): Likewise.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
e3180d47a0
(UC_MCONTEXT_{R8-R15,RDI,RSI,RBX,RDX,RAX,RCX}: New macros.
...
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
04fde4a63b
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
981ff25f70
Regenerate.
...
2004/12/15 15:36:36-08:00 hp.com!davidm
Regenerate.
2004/12/06 10:40:49-08:00 mostang.com!davidm
Regenerate.
2004/12/04 17:03:36-08:00 mostang.com!davidm
Regenerate.
2004/12/02 00:40:45-08:00 mostang.com!davidm
Regenerate.
2004/11/23 16:59:56-08:00 mostang.com!davidm
Regenerate.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
e6446885f4
Initial revision
2005-05-03 09:13:17 +00:00
hp.com!davidm
516f759229
Fix two typos which kept things from building on x86-64 and other
...
platforms.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
0dec41725c
Fix missing NELEMS -> ARRAY_SIZE adjustment.
...
2004/12/02 00:40:45-08:00 mostang.com!davidm
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
df5acdd24a
Fix missing NELEMS -> ARRAY_SIZE adjustment.
...
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
7b17187a39
Define ucontext_t, sigcontext_t, and strct rt_sigframe offsets and
...
pray they never change.
2004/12/02 00:40:45-08:00 mostang.com!davidm
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
7c4be6f9bc
Auto merged
...
2005/04/07 12:19:38-07:00 hp.com!davidm
(ia64_make_proc_info): After looking up proc-info, cache it if
caching is enabled.
2005/02/20 21:42:55-08:00 mostang.com!davidm
Adjust for NELEMS to ARRAY_SIZE renaming.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
b85ca59440
Auto merged
...
2004/12/02 18:37:47-08:00 hp.com!davidm
(get_list_addr): Even the "it's missing" version of this routine
must clear *countp to avoid spurious failures.
2004/11/03 11:45:24-08:00 hp.com!davidm
Auto merged
2004/10/21 16:06:28+02:00 homeip.net!davidm
(get_list_addr): Don't fail with -UNW_ENOINFO just because something
in /proc/maps isn't mappable.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
a04f52279d
Add include of "offsets.h".
...
(unw_step): Improve debug output. Implement signal-frame fall-back
code.
2004/12/02 00:40:45-08:00 mostang.com!davidm
(update_frame_state): Remove.
(unw_step): Implement it based on DWARF unwinder.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
a9cad72ed4
(x86_64_local_resume): Fix missing "H" typo.
...
2004/11/30 22:44:47-08:00 mostang.com!davidm
(my_rt_sigreturn): New function.
(x86_64_local_resume): Use my_rt_sigreturn(). The normal sigreturn()
does nothing (returns with an error).
2004/11/23 18:01:09-08:00 mostang.com!davidm
(x86_64_local_resume): Provide a minimal implementation (a la x86).
(establish_machine_state): Fix off-by-one error.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
5d8b2e3415
(valid_object): Declare as HIDDEN instead of PROTECTED.
...
(get_proc_name): Likewise.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
6fc50d4ed6
(unw_search_ia64_unwind_table): Always return unwind_info in the
...
local case since it's trivial to do so and saves us time if
later on we need to build a script for that procedure.
2005/02/23 14:40:44-08:00 mostang.com!davidm
Adjust for sigset_t to intrmask_t renaming.
2004/10/25 05:21:51-07:00 hp.com!davidm
(unw_search_ia64_unwind_table): Clarify comment and add a Debug() statement
for the case where we find a bad unwind-header version.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
f9b8ba0d47
(unw_resume): Reject attempts to resume execution at IP 0.
...
2004/12/02 18:37:47-08:00 hp.com!davidm
(my_rt_sigreturn): New function.
2004/12/02 00:40:45-08:00 mostang.com!davidm
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
39ec1bd6dc
(unw_is_signal_frame): Always return 0 for NULL IP.
...
2004/12/02 18:37:47-08:00 hp.com!davidm
(unw_is_signal_frame): Implement it.
2004/12/02 00:40:45-08:00 mostang.com!davidm
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
6ed360df7e
(unw_is_signal_frame): Add a Debug statement.
...
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
68edb681d8
(uc_addr): Adjust for Debian/sarge header-file changes.
...
(access_reg): Adjust & enable sanity-check.
(acces_fpreg): Provide minimal implementation.
2004/12/02 00:40:45-08:00 mostang.com!davidm
(uc_addr): Implement it so it starts to be useful.
(_Uhppa_uc_addr): Rename from _Ux86_uc_addr.
(get_static_proc_name): New function.
(hppa_local_addr_space_init): Rename from x86_local_addr_space_init().
Use dwarf_find_proc_info, hppa_local_resume, and
get_static_proc_name callbacks.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
555bae8aa3
(tdep_access_reg): When writing RAX/RDX, update eh_args[] and
...
eh_valid_mask instead. When reading and the corresponding
eh_valid_mask bit is set, read from eh_args[] instead.
2004/11/17 02:43:39-08:00 mostang.com!davidm
(tdep_access_reg): Treat UNW_X86_64_RSP exactly like UNW_X86_64_CFA.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
5b0507c432
(tdep_access_reg): Handle UNW_HPPA_IP, UNW_HPPA_CFA, UNW_HPPA_SP,
...
and UNW_HPPA_EH{0,1,2,3} correctly.
(tdep_access_fpreg): Implement.
2004/12/02 00:40:45-08:00 mostang.com!davidm
(tdep_access_reg): Provide a minimally working implementation.
(tdep_access_fpreg): New (unimplemented) function.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
b38691980f
(sos_alloc): Fix soslock vs. sos_lock typo.
...
2005/02/23 14:40:44-08:00 mostang.com!davidm
Adjust for sigset_t to intrmask_t renaming.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
7e0192f53a
(setcontext): Declare.
...
2004/12/02 00:40:45-08:00 mostang.com!davidm
Delete accessor macros which have been replaced by their DWARF
equivalent.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
16af7ae96e
(libunwind_setjmp_la_SOURCES_x86_64): Mention longjmp.S.
...
(libunwind_la_SOURCES_x86_64_common): Mention x86_64/setcontext.S.
2004/12/15 15:36:36-08:00 hp.com!davidm
(libunwind_ptrace_a_SOURCES): Mention _UPT_elf.c.
(libunwind_la_SOURCES_ia64_common): Move ELF files to here
from libunwind_la_SOURCES_ia64.
(libunwind_la_SOURCES_hppa_common): Likewise.
(libunwind_la_SOURCES_x86_common): Likewise.
(libunwind_la_SOURCES_x86_64_common): Likewise.
2004/12/06 10:40:49-08:00 mostang.com!davidm
(libunwind_setjmp_la_SOURCES_common): Move files into
setjmp subdirectory.
(libunwind_setjmp_la_SOURCES_hppa): Don't bother mentioning
common files again.
(libunwind_setjmp_la_SOURCES_x86): Likewise.
(libunwind_setjmp_la_SOURCES_x86_64): Likewise.
2004/12/04 17:00:04-08:00 hp.com!davidm
(libunwind_la_SOURCES_hppa): Mention hppa/setcontext.S.
2004/12/02 00:40:45-08:00 mostang.com!davidm
(COMMON_SO_LDFLAGS): Drop -XCClinker -nostdlib and
$(LDFLAGS_STATIC_LIBCXA) and move them...
(libunwind_la_LDFLAGS): ...to here instead. We only want the
local unwind-library built that way.
(libunwind_la_SOURCES_hppa_common): New macro.
(libunwind_la_SOURCES_hppa): Update.
(libunwind_hppa_la_SOURCES_hppa): New macro.
2004/11/23 16:59:56-08:00 mostang.com!davidm
(dwarf_SOURCES_common): Remove dwarf/dwarf-eh.h.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
23405d02ec
(get_script_cache): Fix typo in Debug() statement (missing argument).
...
(put_script_cache): Fix typo in argument name.
2005/04/07 12:19:38-07:00 hp.com!davidm
(ia64_get_cache_proc_info): Move it to near the end of the file.
(script_init): Also call ia64_fetch_proc_info() if the script was
found in the cache but it's empty (count == 0 and NULL
unwind_info pointer). Also invoke build_script() if
script has no instructions yet (count==0). Add assertion
to ensure that build_script() never returns an empty
script.
(ia64_cache_proc_info): New function to cache the proc_info only.
2005/02/23 14:40:44-08:00 mostang.com!davidm
Adjust for sigset_t to intrmask_t renaming.
2005/02/23 13:10:05-08:00 mostang.com!davidm
Adjust for "ia64_rse" to "rse" prefix change.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
e8b25005e7
(common_init): Initialize UNW_HPPA_IP based on save-location for
...
UNW_HPPA_RP.
2004/12/02 00:40:45-08:00 mostang.com!davidm
(common_init): Provide a minimally working implementation.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
081c41d8a6
(common_init): Don't forget to initialize sigcontext_format and
...
sigcontext_addr.
2004/11/17 02:43:39-08:00 mostang.com!davidm
(common_init): Don't forget to clear c->dwarf members args_size,
ret_addr_column, pi_valid, and pi_is_dynamic.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
828d48662d
(UNW_HPPA_IP): New entry.
...
2004/12/02 00:40:45-08:00 mostang.com!davidm
(_UPT_reg_offset): Add minimal set of definitions for HPPA.
2004/11/23 16:59:56-08:00 mostang.com!davidm
Fix offset for UNW_X86_64_RBP.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
75fb20d67d
(SPILL): Adjust for Debian/sarge changes in the ucontext_t structure.
...
2004/12/02 00:40:45-08:00 mostang.com!davidm
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
5b20c6e082
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
homeip.net!davidm
bb03dca33e
Add Debug statement for return-value.
...
2004/10/19 23:15:02-07:00 mostang.com!davidm
(update_frame_state): Take additional argument "prev_cfa".
When we detect a NULL-frame, debug-print the IP and the CFA
so we know where things went wrong.
(dwarf_step): Get "prev_cfa" before we call dwarf_find_save_locs(),
since update_frame_state() doesn't actually update
the CFA.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
homeip.net!davidm
670399d357
(pop): Returning the right element does help...
...
(pick): Likewise.
(dwarf_eval_expr): Fix "while" conditional so we see all operators.
Fix DW_OP_litN typo: "opcode = DW_OP_lit0" to
"opcode - DW_OP_lit0".
Add lots of Debug() statements so we can see what's going
on. Debug level 15 will show just entry/return values.
Debug level 16 shows all operators.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
8efd6d24da
(desc_alias): Fix off-by-one bug.
...
(Logical change 1.287)
2005-04-20 21:01:22 +00:00
hp.com!davidm
ea7155ebfd
(get_list_addr): Clear ui->ei.image/ui->ei.size after unmapping the
...
image.
(Logical change 1.286)
2005-03-31 21:18:27 +00:00
hp.com!davidm
15df8b804c
(_ReadSLEB): Fix typo: shift needs to be increment before checking
...
for loop-exit. Otherwise, sign-extension may clobber the
most recently read 7 bits.
(Logical change 1.284)
2005-02-19 06:15:20 +00:00
hp.com!davidm
272caabbfa
Regenerate.
...
(Logical change 1.283)
2004-11-16 22:03:04 +00:00
hp.com!davidm
d15f52662a
(local_find_proc_info): When compiling for libunwind-ia64, declare
...
_U_dyn_info_list_addr as weak and if it remained undefined,
return -UNW_ENOINFO.
(Logical change 1.282)
2004-11-16 18:47:39 +00:00
hp.com!davidm
4e731a5572
(get_dyn_info_list_addr): When compiling into libunwind-ia64, declare
...
_U_dyn_info_list_addr as weak and fail if the symbol remained
undefined.
(get_static_proc_name): Likewise for _Uelf64_get_proc_name().
(Logical change 1.282)
2004-11-16 18:47:39 +00:00
hp.com!davidm
0f9f815cf1
Regenerate.
...
(Logical change 1.280)
2004-11-03 21:50:24 +00:00
hp.com!davidm
27a9067229
(libunwind_la_LIBADD): Append $(LIBCRTS).
...
(Logical change 1.280)
2004-11-03 21:50:24 +00:00
hp.com!davidm
346b85ec54
(get_list_addr): Don't fail with -UNW_ENOINFO just because something
...
in /proc/maps isn't mappable.
(Logical change 1.279)
2004-11-03 19:44:44 +00:00
hp.com!davidm
e8518b85c5
Ignore NULL stack-frames---they can't possibly be the correct target of
...
a longjmp() because the caller of setjmp() must have a non-NULL frame.
(Logical change 1.273)
2004-10-13 14:14:09 +00:00
hp.com!davidm
22ac4c078f
(__sigsetjmp): Start updating jmp_buf only after sigprocmask() returned
...
successfully. This avoids a failure in ia64-test-setjmp which
was due to the fact that sigprocmask() caused a segfault (due to
overflowing the stack) and at that point we had a partially updated
jmp_buf.
(Logical change 1.272)
2004-10-13 14:08:02 +00:00
homeip.net!davidm
b62e5e37b3
Regenerate.
...
(Logical change 1.271)
2004-10-05 16:28:06 +00:00
mostang.com!davidm
caa528e1e8
Add dummy implementation of _UI_longjmp_cont().
...
(Logical change 1.268)
2004-09-09 16:26:15 +00:00
mostang.com!davidm
81f4953a1f
Fix typo: REMOTE_ONLY -> UNW_REMOTE_ONLY.
...
(Logical change 1.266)
2004-09-09 13:06:01 +00:00
mostang.com!davidm
cb4fda9750
(setjmp): Fix cast: unw_word_t should be "void *".
...
(Logical change 1.266)
2004-09-09 13:06:01 +00:00
mostang.com!davidm
21dd6ad5cb
(x86_local_resume): Tweak debug-level code to match ia64-version.
...
(Logical change 1.265)
2004-09-09 10:51:29 +00:00
mostang.com!davidm
f226ffec68
(common_init): Don't forget to initialize cursors sigcontext_format
...
and sigcontext_addr members.
(Logical change 1.263)
2004-09-09 10:47:55 +00:00
mostang.com!davidm
112fcdd172
Regenerate.
...
(Logical change 1.261)
2004-09-08 17:36:28 +00:00
com[davidm]!masbock
e09e6ce1ad
x86-64: fix unw_get_proc_info()
...
(Logical change 1.260)
2004-08-31 13:59:37 +00:00
hp.com!davidm
7ccee42004
bsig
...
(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
f7671b5cf7
Regenerate.
...
(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
352642247a
Move JB_* macros to jmpbuf.h.
...
(_longjmp): Simplify by taking advantage of new _UI_longjmp_cont.
(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
197c9d517b
Initial revision
2004-08-31 13:59:10 +00:00
hp.com!davidm
c961dc646e
(sigsetjmp): Use macros from jmpbuf.h instead of hardcoded values.
...
(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
e1e7db0e9b
(siglongjmp): Use macros from jmpbuf.h instead of hardcoded values.
...
For ia64, if the longjmp is crossing a signal-frame, install
the new signal mask by updating the sc_mask member in the
oldest signal-frame.
(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
14abd25ff5
(setjmp): Use macros from jmpbuf.h instead of hardcoded values.
...
(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
9645369110
(local_resume): Adjust for expanded interface of rbs_cover_and_flush() and
...
ia64_install_cursor().
(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
f4c8d534bc
(libunwind_setjmp_la_SOURCES_ia64): Mention ia64/longjmp.S.
...
(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
0aa29032f6
(ia64_install_cursor): Take additional arguments "bspstore", "dirty_size",
...
"dirty_partition", and "dirty_nat". If size of dirty partition
is non-zero, load it up via "loadrs" before resuming execution.
(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
3386d284fa
(ia64_install_cursor): Adjust declaration for expanded interface.
...
(rbs_cover_and_flush): Likewise.
(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
cd69bfec0c
(get_rnat): Simplify to return only the RNaT value itself.
...
(rbs_cover_and_flush): Take additional arguments "dirty_partition",
"dirty_rnat", and "bspstore". When it is necessary to copy
backing-store words, copy them to "dirty_partition" instead of
the target rbs, which may be full already.
(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
3dd5ca6713
(_setjmp): Use macros from jmpbuf.h instead of hardcoded values.
...
(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
d7418c600f
(__sigsetjmp): Use macros from "jmpbuf.h" instead of hardcoded values.
...
(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
e29611e7d3
(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
18b501de4c
Store rp and bsp in the same location as libc's setjmp().
...
(Logical change 1.258)
2004-08-26 11:07:05 +00:00
hp.com!davidm
ff2dcb9897
Pick up rp and bsp from locations compatible with libc's setjmp().
...
(Logical change 1.258)
2004-08-26 11:07:05 +00:00
hp.com!davidm
23366e72e5
Rename: src/unwind-internal.h -> src/unwind/unwind-internal.h
...
}(Logical change 1.257)
2004-08-26 10:02:46 +00:00
hp.com!davidm
17c2244f91
Rename: src/unwind-internal.h -> src/unwind/unwind-internal.h
...
(Logical change 1.257)
2004-08-26 10:02:46 +00:00
hp.com!davidm
e965c295cf
Regenerate.
...
(Logical change 1.257)
2004-08-26 10:02:46 +00:00
hp.com!davidm
e75a89cd6c
Initial revision
2004-08-26 10:02:46 +00:00
hp.com!davidm
746fbe08e7
Increase debug-level of state-record printing to 2.
...
(Logical change 1.257)
2004-08-26 10:02:46 +00:00
hp.com!davidm
f576cce748
Drop debug-level for function-trace to 1.
...
(Logical change 1.257)
2004-08-26 10:02:46 +00:00
hp.com!davidm
f20eb7ea72
Add missing newlines in Debug statements.
...
(Logical change 1.257)
2004-08-26 10:02:46 +00:00
hp.com!davidm
22d6f35cda
(EXTRA_DIST): unwind-internal.h is now in unwind subdirectory.
...
(Logical change 1.257)
2004-08-26 10:02:46 +00:00
com[davidm]!marky
271f706944
dwarf: fix local & remote table lookup
...
(Logical change 1.256)
2004-08-24 08:19:00 +00:00
homeip.net!davidm
0dfc1c87ed
Regenerate.
...
(Logical change 1.254)
2004-08-20 11:26:49 +00:00
homeip.net!davidm
f028c7db74
(lib_LTLIBRARIES_cdep_setjmp): New macro. Move libunwind-setjmp.la
...
from lib_LTLIBRARIES_cdep to here.
(libunwind_la_SOURCES_x86_64_common): Mention x86_64/ucontext_i.h so
it gets included in the tar-ball, too.
(lib_LTLIBRARIES): List $(lib_LTLIBRARIES_cdep_setjmp) after the
other libraries.
(Logical change 1.254)
2004-08-20 11:26:49 +00:00
homeip.net!davidm
642607dbaa
Cast register indices of type unw_word_t to (unsigned int) before
...
printing them. Avoids compiler-warning for 64-bit targets.
(apply_reg_state): Handle the special case where the stack-pointer
plays the role of the CFA and the stack-pointer hasn't
been saved. This is based on a patch by Max Asbock.
(Logical change 1.253)
2004-08-20 11:23:15 +00:00
homeip.net!davidm
6058013abe
(unw_step): If dwarf_step() fails, fall back on using the frame-chain.
...
In theory, this may not be needed. In practice, I find that
Red Hat Enterprise Linux AS release 3, the _start() routine has
no unwind-info, but we need to be able to unwind into this
routine to find the end-of-frame-chain marker (RBP == 0).
(Logical change 1.253)
2004-08-20 11:23:15 +00:00
homeip.net!davidm
be2bed2712
(tdep_access_reg): If c->dwarf.cfa_is_sp is set, treat UNW_X86_64_RSP
...
as a read-only alias of CFA.
(Logical change 1.253)
2004-08-20 11:23:15 +00:00
homeip.net!davidm
9ac7a860d1
(parse_cie): Clarify the comment about the default FDE-encoding a bit.
...
(Logical change 1.253)
2004-08-20 11:23:15 +00:00
homeip.net!davidm
99784e02d3
(_UPTi_find_unwind_table): Provide dummy x86-64 implementation so
...
"make check" can be run.
(Logical change 1.253)
2004-08-20 11:23:15 +00:00
homeip.net!davidm
d8c89b8a01
(_UPT_reg_offset): Provide x86-64 register offsts (untested).
...
(Logical change 1.253)
2004-08-20 11:23:15 +00:00
homeip.net!davidm
51ef1210e8
Include ucontext_i.h.
...
(unw_step): Fixup signal-frame-skipping code so it can be cross-compiled.
(Logical change 1.251)
2004-08-19 14:00:14 +00:00
homeip.net!davidm
43425a9beb
(Logical change 1.251)
2004-08-19 14:00:14 +00:00
homeip.net!davidm
c0603a8ebc
Initial revision
2004-08-19 14:00:14 +00:00
ibm.com!masbock
e407f9a720
Regenerate.
...
(Logical change 1.249)
2004-08-19 13:39:10 +00:00
ibm.com!masbock
aa9a917cb4
Add x86_64 support.
...
(Logical change 1.249)
2004-08-19 13:39:10 +00:00
ibm.com!masbock
a766efd844
(Logical change 1.249)
2004-08-19 13:39:10 +00:00
ibm.com!masbock
58e37267be
Initial revision
2004-08-19 13:39:10 +00:00
homeip.net!davidm
077322d414
Drop DWARF-parsing debug prints from level 16 to 15.
...
(parse_cie): Pick correct default for FDE-encoding, not just DW_EH_PE_omit.
(Logical change 1.248)
2004-08-19 12:26:11 +00:00
homeip.net!davidm
aae368ace2
Drop DWARF-parsing debug prints from level 16 to 15.
...
(Logical change 1.248)
2004-08-19 12:26:11 +00:00
homeip.net!davidm
e9045e3cca
Add include of dwarf_i.h now that we need dwarf_reads32().
...
Drop DWARF-parsing debug prints from level 16 to 15.
(struct table_entry): Change member types from unw_word_t to int32_t. The members
need to be of a signed type and forcing them to 32 bits makes the type
work for both 32-bit and 64-bit executables (up to 4GB of text-size).
(callback): Only allow search tables which have 32-bit members.
Fix initialization of di->u.rti.table_len to express table-length as a count
of unw_word_t, as it's defined to be (we get lucky here: even with 32-bit
members, each table-entry contains two members so we're guaranteed that the
table has a size that is an integer-multiple of unw_word_t even on 64-bit
platforms).
(lookup): Change type of "rel_ip" from unw_word_t to int32_t. Simplify the
code a bit.
(remote_read): Delete.
(remote_lookup): Use dwarf_reads32() instead of remote_read() to read out table
members. Simplify code a bit.
(Logical change 1.248)
2004-08-19 12:26:11 +00:00
homeip.net!davidm
5742642c24
(unw_step): Drop extra 'x' from Debug statement.
...
(Logical change 1.248)
2004-08-19 12:26:11 +00:00
homeip.net!davidm
1ba865a631
Regenerate.
...
(Logical change 1.246)
2004-08-19 10:45:23 +00:00
homeip.net!davidm
66100609bb
Add alias required by ia64 unwind specification.
...
(Logical change 1.246)
2004-08-19 10:45:23 +00:00
homeip.net!davidm
ccdd644cf2
(SOVERSION): Change from 3:0:2 to 0:0:0 for ia64 unwind-specification compliance.
...
(Logical change 1.246)
2004-08-19 10:45:23 +00:00
bea.com!thallgre
779632ee82
Regenerate.
...
(Logical change 1.245)
2004-08-18 15:16:46 +00:00
bea.com!thallgre
0f818455ce
Initial revision
2004-08-18 15:16:46 +00:00
bea.com!thallgre
cb503ba4e5
(libunwind_la_SOURCES_common): Mention mi/strerror.c.
...
(Logical change 1.245)
2004-08-18 15:16:46 +00:00
bea.com!thallgre
48cc8c5712
(Logical change 1.245)
2004-08-18 15:16:46 +00:00
hp.com!davidm
54b9ba95f9
Drop include of <libunwind.h> and #ifdef checks.
...
(Logical change 1.244)
2004-08-18 10:57:18 +00:00
hp.com!davidm
2f6b56efda
(unw_init_remote): Redirect to unw_init_local() if we're initializing for
...
the local address-space. This makes test-init-remote.c work.
(Logical change 1.243)
2004-08-18 10:50:12 +00:00
hp.com!davidm
f9c59cd814
Rename mk_Gcursor_i_ia64_SOURCES to ia64_mk_Gcursor_i_SOURCES.
...
Likewise for mk_Lcursor_i_ia64_SOURCES.
(Logical change 1.242)
2004-08-18 10:43:50 +00:00
hp.com!davidm
fb83398cec
Regenerate.
...
(Logical change 1.242)
2004-08-18 10:43:50 +00:00
homeip.net!davidm
8f4a9df420
Rename: src/x86/siglongjmp-x86.S -> src/x86/siglongjmp.S
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
b8f4069f9f
Rename: src/x86/siglongjmp-x86.S -> src/x86/siglongjmp.S
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
c298861c67
Rename: src/x86/regname-x86.c -> src/x86/regname.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
85b14bb7f6
Rename: src/x86/regname-x86.c -> src/x86/regname.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
0219cd0e73
Rename: src/x86/is_fpreg-x86.c -> src/x86/is_fpreg.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
188032186b
Rename: src/x86/is_fpreg-x86.c -> src/x86/is_fpreg.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
2e94aaed46
Rename: src/x86/Gstep-x86.c -> src/x86/Gstep.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
3dab98edbc
Rename: src/x86/Gstep-x86.c -> src/x86/Gstep.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
fe971b1989
Rename: src/x86/Gresume-x86.c -> src/x86/Gresume.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
bcd0aff352
Rename: src/x86/Gresume-x86.c -> src/x86/Gresume.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
e7671cd144
Rename: src/x86/Gregs-x86.c -> src/x86/Gregs.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
6607424863
Rename: src/x86/Gregs-x86.c -> src/x86/Gregs.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
8652314904
Rename: src/x86/Gis_signal_frame-x86.c -> src/x86/Gis_signal_frame.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
e1eb2d4656
Rename: src/x86/Gis_signal_frame-x86.c -> src/x86/Gis_signal_frame.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
475062bfda
Rename: src/x86/Ginit_remote-x86.c -> src/x86/Ginit_remote.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
9f2cd2318d
Rename: src/x86/Ginit_remote-x86.c -> src/x86/Ginit_remote.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
66fe735a7d
Rename: src/x86/Ginit_local-x86.c -> src/x86/Ginit_local.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
db8a0c4373
Rename: src/x86/Ginit_local-x86.c -> src/x86/Ginit_local.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
5bb574d178
Rename: src/x86/Ginit-x86.c -> src/x86/Ginit.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
588192d301
Rename: src/x86/Ginit-x86.c -> src/x86/Ginit.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
a2bd90a8ed
Rename: src/x86/Gglobal-x86.c -> src/x86/Gglobal.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
ab6b58eae7
Rename: src/x86/Gglobal-x86.c -> src/x86/Gglobal.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
9f6b814a25
Rename: src/x86/Gget_save_loc-x86.c -> src/x86/Gget_save_loc.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
cf0945223e
Rename: src/x86/Gget_save_loc-x86.c -> src/x86/Gget_save_loc.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
387d1d739b
Rename: src/x86/Gget_proc_info-x86.c -> src/x86/Gget_proc_info.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
a4279b3808
Rename: src/x86/Gget_proc_info-x86.c -> src/x86/Gget_proc_info.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
499307bf0f
Rename: src/x86/Gcreate_addr_space-x86.c -> src/x86/Gcreate_addr_space.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
1682f9745e
Rename: src/x86/Gcreate_addr_space-x86.c -> src/x86/Gcreate_addr_space.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
75edef8597
Rename: src/ia64/sigsetjmp-ia64.S.S -> src/ia64/sigsetjmp.S
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
c38b083433
Rename: src/ia64/sigsetjmp-ia64.S.S -> src/ia64/sigsetjmp.S
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
9c5fe5391f
Rename: src/ia64/siglongjmp-ia64.S.S -> src/ia64/siglongjmp.S
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
b54bec50af
Rename: src/ia64/siglongjmp-ia64.S.S -> src/ia64/siglongjmp.S
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
963baf6f1e
Rename: src/ia64/setjmp-ia64.S.S -> src/ia64/setjmp.S
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
1f694b02c7
Rename: src/ia64/setjmp-ia64.S.S -> src/ia64/setjmp.S
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
f62002fe2b
Rename: src/ia64/regname-ia64.c -> src/ia64/regname.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
5710ea37cc
Rename: src/ia64/regname-ia64.c -> src/ia64/regname.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
34d88fc6b5
Rename: src/ia64/mk_Gcursor_i-ia64.c -> src/ia64/mk_Gcursor_i.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
8bc587f1a4
Rename: src/ia64/mk_Gcursor_i-ia64.c -> src/ia64/mk_Gcursor_i.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
82b4b77ce2
Rename: src/ia64/getcontext-ia64.S.S -> src/ia64/getcontext.S
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
4ba03baf6a
Rename: src/ia64/getcontext-ia64.S.S -> src/ia64/getcontext.S
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
2db9a97a45
Rename: src/ia64/dyn_info_list-ia64.S.S -> src/ia64/dyn_info_list.S
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
79373ff6a5
Rename: src/ia64/dyn_info_list-ia64.S.S -> src/ia64/dyn_info_list.S
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
01951e551e
Rename: src/ia64/Gtables-ia64.c -> src/ia64/Gtables.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
2142c20307
Rename: src/ia64/Gtables-ia64.c -> src/ia64/Gtables.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
c99f1225d3
Rename: src/ia64/Gstep-ia64.c -> src/ia64/Gstep.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
f1734db273
Rename: src/ia64/Gstep-ia64.c -> src/ia64/Gstep.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
b6d4bfeb29
Rename: src/ia64/Gscript-ia64.c -> src/ia64/Gscript.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
f9494563e7
Rename: src/ia64/Gscript-ia64.c -> src/ia64/Gscript.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
5a3ded7a0f
Rename: src/ia64/Gresume-ia64.c -> src/ia64/Gresume.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
6139bb71c1
Rename: src/ia64/Gresume-ia64.c -> src/ia64/Gresume.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
f356380897
Rename: src/ia64/Gregs-ia64.c -> src/ia64/Gregs.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
b3f681603b
Rename: src/ia64/Gregs-ia64.c -> src/ia64/Gregs.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
8f58a1cf9c
Rename: src/ia64/Grbs-ia64.c -> src/ia64/Grbs.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
38b586f953
Rename: src/ia64/Grbs-ia64.c -> src/ia64/Grbs.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
9288e6b155
Rename: src/ia64/Gparser-ia64.c -> src/ia64/Gparser.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
cc8c1cc220
Rename: src/ia64/Gparser-ia64.c -> src/ia64/Gparser.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
28b4cef6ba
Rename: src/ia64/Gis_signal_frame-ia64.c -> src/ia64/Gis_signal_frame.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
5bbef35906
Rename: src/ia64/Gis_signal_frame-ia64.c -> src/ia64/Gis_signal_frame.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
7178b67138
Rename: src/ia64/Ginstall_cursor-ia64.S.S -> src/ia64/Ginstall_cursor.S
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
5abc74b276
Rename: src/ia64/Ginstall_cursor-ia64.S.S -> src/ia64/Ginstall_cursor.S
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
5b0dd22644
Rename: src/ia64/Ginit_remote-ia64.c -> src/ia64/Ginit_remote.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
1883db9df1
Rename: src/ia64/Ginit_remote-ia64.c -> src/ia64/Ginit_remote.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
6fecde079e
Rename: src/ia64/Ginit_local-ia64.c -> src/ia64/Ginit_local.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
5a0713e6ab
Rename: src/ia64/Ginit_local-ia64.c -> src/ia64/Ginit_local.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
225a76c872
Rename: src/ia64/Ginit-ia64.c -> src/ia64/Ginit.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
697ad31494
Rename: src/ia64/Ginit-ia64.c -> src/ia64/Ginit.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
b5fc84d770
Rename: src/ia64/Gglobal-ia64.c -> src/ia64/Gglobal.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
0c335ee339
Rename: src/ia64/Gglobal-ia64.c -> src/ia64/Gglobal.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
ac4e44b407
Rename: src/ia64/Gget_save_loc-ia64.c -> src/ia64/Gget_save_loc.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
570517a1c9
Rename: src/ia64/Gget_save_loc-ia64.c -> src/ia64/Gget_save_loc.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
4d960d581a
Rename: src/ia64/Gget_proc_info-ia64.c -> src/ia64/Gget_proc_info.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
d93985ab8e
Rename: src/ia64/Gget_proc_info-ia64.c -> src/ia64/Gget_proc_info.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
99febf3281
Rename: src/ia64/Gcreate_addr_space-ia64.c -> src/ia64/Gcreate_addr_space.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
f3b091e075
Rename: src/ia64/Gcreate_addr_space-ia64.c -> src/ia64/Gcreate_addr_space.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
c8b59eefb1
Rename: src/hppa/tables-hppa.c -> src/hppa/tables.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
39803ee0b7
Rename: src/hppa/tables-hppa.c -> src/hppa/tables.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
3c9026e270
Rename: src/hppa/siglongjmp-hppa.S -> src/hppa/siglongjmp.S
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
b2d7a09be2
Rename: src/hppa/siglongjmp-hppa.S -> src/hppa/siglongjmp.S
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
33e369b82f
Rename: src/hppa/global-hppa.c -> src/hppa/global.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
4b6be8edd7
Rename: src/hppa/global-hppa.c -> src/hppa/global.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
08743d8661
Rename: src/hppa/get_accessors-hppa.c -> src/hppa/get_accessors.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
b249ecb413
Rename: src/hppa/get_accessors-hppa.c -> src/hppa/get_accessors.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
13ded384e2
Rename: src/hppa/Gstep-hppa.c -> src/hppa/Gstep.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
a2deab56db
Rename: src/hppa/Gstep-hppa.c -> src/hppa/Gstep.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
7c14420d32
Rename: src/hppa/Gregs-hppa.c -> src/hppa/Gregs.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
fd40db490a
Rename: src/hppa/Gregs-hppa.c -> src/hppa/Gregs.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
c5f84f785a
Rename: src/hppa/Ginit_local-hppa.c -> src/hppa/Ginit_local.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
e15e32e468
Rename: src/hppa/Ginit_local-hppa.c -> src/hppa/Ginit_local.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
d0a684cb2f
Rename: src/hppa/Ginit-hppa.c -> src/hppa/Ginit.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
3eb5704c20
Rename: src/hppa/Ginit-hppa.c -> src/hppa/Ginit.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
99e437825c
Rename: src/hppa/Gget_reg-hppa.c -> src/hppa/Gget_reg.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
88c8ac795c
Rename: src/hppa/Gget_reg-hppa.c -> src/hppa/Gget_reg.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
0dbebf4f82
Rename: src/hppa/Gget_proc_name-hppa.c -> src/hppa/Gget_proc_name.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
fb008bf7f3
Rename: src/hppa/Gget_proc_name-hppa.c -> src/hppa/Gget_proc_name.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
a15e3bc0c2
Rename: src/hppa/Gget_proc_info-hppa.c -> src/hppa/Gget_proc_info.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
0d07482a2e
Rename: src/hppa/Gget_proc_info-hppa.c -> src/hppa/Gget_proc_info.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
02d4112138
Rename: src/dwarf/global-dwarf.c -> src/dwarf/global.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
08d29fd0ab
Rename: src/dwarf/global-dwarf.c -> src/dwarf/global.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
16213e9846
Rename: src/dwarf/Gstep-dwarf.c -> src/dwarf/Gstep.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
6037c78f41
Rename: src/dwarf/Gstep-dwarf.c -> src/dwarf/Gstep.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
e3066cb69a
Rename: src/dwarf/Gpe-dwarf.c -> src/dwarf/Gpe.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
fa5c508536
Rename: src/dwarf/Gpe-dwarf.c -> src/dwarf/Gpe.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
9636cfef38
Rename: src/dwarf/Gparser-dwarf.c -> src/dwarf/Gparser.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
88160e0f66
Rename: src/dwarf/Gparser-dwarf.c -> src/dwarf/Gparser.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
91c9e6a384
Rename: src/dwarf/Gfde-dwarf.c -> src/dwarf/Gfde.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
32f3a1e58f
Rename: src/dwarf/Gfde-dwarf.c -> src/dwarf/Gfde.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
c7d65772a7
Rename: src/dwarf/Gexpr-dwarf.c -> src/dwarf/Gexpr.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
b79f7d1424
Rename: src/dwarf/Gexpr-dwarf.c -> src/dwarf/Gexpr.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
b29905fdc9
Regenerate.
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
a6f1cc65d0
Regenerate.
...
2004/08/17 16:36:42+02:00 homeip.net!davidm
Rename: src/hppa/Lstep-hppa.c -> src/hppa/Lstep.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
66130275c3
Regenerate.
...
2004/08/17 16:36:42+02:00 homeip.net!davidm
Rename: src/hppa/Lregs-hppa.c -> src/hppa/Lregs.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
b069a0ae1f
Regenerate.
...
2004/08/17 16:36:42+02:00 homeip.net!davidm
Rename: src/hppa/Linit_local-hppa.c -> src/hppa/Linit_local.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
41eb8f8200
Regenerate.
...
2004/08/17 16:36:42+02:00 homeip.net!davidm
Rename: src/hppa/Linit-hppa.c -> src/hppa/Linit.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
119430e217
Regenerate.
...
2004/08/17 16:36:42+02:00 homeip.net!davidm
Rename: src/hppa/Lget_reg-hppa.c -> src/hppa/Lget_reg.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
87347e70b6
Regenerate.
...
2004/08/17 16:36:42+02:00 homeip.net!davidm
Rename: src/hppa/Lget_proc_name-hppa.c -> src/hppa/Lget_proc_name.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
ddd63e2b05
Regenerate.
...
2004/08/17 16:36:42+02:00 homeip.net!davidm
Rename: src/hppa/Lget_proc_info-hppa.c -> src/hppa/Lget_proc_info.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
7e7c187712
Regenerate.
...
2004/08/17 16:33:56+02:00 homeip.net!davidm
Rename: src/dwarf/Lstep-dwarf.c -> src/dwarf/Lstep.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
a26c1196b8
Regenerate.
...
2004/08/17 16:33:56+02:00 homeip.net!davidm
Rename: src/dwarf/Lpe-dwarf.c -> src/dwarf/Lpe.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
9084efe60a
Regenerate.
...
2004/08/17 16:33:56+02:00 homeip.net!davidm
Rename: src/dwarf/Lparser-dwarf.c -> src/dwarf/Lparser.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
65c3977dbd
Regenerate.
...
2004/08/17 16:33:56+02:00 homeip.net!davidm
Rename: src/dwarf/Lfde-dwarf.c -> src/dwarf/Lfde.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
c7957fa943
Regenerate.
...
2004/08/17 16:33:56+02:00 homeip.net!davidm
Rename: src/dwarf/Lexpr-dwarf.c -> src/dwarf/Lexpr.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
07d87a5e7d
Regenerate.
...
2004/08/17 16:32:23+02:00 homeip.net!davidm
Rename: src/x86/Lstep-x86.c -> src/x86/Lstep.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
185e9e4c92
Regenerate.
...
2004/08/17 16:32:23+02:00 homeip.net!davidm
Rename: src/x86/Lresume-x86.c -> src/x86/Lresume.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
84472b4ae4
Regenerate.
...
2004/08/17 16:32:23+02:00 homeip.net!davidm
Rename: src/x86/Lregs-x86.c -> src/x86/Lregs.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
be5949c452
Regenerate.
...
2004/08/17 16:32:23+02:00 homeip.net!davidm
Rename: src/x86/Lis_signal_frame-x86.c -> src/x86/Lis_signal_frame.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
244a6fe692
Regenerate.
...
2004/08/17 16:32:23+02:00 homeip.net!davidm
Rename: src/x86/Linit_remote-x86.c -> src/x86/Linit_remote.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
3613478b71
Regenerate.
...
2004/08/17 16:32:23+02:00 homeip.net!davidm
Rename: src/x86/Linit_local-x86.c -> src/x86/Linit_local.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
b8760cad51
Regenerate.
...
2004/08/17 16:32:23+02:00 homeip.net!davidm
Rename: src/x86/Linit-x86.c -> src/x86/Linit.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
531becfa78
Regenerate.
...
2004/08/17 16:32:22+02:00 homeip.net!davidm
Rename: src/x86/Lglobal-x86.c -> src/x86/Lglobal.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
7e7e51f763
Regenerate.
...
2004/08/17 16:32:22+02:00 homeip.net!davidm
Rename: src/x86/Lget_save_loc-x86.c -> src/x86/Lget_save_loc.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
72dcdc54f2
Regenerate.
...
2004/08/17 16:32:22+02:00 homeip.net!davidm
Rename: src/x86/Lget_proc_info-x86.c -> src/x86/Lget_proc_info.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
0974d952fb
Regenerate.
...
2004/08/17 16:32:22+02:00 homeip.net!davidm
Rename: src/x86/Lcreate_addr_space-x86.c -> src/x86/Lcreate_addr_space.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
7e651021c1
Regenerate.
...
2004/08/17 16:19:04+02:00 homeip.net!davidm
Rename: src/ia64/Linstall_cursor-ia64.S.S -> src/ia64/Linstall_cursor.S
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
849e3eda74
Regenerate.
...
2004/08/17 16:10:59+02:00 homeip.net!davidm
Rename: src/ia64/mk_Lcursor_i-ia64.c -> src/ia64/mk_Lcursor_i.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
b82135e29c
Regenerate.
...
2004/08/17 16:10:59+02:00 homeip.net!davidm
Rename: src/ia64/Ltables-ia64.c -> src/ia64/Ltables.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
3a8cf68ddd
Regenerate.
...
2004/08/17 16:10:59+02:00 homeip.net!davidm
Rename: src/ia64/Lstep-ia64.c -> src/ia64/Lstep.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
206956441c
Regenerate.
...
2004/08/17 16:10:59+02:00 homeip.net!davidm
Rename: src/ia64/Lscript-ia64.c -> src/ia64/Lscript.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
b128cab5f4
Regenerate.
...
2004/08/17 16:10:59+02:00 homeip.net!davidm
Rename: src/ia64/Lresume-ia64.c -> src/ia64/Lresume.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
01793b14d5
Regenerate.
...
2004/08/17 16:10:59+02:00 homeip.net!davidm
Rename: src/ia64/Lregs-ia64.c -> src/ia64/Lregs.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
087dc59c78
Regenerate.
...
2004/08/17 16:10:58+02:00 homeip.net!davidm
Rename: src/ia64/Lrbs-ia64.c -> src/ia64/Lrbs.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
4560964719
Regenerate.
...
2004/08/17 16:10:58+02:00 homeip.net!davidm
Rename: src/ia64/Lparser-ia64.c -> src/ia64/Lparser.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
a22fe13ff9
Regenerate.
...
2004/08/17 16:10:58+02:00 homeip.net!davidm
Rename: src/ia64/Lis_signal_frame-ia64.c -> src/ia64/Lis_signal_frame.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
4372239d83
Regenerate.
...
2004/08/17 16:10:58+02:00 homeip.net!davidm
Rename: src/ia64/Linit_remote-ia64.c -> src/ia64/Linit_remote.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
4bf903c732
Regenerate.
...
2004/08/17 16:10:58+02:00 homeip.net!davidm
Rename: src/ia64/Linit_local-ia64.c -> src/ia64/Linit_local.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
3d290aca59
Regenerate.
...
2004/08/17 16:10:58+02:00 homeip.net!davidm
Rename: src/ia64/Linit-ia64.c -> src/ia64/Linit.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
af723ec793
Regenerate.
...
2004/08/17 16:10:58+02:00 homeip.net!davidm
Rename: src/ia64/Lglobal-ia64.c -> src/ia64/Lglobal.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
09727ee303
Regenerate.
...
2004/08/17 16:10:58+02:00 homeip.net!davidm
Rename: src/ia64/Lget_save_loc-ia64.c -> src/ia64/Lget_save_loc.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
2eb742f91c
Regenerate.
...
2004/08/17 16:10:58+02:00 homeip.net!davidm
Rename: src/ia64/Lget_proc_info-ia64.c -> src/ia64/Lget_proc_info.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
e1ccdbd06f
Regenerate.
...
2004/08/17 16:10:58+02:00 homeip.net!davidm
Rename: src/ia64/Lcreate_addr_space-ia64.c -> src/ia64/Lcreate_addr_space.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
34fa122ac2
Regenerate.
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
bf2c4541d9
Drop -FOO postfix now that we no longer need unique filenames across all directories.
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
3f9d2e9c5c
Initial revision
2004-08-17 15:34:28 +00:00
hp.com!davidm
1623029497
Regenerate.
...
(Logical change 1.239)
2004-07-15 17:39:59 +00:00
hp.com!davidm
6c61288b9c
(scan_dec): Don't skip over a character unless it's really a digit.
...
(scan_char): Don't skip over NUL terminator.
(Logical change 1.238)
2004-06-29 05:59:35 +00:00
hp.com!davidm
c4d1854621
(get_list_addrr): Don't forget to call maps_close() on error-return.
...
(Logical change 1.237)
2004-06-19 06:11:16 +00:00
hp.com!davidm
3fd2b8adfa
(get_kernel_table): Change %Zu to %zu.
...
(Logical change 1.236)
2004-05-12 20:54:56 +00:00
hp.com!davidm
2376f6e6bc
(_Uia64_find_dyn_list): Don't exclude for UNW_REMOTE_ONLY.
...
Reformat #ifdef's a bit for improved readability.
(Logical change 1.234)
2004-05-07 00:30:27 +00:00
hp.com!davidm
759275ac87
Regenerate.
...
(Logical change 1.233)
2004-05-06 22:02:00 +00:00
hp.com!davidm
5ccc669fa7
(tdep_uc_addr): Declare as HIDDEN. Initialize find_proc_info with
...
dwarf_find_proc_info, not tdep_find_proc_info.
(Logical change 1.233)
2004-05-06 22:02:00 +00:00
hp.com!davidm
051da9c0b6
(libunwind_la_SOURCES_local): Mention libunwind_la_SOURCES_os_local.
...
(libunwind_la_SOURCES_os_linux_local): New macro.
(libunwind_la_SOURCES_os_local): New macro.
(EXTRA_DIST): Mention libunwind_{hppa,ia64,x86}_la_SOURCES_{hppa,ia64,x86}.
(Logical change 1.233)
2004-05-06 22:02:00 +00:00
hp.com!davidm
14a264e044
(get_list_addr): Add an empty implementation of unsupported platforms.
...
(Logical change 1.233)
2004-05-06 22:02:00 +00:00
hp.com!davidm
32dd2e2218
(compile_reg): Fix typo: treat f0 and f1 like scratch registers.
...
(Logical change 1.230)
2004-05-06 20:25:09 +00:00
hp.com!davidm
b3381c8887
Adjust for r0, f0, f1_le, and f1_be having moved into "read_only" member.
...
(Logical change 1.229)
2004-05-06 20:24:01 +00:00
hp.com!davidm
4dca00338a
(tdep_init): Adjust for r0, f0, f1_le, and f1_be having moved into
...
"read_only" member.
(Logical change 1.229)
2004-05-06 20:24:01 +00:00
hp.com!davidm
ed18defb26
(inlined_uc_addr): Also handle f0 and f1.
...
(ia64_read_only_reg): New function.
(ia64_putfp): Reject puts into read-only save-locations.
(ia64_put): Likewise.
(Logical change 1.229)
2004-05-06 20:24:01 +00:00
hp.com!davidm
b8d777bc65
(access_reg): Do not reject accesses to floating-point registers. On
...
little-endian machines, this automagically does the right thing
and on HP-UX (big-endian) we never use this routine.
Reject write-accesses to read-only save-locations (such as
unw.read_only.r0).
(access_fpreg): Reject write-accesses to read-only save-locations.
(Logical change 1.229)
2004-05-06 20:24:01 +00:00
mostang.com!davidm
1b4583400a
(ia64_getfp): Use IA64_IS_NULL_LOC() instead of nothing or
...
pen-coded NULL-test.
(ia64_putfp): Likewise.
(ia64_get): Likewise.
(ia64_put): Likewise.
(Logical change 1.228)
2004-05-06 03:46:27 +00:00
mostang.com!davidm
7b989938b7
Regenerate.
...
(Logical change 1.227)
2004-05-05 05:03:20 +00:00
mostang.com!davidm
c0f7c6f78a
(libunwind_la_SOURCES_ia64_os): New macro defined only if OS_LINUX.
...
(libunwind_la_SOURCES_ia64): Move _ReadULEB.c/_ReadSLEB.c to above
macro.
(Logical change 1.227)
2004-05-05 05:03:20 +00:00
mostang.com!davidm
542e026ae4
Regenerate.
...
(Logical change 1.225)
2004-05-05 01:58:44 +00:00
mostang.com!davidm
09ba7e9440
(unw_step): If dwarf_step() returns -UNW_ESTOPUNWIND, take that
...
as a hard signal that we should stop unwinding. This
fixes tests/test_proc_info.
(Logical change 1.224)
2004-05-05 01:54:53 +00:00
mostang.com!davidm
8241bb15a8
(struct table_entry): Move declrataion outside of !UNW_REMOTE_ONLY
...
bracket so the file compiles for UNW_REMOTE_ONLY, too.
(Logical change 1.224)
2004-05-05 01:54:53 +00:00
mostang.com!davidm
8fd300ae66
(fetch_proc_info): Call tdep_find_proc_info() instead of
...
dwarf_find_proc_info() so that the remote-case works, too.
(Logical change 1.224)
2004-05-05 01:54:53 +00:00
mostang.com!davidm
2cc4674137
Add forgotten copyright notice.
...
(Logical change 1.223)
2004-05-04 22:24:50 +00:00
mostang.com!davidm
52c2da7b5e
Rename: src/ia64/rse.h -> include/ia64/rse.h
...
}(Logical change 1.221)
2004-05-04 22:16:57 +00:00
mostang.com!davidm
0ef8414cd9
Regenerate.
...
(Logical change 1.221)
2004-05-04 22:16:57 +00:00
mostang.com!davidm
8045a438de
Include "ia64/rse.h" instead of "rse.h".
...
(Logical change 1.221)
2004-05-04 22:16:57 +00:00
mostang.com!davidm
513e7159bd
Drop unnecessary include of "rse.h" (already included via unwind_i.h).
...
(Logical change 1.221)
2004-05-04 22:16:57 +00:00
mostang.com!davidm
c47cf6a310
(libunwind_la_SOURCES_ia64_common): Remove ia64/rse.h.
...
(Logical change 1.221)
2004-05-04 22:16:57 +00:00
mostang.com!davidm
d42705c5b7
(unw_init_local): Use unw_context_t instead of ucontext_t.
...
(Logical change 1.219)
2004-05-04 20:13:07 +00:00
mostang.com!davidm
6c50e90402
(remote_install_cursor): Tidy up #endif comment.
...
(Logical change 1.219)
2004-05-04 20:13:07 +00:00
mostang.com!davidm
48b0eeeb37
(tdep_find_proc_info) [HAVE_DLMODINFO]: Fix Debug() message (missing
...
paren).
(Logical change 1.218)
2004-04-28 04:54:17 +00:00
mostang.com!davidm
f8bc3b80d1
(get_list_addr): New function.
...
(_UPT_get_dyn_info_list_addr): Factor platform-specific code into
separate inline-function. Enable that code for ia64 linux
only (e.g., on HP-UX it needs to use dlmodinfo()).
(Logical change 1.218)
2004-04-28 04:54:17 +00:00
mostang.com!davidm
9b21d8edaf
(access_reg) [HAVE_SYS_UC_ACCESS_H]: Also print errno when an
...
access fails.
(Logical change 1.218)
2004-04-28 04:54:17 +00:00
hp.com!davidm
75f19903fa
Regenerate.
...
(Logical change 1.217)
2004-04-28 04:43:25 +00:00
hp.com!davidm
a8f38fc4dc
(libunwind_la_SOURCES_ia64): Move comments about
...
_ReadULEB()/_ReadSLEB() where they don't hurt.
(Logical change 1.217)
2004-04-28 04:43:25 +00:00
(none)!davidm
1218cf85e3
(hash): Define magic constant as unsigned long long and then cast it to the
...
right type. Avoids compiler warnings when cross-compiling from a
32-bit platform.
(Logical change 1.214)
2004-04-23 01:31:47 +00:00
(none)!davidm
a2cd0592ca
(IA64_UNW_FLAG_MASK): Use "ULL" postfix to avoid compiler warning on 32-bit platforms.
...
(IA64_UNW_FLAG_OSMASK): Likewise.
(IA64_UNW_FLAG_EHANDLER): Likewise.
(IA64_UNW_FLAG_UHANDLER): Likewise.
(IA64_UNW_LENGTH): Likewise.
(Logical change 1.214)
2004-04-23 01:31:47 +00:00
mostang.com!davidm
58badbb339
(add_memory): Rephrase for-loop conditional to avoid bug in Intel-compiler
...
which gets triggered with -O3 -ip.
(Logical change 1.212)
2004-04-22 22:36:53 +00:00
hp.com!davidm
f99cce1d2a
(ia64_install_cursor): Fix off-by-8 bug which caused r5 and r7 to not get
...
restored properly.
(Logical change 1.211)
2004-04-22 00:36:23 +00:00
mostang.com!davidm
2f210753bd
(maps_init): Correct initialization of mi->buf.
...
(maps_close): Don't forget to unmap mi->buf if it's non-NULL.
(Logical change 1.209)
2004-04-21 07:24:35 +00:00
mostang.com!davidm
72e5a3bc17
(ia64_validate_cache): Call ia64_local_validate_cache() only if
...
we're really dealing with the local address space. Duh.
(Logical change 1.209)
2004-04-21 07:24:35 +00:00
mostang.com!davidm
c2b94e1e46
(common_init): Whitespace fix.
...
(Logical change 1.209)
2004-04-21 07:24:35 +00:00
mostang.com!davidm
5de4b351e7
(struct map_iterator): Add members "buf_size", "buf", and "buf_end".
...
(maps_init): Try to mmap() a one-page buffer and, if successful,
initialize the new map_iterator members based on it.
(maps_next): If the one-page buffer is available, use it to read
/proc/PID/maps. This avoids expensive lseek() calls which,
in the case of /proc lead to T(n) = O(n^2) behavior.
(Logical change 1.208)
2004-04-21 03:56:06 +00:00
mostang.com!davidm
c1f430663c
(tdep_init): Use an assertion instead of relying on compile-time
...
optimization to verify that unw_hash_index_t is wide
enough.
(Logical change 1.207)
2004-04-20 23:46:44 +00:00
mostang.com!davidm
db24e76397
(mi_init): Use assertion instead of relying on compiler-optimization
...
to verify that unw_cursor_t is big enough to contain a
cursor.
(Logical change 1.207)
2004-04-20 23:46:44 +00:00
hp.com!davidm
2de1768e52
Regenerate.
...
(Logical change 1.205)
2004-04-20 16:53:44 +00:00
hp.com!davidm
36c7442db3
(Logical change 1.205)
2004-04-20 16:53:44 +00:00
hp.com!davidm
662957d585
Initial revision
2004-04-20 16:53:44 +00:00
hp.com!davidm
d512dc0daa
Auto merged
...
2004/04/20 09:53:04-07:00 hp.com!davidm
(validate_cache): If HAVE_DL_PHDR_REMOVALS_COUNTER is defined, use
dl_phdr_removals_counter() to validate the cache. This is
much more efficient than using dl_iterate_phdr(), since it
avoids locking.
(Logical change 1.205)
2004-04-20 16:53:44 +00:00
hp.com!davidm
36e094230c
(intern_string): Cast buf-pointer to int8_t* to shut up Intel
...
compiler warning.
(Logical change 1.205)
2004-04-20 16:53:44 +00:00
hp.com!davidm
ed32b99716
(SOVERSION): Change from 2:0:1 to 3:0:2.
...
(COMMON_SO_LDFLAGS): New macro.
(libunwind_setjmp_la_LDFLAGS): Mention $(Common_SO_LDFLAGS).
(libunwind_ia64_la_LDFLAGS): Likewise.
(libunwind_hppa_la_LDFLAGS): Likewise.
(libunwind_x86_la_LDFLAGS): Likewise.
(libunwind_la_LDFLAGS): Likewise.
(libunwind_setjmp_la_LIBADD): Mention -lc.
(libunwind_ia64_la_LIBADD): Likewise.
(libunwind_hppa_la_LIBADD): Likewise.
(libunwind_x86_la_LIBADD): Likewise.
(libunwind_la_LIBADD): Likewise.
(libunwind_la_SOURCES_ia64): Mention mi/_ReadULEB.c and mi/_ReadSLEB.c.
They are needed for Intel 8.0 libunwind.so compatibility. ;-(
(Logical change 1.205)
2004-04-20 16:53:44 +00:00
mostang.com!davidm
b8eefeac32
(validate_cache): Mask signal-delivery during dl_iterate_phdr().
...
(tdep_find_proc_info): Likewise.
(Logical change 1.203)
2004-04-01 08:09:28 +00:00
mostang.com!davidm
d3fad3af12
(dwarf_find_proc_info): Mask signal-delivery during dl_iterate_phdr().
...
(Logical change 1.203)
2004-04-01 08:09:28 +00:00
mostang.com!davidm
93d627ef87
(desc_alias): New function.
...
(parse_dynamic): Handle UNW_DYN_ALIAS via desc_dynamic().
(Logical change 1.201)
2004-04-01 06:01:53 +00:00
mostang.com!davidm
df77cf1ad7
(tdep_get_elf_image): Pass sizeof buffer to maps_next().
...
(Logical change 1.199)
2004-03-31 07:38:06 +00:00
mostang.com!davidm
64c702cea7
(ltoa): New inline function.
...
(skip_whitespace): Likewise.
(scan_hex): Likewise.
(scan_dec): Likewise.
(scan_char): Likewise.
(scan_string): Likewise.
(maps_init): Avoid stdio operations since they're not async-signal
safe.
(maps_next): Likewise.
(maps_close): Likewise.
(Logical change 1.199)
2004-03-31 07:38:06 +00:00
mostang.com!davidm
fe9d715071
(get_proc_name): Minor whitespace fixes.
...
(Logical change 1.199)
2004-03-31 07:38:06 +00:00
mostang.com!davidm
18222990f2
(_UPT_get_dyn_info_list_addr): Pass size of path to maps_next().
...
(Logical change 1.199)
2004-03-31 07:38:06 +00:00
mostang.com!davidm
50160e1df1
Remove perf-tuning code, make it fit in 80 columns.
...
(Logical change 1.195)
2004-03-31 00:41:59 +00:00
hp.com!davidm
2b07d73a5a
Temporarily add various test-cases which help with performance-tuning.
...
(Logical change 1.193)
2004-03-30 22:50:23 +00:00
hp.com!davidm
74f73e711e
(IA64_SC_FLAG_SYNCHRONOUS_BIT): New macro.
...
(SC_FLAGS): New macro.
(rTMP): Move from r14 to r10.
(rPOS): Move from r14 to r11.
(rCPOS): Move from r17 to r14.
(rNAT): Move from r18 to r15.
(rFLAGS): New macro.
(Logical change 1.193)
2004-03-30 22:50:23 +00:00
hp.com!davidm
4e9c3fb503
Rename: src/backtrace.c -> src/mi/backtrace.c
...
}(Logical change 1.192)
2004-03-30 01:56:19 +00:00
hp.com!davidm
14e36a6a51
Rename: src/backtrace.c -> src/mi/backtrace.c
...
(Logical change 1.192)
2004-03-30 01:56:19 +00:00