1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-15 20:58:13 +01:00
Commit graph

1783 commits

Author SHA1 Message Date
hp.com!davidm
ad73ee3a77 Add include of <errno.h>, <string.h>, and <asm/rse.h>.
(save_static_to_scratch): New declaration.
(sighandler): New function.
(check_static_to_scratch): Likewise.
(enable_sighandler): Likewise.
(disable_sighandler): Likewise.
(check-static_to_stacked): Fix missing newline in error message.
(start_checks): Call disable_sighandler().
	Fix missing newline error messages.
(run_check): Call enable_sighandler() right before starting the checks.
(main): Fix missing newline in message.

(Logical change 1.179)
2004-02-27 00:59:41 +00:00
hp.com!davidm
1f3439fc5d (save_static_to_scratch): New routine.
(Logical change 1.179)
2004-02-27 00:59:41 +00:00
hp.com!davidm
af8e32060d ia64: Fix primary-UNaT handling.
BKrev: 403e95432t13LFJ3IBmgnj7yz-bsVg
2004-02-27 00:54:27 +00:00
hp.com!davidm
d83276cb80 (compile_reg): Take extra ia64_reg_info-pointer argument.
(build_script): Adjust for extra argument to compile_reg().
	Fix the primary-NaT compilation such that it always
	updates IA64_REGPRI_UNAT_MEM.
(run_script): For IA64_INSN_SETNET_MEMSTK, set the location based on
	IA64_REG_PRI_UNAT_MEM and don't forget to turn on the
	MEMSTK_NAT bit.

(Logical change 1.178)
2004-02-27 00:54:27 +00:00
hp.com!davidm
c4d1b80bfe (access_nat): Fix that NaT-location calculation for the case where the NaT
is on the memory stack.

(Logical change 1.178)
2004-02-27 00:54:27 +00:00
hp.com!davidm
8d735e0c76 ia64: Fix typo which caused bad floating-point NaTVal constant and
bad integer-values inside floating-point registers.

BKrev: 403e9349svM_lIBxzyOsvz-gwyhZ7Q
2004-02-27 00:46:01 +00:00
hp.com!davidm
6702d1059c (tdep_init): Fix typo in nat_val_bytes[] (too much cut & paste).
Likewise for int_val_bytes[].

(Logical change 1.177)
2004-02-27 00:46:01 +00:00
hp.com!davidm
09a59ec368 ia64: Fix bug where chains of saves/spills got updated in the wrong order.
This fixes failures observed in Gia64-test-nat.c:check_static_to_mem().

BKrev: 40355cfaFrIUB5TqttoCC9BtNyPniQ
2004-02-20 01:03:54 +00:00
hp.com!davidm
3e5b6ecf0d (sort_regs): New function.
(build_script): Compile the registers in decreasing order of WHEN values, so
	we can properly handle chains of spills/saves.

(Logical change 1.176)
2004-02-20 01:03:54 +00:00
mostang.com!davidm
d2db9d02a9 ia64: Add two NaT-bit checks: saving to branch registers and memory.
BKrev: 40346e47RyrlUAzPMSHLAVu5eimeTg
2004-02-19 08:05:27 +00:00
mostang.com!davidm
a2a1325c9f Fix copyright year and update file-comment.
(save_static_to_fr): Rename from save_static_to_fpreg().
(check_static_to_fr): Rename from check_static_to_fpreg().
(save_static_to_br): Declare.
(check_static_to_br): New function.
(save_static_to_mem): Declare.
(check_static_to_mem): New function.
(all_funcs): Mention new save/checks.

(Logical change 1.175)
2004-02-19 08:05:27 +00:00
mostang.com!davidm
a5ed5ae3b7 (LOAD_VAL): New macro.
(save_static_to_stacked): Use LOAD_VAL.
(save_static_to_fr): Rename from save_static_to_fpreg().
(save_static_to_br): New function.
(save_static_to_mem): Likewise.

