David Mosberger-Tang
1fdb08e5fc
Various fixes to get x86 to compile and work again.
...
include/dwarf.h: Declare dwarf_reg_state_pool and dwarf_cie_info_pool.
include/dwarf_i.h: Include libunwind_i.h instead of tdep.h.
Make dwarf_to_unw_regnum() a macro so it doesn't get compiled
into an object file merely because it include dwarf_i.h (important
when optimization is turned off).
(dwarf_read_encoded_pointer_inlined): New function.
include/tdep-x86/libunwind_i.h: Add include of "mempool.h".
include/tdep-x86_64/libunwind_i.h: Add include of "mempool.h".
2006-07-26 22:36:03 -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
8cdd8bfed8
[x86-64] Make even UNW_LOCAL_ONLY accessors go through validation.
...
Signed-off-by: Arun Sharma <arun.sharma@google.com>
2006-07-26 21:39:46 -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
036cbfa020
Fix x86 compilation.
...
x86 needs the global_cache just like the x86-64 version.
Signed-off-by: Andrey.Veskov@intel.com
Signed-off-by: Arun Sharma <arun.sharma@google.com>
2006-07-26 21:20:59 -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
37be21c01e
Restore more files wiped out by Bitkeeper->CVS->GIT transition.
2006-07-26 15:09:39 -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
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
b47b9aa232
UNW_IA64_BSP and UNW_IA64_SP are no longer read-only.
...
(Logical change 1.303)
2005-05-20 15:32:18 +00:00
hp.com!davidm
7a8b0ba617
(rbs_get_base): New macro.
...
(Logical change 1.297)
2005-05-20 13:13:07 +00:00
hp.com!davidm
d5ab898cdf
(SOS_MEMORY_SIZE): Move to here from src/mi/mempool.c.
...
(Logical change 1.295)
2005-05-20 11:28:16 +00:00
hp.com!davidm
9d94c8f62b
Rename: include/x86_64/jmpbuf.h -> include/tdep-x86_64/jmpbuf.h
...
}(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
e3ac62c5f1
Rename: include/x86_64/jmpbuf.h -> include/tdep-x86_64/jmpbuf.h
...
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
3a2c945244
Rename: include/x86/jmpbuf.h -> include/tdep-x86/jmpbuf.h
...
}(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
f6d4c74beb
Rename: include/x86/jmpbuf.h -> include/tdep-x86/jmpbuf.h
...
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
e6cf7e84eb
Rename: include/x86/dwarf-config.h -> include/tdep-x86/dwarf-config.h
...
}(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
d90772c868
Rename: include/x86/dwarf-config.h -> include/tdep-x86/dwarf-config.h
...
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
56cea5b4a9
Rename: include/ia64/script.h -> include/tdep-ia64/script.h
...
}(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
12f0ce1a39
Rename: include/ia64/script.h -> include/tdep-ia64/script.h
...
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
910087d5b5
Rename: include/ia64/jmpbuf.h -> include/tdep-ia64/jmpbuf.h
...
}(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
e86e18224d
Rename: include/ia64/jmpbuf.h -> include/tdep-ia64/jmpbuf.h
...
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
983d841e64
Rename: include/hppa/jmpbuf.h -> include/tdep-hppa/jmpbuf.h
...
}(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
f8a07dfb22
Rename: include/hppa/jmpbuf.h -> include/tdep-hppa/jmpbuf.h
...
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
400a917a7a
Rename: include/hppa/dwarf-config.h -> include/tdep-hppa/dwarf-config.h
...
}(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
c56b45e82e
Rename: include/hppa/dwarf-config.h -> include/tdep-hppa/dwarf-config.h
...
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
180a1ececa
Initial revision
2005-05-20 09:48:08 +00:00
hp.com!davidm
f9b7af51ed
Include <libunwind.h> instead of "internal.h" and "mempool.h".
...
(dwarf_reg_state_pool): Move to dwarf_i.h.
(dwarf_cie_info_pool): Likewise.
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
3ad4903154
Include "libunwind_i.h" instead of "tdep.h".
...
Include "mempool.h".
(dwarf_reg_state_pool): Move here from dwarf.h.
(dwarf_cie_info_pool): Likewise.
Include "libunwind_i.h" instead of "tdep.h".
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
ead43e8545
Include "libunwind_i.h" instead of "internal.h".
...
}(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
59f9f6a1ac
Include "libunwind_i.h" instead of "internal.h".
...
2005/05/19 08:11:38-07:00 hp.com!davidm
Rename: include/ia64/rse.h -> include/tdep-ia64/rse.h
(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
5e5db2dada
Adjust for renaming of file.
...
Drop include of <libunwind.h>.
Include "script.h" instead of "ia64/script.h".
}(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
0870c54c2a
Adjust for renaming of file.
...
Drop include of <libunwind.h>.
Include "script.h" instead of "ia64/script.h".
2005/05/19 07:42:45-07:00 hp.com!davidm
Rename: include/tdep-ia64.h -> include/tdep-ia64/libunwind_i.h
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
ce46ac7167
Adjust for renaming of file.
...
(tdep_put_unwind_info): Adjust for change of arguments.
}(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
bea50a5d41
Adjust for renaming of file.
...
(tdep_put_unwind_info): Adjust for change of arguments.
2005/05/19 07:42:45-07:00 hp.com!davidm
Rename: include/tdep-x86_64.h -> include/tdep-x86_64/libunwind_i.h
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
47eca0fadf
Adjust for renaming of file.
...
(tdep_put_unwind_info): Adjust for change of arguments.
2005/05/19 07:42:45-07:00 hp.com!davidm
Rename: include/tdep-x86.h -> include/tdep-x86/libunwind_i.h
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
34e70b5937
Adjust for renaming of file.
...
}(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
dce55286ab
Adjust for renaming of file.
...
2005/05/19 07:42:45-07:00 hp.com!davidm
Rename: include/tdep-hppa.h -> include/tdep-hppa/libunwind_i.h
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
6980fa4f25
Adjust comment.
...
}(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
e5944788ad
Adjust comment.
...
2005/05/19 08:13:00-07:00 hp.com!davidm
Rename: include/x86_64/dwarf-config.h -> include/tdep-x86_64/dwarf-config.h
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
c446186670
Add include of <stdlib.h>.
...
}(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
5135d044ed
Add include of <stdlib.h>.
...
2005/05/19 07:42:56-07:00 hp.com!davidm
Rename: include/internal.h -> include/libunwind_i.h
(Logical change 1.294)
2005-05-20 09:48:08 +00:00
hp.com!davidm
c3e9383d30
(struct cursor): Add "ec_loc" member.
...
(Logical change 1.293)
2005-05-17 21:28:19 +00:00
mostang.com!davidm
836ee627e0
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
fbab73e7e6
Improve comment.
...
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
fdb6bee068
Change "ia64_rse" prefix to "rse".
...
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
27f7d7d720
(unw_tdep_proc_info_t): Drop dwarf_info member.
...
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
mostang.com!davidm
e7fba77e9d
(unw_dyn_info_format_t): Remove UNW_INFO_FORMAT_DWARF_FDE.
...
(UNW_DYN_DFI_FLAG_FDE_PE_MASK): Remove.
(UNW_DYN_DFI_FLAG_AUGMENTATION_HAS_SIZE): Remove.
(unw_dyn_dwarf_fde_info_t): Remove.
(unw_dyn_info_t): Remove dfi member.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00