1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-12-04 20:17:39 +01:00
Commit graph

2581 commits

Author SHA1 Message Date
hp.com!davidm
b88369b831 Initial revision 2004-01-30 00:01:24 +00:00
hp.com!davidm
3351beeb0b Include "dwarf_i.h" instead of "dwarf.h".
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
815c101f82 Delete: src/x86/flush_cache-x86.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
196357239d Delete: src/x86/Lset_caching_policy-x86.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
2240eea139 Delete: src/x86/Lget_proc_name-x86.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
5dee82687d Delete: src/x86/Lget_accessors-x86.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
2cc74f80b4 Delete: src/x86/Lflush_cache-x86.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
36f4f67b98 Delete: src/x86/Gset_caching_policy-x86.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
3435b58201 Delete: src/x86/Gget_accessors-x86.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
cf6c388834 Delete: src/mi/Lset_reg-mi.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
dbf6df2f72 Delete: src/mi/Lget_reg-mi.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
34c683c33e Delete: src/ia64/Lset_reg-ia64.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
eab1b8b158 Delete: src/ia64/Lset_fpreg-ia64.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
576e75bcd2 Delete: src/ia64/Lset_caching_policy-ia64.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
dca58d18df Delete: src/ia64/Lget_reg-ia64.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
09fecd9ddb Delete: src/ia64/Lget_proc_name-ia64.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
b8668574ca Delete: src/ia64/Lget_fpreg-ia64.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
5ac1278b51 Delete: src/ia64/Lget_accessors-ia64.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
8bb86bfebe Delete: src/ia64/Ldestroy_addr_space-ia64.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
32d7718e50 Delete: src/ia64/Gset_reg-ia64.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
fbab46f5e7 Delete: src/ia64/Gset_fpreg-ia64.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
c082aa56ae Delete: src/ia64/Gget_reg-ia64.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
c4fd84f610 Delete: src/ia64/Gget_fpreg-ia64.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
7ec97663cd Delete: src/hppa/flush_cache-hppa.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
9609c37ec6 Delete: src/debug_level.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
c390f0a2eb Delete: src/Ldyn-remote.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
86af3a3048 Declare functions such that it is possible to take their addresses.
(tdep_init): New macro.
(tdep_access_reg):  Likewise.
(tdep_access_fpreg): Likewise.

(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
6bcc75010b Declare functions such that it is possible to take their addresses.
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
b5d64dabf3 Declare functions in the same way as we do in other header-files now, such that
it's possible to take the address of functions.
(debug): Remove this macro (no longer used).
(fetch8): Move to remote.h.
(fetch16): Likewise.
(fetch32): Likewise.
(fetchw): Likewise.

(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
c67d345c33 Convert from debug() to Debug().
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
1738b3b637 Consolidate macros and share more code between different platforms.
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
1cc4569725 Add warning until it's fully implemented.
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
29ab34bd42 A big patch to do very little: mostly renaming and consolidating stuff and
starting to complete the x86 version of libunwind.  ia64 version should be
mostly unaffected, but this is an interim update, so use at your own risk until
the final version is checked in.

BKrev: 40199ed4ZkcGzPDv0KOtzcL1MdKYAg
2004-01-30 00:01:24 +00:00
hp.com!davidm
f8b49d4222 (tdep_init): Rename from ia64_init().
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
78cec36290 (struct cursor): Add member sigcontext_format.
(dwarf_putfp): Fix typo.
(dwarf_getfp): Mark with C preprocessor warning while it's not fully
	implemented.  Check for NULL-location first.
(dwarf_putfp): Likewise.
(dwarf_get): Likewise.
(dwarf_put): Likewise.
(tdep_needs_initialization): New macro.
(tdep_init): Likewise.
(tdep_get_as): Likewise.
(tdep_get_as_arg): Likewise.
(tdep_needs_initialization): Declare.

(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
21a24ca246 (linux_scratch_loc): New function.
(tdep_access_reg): Rename from x86_access_reg() and fix up some things.
(tdep_access_fpreg): Likewise.

(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
21595821bf (dwarf_search_unwind_table): Declare as PROTECTED, not HIDDEN.
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
ab847fe68e (Logical change 1.162) 2004-01-30 00:01:24 +00:00
hp.com!davidm
107cf10470 (DWARF_REGNUM_MAP_LENGTH): New macro.
(dwarf_to_unw_regnum_map): Move to dwarf_i.h.
(dwarf_to_unw_regnum): Likewise.

(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
410e47882d ia64: Fix minor typo in local cache validation code.
BKrev: 40121e44mRfrs0XnrCwRnfUVqsMc0A
2004-01-24 07:27:00 +00:00
hp.com!davidm
29a98b6cc3 (unw_addr_space_t.shared_object_removals): Adjust type to
"unsigned long long" to match glibc.

(Logical change 1.161)
2004-01-24 07:27:00 +00:00
hp.com!davidm
c2e7130493 (check_callback): Fix typo:
shared_object_subs -> shared_object_removals.

(Logical change 1.161)
2004-01-24 07:27:00 +00:00
hp.com!davidm
d203e1282a Fix typo in libunwind-common.h: unw_set_caching_policy() can't be
an arch-object.

BKrev: 40121d36ftMsA6nFS-m-ArtsU2Ofzg
2004-01-24 07:22:30 +00:00
hp.com!davidm
6ea8ff61e0 (unw_set_caching_policy): Make it a regular object, not an
arch-object.  It can't be the latter because it needs
	to initialize libunwind if it's the first call to libunwind.

(Logical change 1.160)
2004-01-24 07:22:30 +00:00
mostang.com!davidm
c325d9cbc2 Regenerate.
(Logical change 1.159)
2004-01-24 06:45:18 +00:00
mostang.com!davidm
8caad34de6 Add check for struct dl_phdr_info.dlpi_subs and if it exists, use
it to detect when a shared object was unloaded.

BKrev: 4012147eAfnUqCaNTz0hOuDKmgrsRw
2004-01-24 06:45:18 +00:00
mostang.com!davidm
24d5682d42 Add check for dlpi_subs member in struct dl_phdr_info.
(Logical change 1.159)
2004-01-24 06:45:18 +00:00
mostang.com!davidm
9600c00e3e (check_callback): If HAVE_STRUCT_DL_PHDR_INFO_DLPI_SUBS is defined,
check dl_phdr_info.dlpi_subs to see if the cached info may
	be stale.

(Logical change 1.159)
2004-01-24 06:45:18 +00:00
hp.com!davidm
627437ce2d Rename: src/x86/set_caching_policy-x86.c -> src/x86/Gset_caching_policy-x86.c
}(Logical change 1.158)
2004-01-22 08:36:15 +00:00
hp.com!davidm
5dadd87801 Rename: src/x86/set_caching_policy-x86.c -> src/x86/Gset_caching_policy-x86.c
(Logical change 1.158)
2004-01-22 08:36:15 +00:00