(Logical change 1.175)
2004-02-19 08:05:27 +00:00
mostang.com!davidm
d2a5a239aa (ptrace): Fix Debug() typo in _UPT_access_mem().
BKrev: 40346d70MBpuSr58I_9R9ajLbakHrA
2004-02-19 08:01:52 +00:00
mostang.com!davidm
84109794bd (_UPT_access_mem): Fix typo in Debug() macro calls.
(Logical change 1.174)
2004-02-19 08:01:52 +00:00
hp.com!davidm
37e3f4fb50 ia64: Fix a bug which caused the NaT bit failures when a static register got
saved in a stacked register.  This fixes failures observed in
	Gia64-test-nat.c:check_static_stacked() .

BKrev: 403413570MEjRvwKAH0J3d7iQoUVcg
2004-02-19 01:37:27 +00:00
hp.com!davidm
8b96f6ef11 (rbs_find): New function.
(Logical change 1.173)
2004-02-19 01:37:27 +00:00
hp.com!davidm
57b8d6d7eb (rbs_find): Declare.
(Logical change 1.173)
2004-02-19 01:37:27 +00:00
hp.com!davidm
4a0d7bd478 (access_nat): Correct the case where a static general register got saved
to a stacked register.  We can't use ia64_get_stacked() here because
	c->rbs will, in general, be different from the frame in which the
	register was saved.

(Logical change 1.173)
2004-02-19 01:37:27 +00:00
hp.com!davidm
7aa9c37cc1 ia64: Fix off-by-1 error which caused fp-register access failures.
BKrev: 40341290goIcuIC9tcle6dhz1xqXQg
2004-02-19 01:34:08 +00:00
hp.com!davidm
90a9f62a8c (compile_reg): Fix off-by-1 error for case IA64_WHERE_FR. This makes
Gia64-test-nat.c:check_static_to_fpreg() work.

(Logical change 1.172)
2004-02-19 01:34:08 +00:00
hp.com!davidm
f2273f5463 ia64: Add a new NaT test-case which checks that static registers saved
into fp-registers get handled properly.

BKrev: 4034122btwIvJLpSfEXoPuEtxhKt5w
2004-02-19 01:32:27 +00:00
hp.com!davidm
330d2b5129 (all_funcs): Mention static_to_fpreg test & check.
(check_static_to_fpreg): New function.
(run_check): In verbose mode, print the run number.

(Logical change 1.171)
2004-02-19 01:32:27 +00:00
hp.com!davidm
c5b3064c05 (CALL_NEXT): New macro.
(save_static_to_fpreg): New function.

(Logical change 1.171)
2004-02-19 01:32:27 +00:00
hp.com!davidm
a2b6982cfd ia64: Adjust debug level for access_mem() and regenerate Makefile.in.
BKrev: 403411a5EsJukND9UYr_zvwl2dZJFQ
2004-02-19 01:30:13 +00:00
hp.com!davidm
907bac3434 Regenerate.
(Logical change 1.170)
2004-02-19 01:30:13 +00:00
hp.com!davidm
5216609e29 (access_mem): Lower the debug level to 12, to be in sync with access_reg().
(Logical change 1.170)
2004-02-19 01:30:13 +00:00
mostang.com!davidm
12a941b1ba ia64: Yesterday's fix for emit_nat_info() wasn't quite correct. Fix
it.

BKrev: 402ea98bNuI0HnTke9QLnb6rH0_7tg
2004-02-14 23:04:43 +00:00
mostang.com!davidm
d3a82ba5e8 (emit_nat_info): i is a preserved register number.
Correct accordingly.

(Logical change 1.169)
2004-02-14 23:04:43 +00:00
mostang.com!davidm
1ac893cbab ia64: Initial prototype of a test-program that checks correctness
of NaT-bit handling.

BKrev: 402dd3fbK4gRw6Fq4A5Cs03-iGW8Rg
2004-02-14 07:53:31 +00:00
mostang.com!davidm
05a9101485 (Logical change 1.168) 2004-02-14 07:53:31 +00:00
mostang.com!davidm
a49786f031 Initial revision 2004-02-14 07:53:31 +00:00
mostang.com!davidm
66482c4494 Add copyright message.
(Logical change 1.168)
2004-02-14 07:53:31 +00:00
mostang.com!davidm
899323c996 (check_PROGRAMS_arch): Mention Gia64-test-nat and Lia64-test-nat.
(Lia64_test_nat_SOURCES): New macro.
(Gia64_test_nat_SOURCES): Likewise.

(Logical change 1.168)
2004-02-14 07:53:31 +00:00
mostang.com!davidm
321094feff ia64: Fix a typo which could cause a segv when a general register
got spilled into memory.  Reported by Jerry Harrow.

BKrev: 402dd38f7oamRp0odWsVm7yPa6xnAg
2004-02-14 07:51:43 +00:00
mostang.com!davidm
7b23d69a26 (emit_nat_info): Fix a typo: the destination must be a NaT-register!
(Logical change 1.167)
2004-02-14 07:51:43 +00:00
mostang.com!davidm
7956b79d8a ia64: Add some Debug() statements for easier tracing.
BKrev: 402dd31es7Kot28JwKhBQhD1Wrn0zQ
2004-02-14 07:49:50 +00:00
mostang.com!davidm
9468bda47a (unw_step): Add Debug() statement.
(Logical change 1.166)
2004-02-14 07:49:50 +00:00
mostang.com!davidm
f753bb45be (unw_init_remote): Add Debug() statement.
(Logical change 1.166)
2004-02-14 07:49:50 +00:00
mostang.com!davidm
eacf1f1262 (unw_init_local): Add Debug() statement.
(Logical change 1.166)
2004-02-14 07:49:50 +00:00
mostang.com!davidm
a597de2beb ia64: Fix typo in src/Makefile.am.
BKrev: 402dd2df1W4GhDvC-8i8rcc7dDCrvw
2004-02-14 07:48:47 +00:00
mostang.com!davidm
3d594c588f Regenerate.
(Logical change 1.165)
2004-02-14 07:48:47 +00:00
mostang.com!davidm
6fef2ace65 Fix typo: ia64/Lcreate_addr_space-ia64 was missing ".c".
(Logical change 1.165)
2004-02-14 07:48:47 +00:00
hp.com!davidm
cd3092a814 ia64: Regenerate src/ia64/Linstall_cursor-ia64.S.
BKrev: 402da827hJjYA1gmi5n1dHNj7QpPvA
2004-02-14 04:46:31 +00:00
hp.com!davidm
518e5bde6c Regenerate.
(Logical change 1.164)
2004-02-14 04:46:31 +00:00
hp.com!davidm
dbea4b064a Fix up some small Debug() breakage.
BKrev: 402da795IuGDDgX1QPS-cYkjw1m6aQ
2004-02-14 04:44:05 +00:00
hp.com!davidm
703aa0d196 (common_init): Fix Debug() call.
(Logical change 1.163)
2004-02-14 04:44:05 +00:00
hp.com!davidm
5f45c42420 (Debug): Add back lost Debug() macro for the !UNW_DEBUG case.
(Logical change 1.163)
2004-02-14 04:44:05 +00:00
hp.com!davidm
410f962b8d Update.
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
a758c420e1 Update.
2004/01/28 13:40:40-08:00 hp.com!davidm
Rename: src/mi/Gset_caching_policy-ia64.c -> src/mi/Gset_caching_policy.c

(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
a58ab0d85c Update.
2004/01/28 13:40:33-08:00 hp.com!davidm
Rename: src/mi/Gget_accessors-ia64.c -> src/mi/Gget_accessors.c

(Logical change 1.162)
2004-01-30 00:01:24 +00:00