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

Commit graph

  • 8e8fe50029 (Lperf_simple_LDADD): Mention -lrt. (Gperf_simple_LDADD): Likewise. mostang.com!davidm 2004-03-20 09:54:28 +0000
  • ab5eac6c8b ia64: Fix a typo which caused the case to fail in which primary UNaT got saved in a register only. hp.com!davidm 2004-03-20 06:27:55 +0000
  • fc7cd7c4bc Whitespace fix. hp.com!davidm 2004-03-20 06:27:55 +0000
  • 5071803e5d (save_static_to_mem2): New function. (save_static_to_mem3): Likewise. (save_static_to_mem4): Likewise. (save_static_to_mem5): Likewise. (save_static_to_scratch): Save f4 to f6 to improve test coverage. hp.com!davidm 2004-03-20 06:27:55 +0000
  • 61d42ccf66 (check_static_to_memN): New function. (check_static_to_mem2): Likewise. (check_static_to_mem3): Likewise. (check_static_to_mem4): Likewise. (check_static_to_mem5): Likewise. hp.com!davidm 2004-03-20 06:27:55 +0000
  • d8715c0e28 (build_script): Fix typo which caused case to fail where primary UNaT was saved in a register only. hp.com!davidm 2004-03-20 06:27:55 +0000
  • a2b8866fb3 ia64: Remove erroneous calls to rotate_gr() during script-execution. Fix NaT-bit handling test-case involving rotated regs. mostang.com!davidm 2004-03-19 08:18:44 +0000
  • eed0c54d28 (run_script): Remove erroneous calls to rotate_gr(). The unwind directives specify physical stacked register numbers and the register-backing store always represents physical registers, so it was wrong to rotate here. mostang.com!davidm 2004-03-19 08:18:44 +0000
  • 18d33f37d5 (check_rotate_regs): Return adjust "vals"; add a printf() in verbose mode. mostang.com!davidm 2004-03-19 08:18:44 +0000
  • 96d2898321 (CALL_NEXT_PTR): Like CALL_NEXT(), except that the two argument registers are passed via macro args. (CALL_NEXT): Define in terms of CALL_NEXT_PTR(). (rotate_regs): Fix it so it doesn't overwrite any local registers once they are rotated. Note: it's OK to write the output registers, since those are outside of the rotating partition. mostang.com!davidm 2004-03-19 08:18:44 +0000
  • d5dc7dc613 ia64: Fix another NaT-bit handling bug and add another NaT-bit test. hp.com!davidm 2004-03-19 02:38:39 +0000
  • 77a27f0baf Update with rotation-test. hp.com!davidm 2004-03-19 02:38:39 +0000
  • f59f60f9ce Tweak debug-levels a bit. hp.com!davidm 2004-03-19 02:38:39 +0000
  • 43db353753 (access_nat): Check for fp-location first and also do a direct get/put if the NaT-location is a NaT-register. hp.com!davidm 2004-03-19 02:38:39 +0000
  • 94b71a1cd8 (LOAD_VAL): Use p15 instead of p6 so we don't step on save_static_to_scratch(). (flushrs): New function. (rotate_regs): Likewise. hp.com!davidm 2004-03-19 02:38:39 +0000
  • f46a44b1f9 ia64: Plug nasty memory leak: neither unw_is_signal_frame() nor the dynamic unwind info parser freed the state-record after they were done using it. hp.com!davidm 2004-03-19 02:35:27 +0000
  • e2b1175c3c (unw_is_signal_frame): Don't forget to call ia64_free_state_record() after we're done with the state-record. hp.com!davidm 2004-03-19 02:35:27 +0000
  • 2cdea99143 (parse_dynamic): Free old state-record before creating new one. hp.com!davidm 2004-03-19 02:35:27 +0000
  • 2fc4fd6e48 ia64: Rewrite NaT-bit handling for the 3rd time (must be a charm!). The previous version was OK for all but one corner case. The new version uses slightly more space in the cursor (4 extra bytes) but on the other hand, the final result is both much more easier to understand and likely faster. It also seems more correct, which is always a bonus. mostang.com!davidm 2004-02-27 08:54:25 +0000
  • 23dd2c4c4a Update. mostang.com!davidm 2004-02-27 08:54:25 +0000
  • 1c00cf562e (unw_tdep_save_loc): Add new member "nat_bitnr". Define the other 7 bytes (which were always there in unw_save_loc_t due to padding) as reserved for future use. mostang.com!davidm 2004-02-27 08:54:25 +0000
  • 7c7bcebcc0 (unw_get_save_loc): New variable "nat_bitnr". Adjust NaT-bit handling. Much simpler now. Pass NULL as new third argument to ia64_scratch_loc(). Set save_loc->extra.nat_bitnr to the NaT bit number (or 0 when not accessing a NaT bit). mostang.com!davidm 2004-02-27 08:54:25 +0000
  • ebe6b21c93 (uc_addr): Add "nat_bitnr"-pointer argument. Handle preserved NaT-bit registers. (tdep_uc_addr): Add "nat_bitnr"-pointer argument. (access_reg): Pass NULL as third argument to uc_addr(). (access_fpreg): Likewise. mostang.com!davidm 2004-02-27 08:54:25 +0000
  • 7356cf80a5 (struct cursor): Add member "nat_bitnr". (tdep_uc_addr): Add (optional) nat_bitnr pointer argument. mostang.com!davidm 2004-02-27 08:54:25 +0000
  • 5de460718c (remote_install_cursor): Pass NULL to third argument of tdep_uc_addr(). mostang.com!davidm 2004-02-27 08:54:25 +0000
  • 41db5ace19 (rbs_find): Delete---it's no longer needed. mostang.com!davidm 2004-02-27 08:54:25 +0000
  • 50488aece3 (linux_scratch_loc): Add "nat_bitnr"-pointer argument. Handle NaT-bit registers by returning not just the NaT-word address, but also the NaT-bit number. (hpux_scratch_loc): Add "nat_bitnr"-pointer argument. (ia64_scratch_loc): Likewise. (access_nat): Add "nat_bitnr" argument. Rename "loc" to "nat_loc". Greatly simplify now that we have the NaT-word and the NaT bit-number readily available. (access_reg): Pass NaT-bit number to access_nat(). Handle scratch NaT-bit registers in a more generic fashion, now that we can. Adjust all calls to ia64_scratch_loc() for third argument. mostang.com!davidm 2004-02-27 08:54:25 +0000
  • 9316bbb8f4 (enum ia64_script_insn_opcode): Moved to here from script.h. Added operations IA64_INSN_ADD_PSP_NAT, IA64_INSN_ADD_SP_NAT, IA64_INSN_MOVE_NAT, IA64_INSN_MOVE_NO_NAT, IA64_INSN_MOVE_STACKED_NAT, IA64_INSN_MOVE_STACKED_NAT, IA64_INSN_MOVE_SCRATCH_NAT, and IA64_INSN_MOVE_SCRATCH_NO_NAT. (emit_nat_info): Remove---it's no longer needed. (compile_reg): Emit special op-codes when compiling a preserved static register, such that it's NaT-info can be updated. (set_nat_info): New function. (run_script): Implement new script instructions. mostang.com!davidm 2004-02-27 08:54:25 +0000
  • 50f7edcce5 (enum ia64_script_insn_opcode): Move Gscript-ia64.c. (IA64_MAX_SCRIPT_LEN): Lower it by 4 since we no longer need separate instructions to update the NaT locations. mostang.com!davidm 2004-02-27 08:54:25 +0000
  • fcb151f6ec (common_init): Initialize NaT-bit locations via IA64_REG_NAT_LOC() macros. mostang.com!davidm 2004-02-27 08:54:25 +0000
  • be1d46b41c (IA64_REG_LOC): Pass NULL as third argument to tdep_uc_addr(). (IA64_FPREG_LOC): Likewise. (IA64_REG_NAT_LOC): New macro to describe a NaT-bit register location. (rbs_find): Remove declaration. mostang.com!davidm 2004-02-27 08:54:25 +0000
  • 253fabee2c ia64: Fix minor typo and delete extraneous macro. hp.com!davidm 2004-02-27 01:00:42 +0000
  • a0f46f2a2b Fix typo in comment. (IA64_LOC_UC_REG): Remove from the UNW_LOCAL_ONLY case. hp.com!davidm 2004-02-27 01:00:42 +0000
  • daaa6b34da ia64: Add a new check which tests the handling of NaT bits in scratch registers. hp.com!davidm 2004-02-27 00:59:41 +0000
  • 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. hp.com!davidm 2004-02-27 00:59:41 +0000
  • 1f3439fc5d (save_static_to_scratch): New routine. hp.com!davidm 2004-02-27 00:59:41 +0000
  • af8e32060d ia64: Fix primary-UNaT handling. hp.com!davidm 2004-02-27 00:54:27 +0000
  • 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. hp.com!davidm 2004-02-27 00:54:27 +0000
  • c4d1b80bfe (access_nat): Fix that NaT-location calculation for the case where the NaT is on the memory stack. hp.com!davidm 2004-02-27 00:54:27 +0000
  • 8d735e0c76 ia64: Fix typo which caused bad floating-point NaTVal constant and bad integer-values inside floating-point registers. hp.com!davidm 2004-02-27 00:46:01 +0000
  • 6702d1059c (tdep_init): Fix typo in nat_val_bytes[] (too much cut & paste). Likewise for int_val_bytes[]. hp.com!davidm 2004-02-27 00:46:01 +0000
  • 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(). hp.com!davidm 2004-02-20 01:03:54 +0000
  • 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. hp.com!davidm 2004-02-20 01:03:54 +0000
  • d2db9d02a9 ia64: Add two NaT-bit checks: saving to branch registers and memory. mostang.com!davidm 2004-02-19 08:05:27 +0000
  • 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. mostang.com!davidm 2004-02-19 08:05:27 +0000
  • 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. mostang.com!davidm 2004-02-19 08:05:27 +0000
  • d2a5a239aa (ptrace): Fix Debug() typo in _UPT_access_mem(). mostang.com!davidm 2004-02-19 08:01:52 +0000
  • 84109794bd (_UPT_access_mem): Fix typo in Debug() macro calls. mostang.com!davidm 2004-02-19 08:01:52 +0000
  • 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() . hp.com!davidm 2004-02-19 01:37:27 +0000
  • 8b96f6ef11 (rbs_find): New function. hp.com!davidm 2004-02-19 01:37:27 +0000
  • 57b8d6d7eb (rbs_find): Declare. hp.com!davidm 2004-02-19 01:37:27 +0000
  • 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. hp.com!davidm 2004-02-19 01:37:27 +0000
  • 7aa9c37cc1 ia64: Fix off-by-1 error which caused fp-register access failures. hp.com!davidm 2004-02-19 01:34:08 +0000
  • 90a9f62a8c (compile_reg): Fix off-by-1 error for case IA64_WHERE_FR. This makes Gia64-test-nat.c:check_static_to_fpreg() work. hp.com!davidm 2004-02-19 01:34:08 +0000
  • f2273f5463 ia64: Add a new NaT test-case which checks that static registers saved into fp-registers get handled properly. hp.com!davidm 2004-02-19 01:32:27 +0000
  • 330d2b5129 (all_funcs): Mention static_to_fpreg test & check. (check_static_to_fpreg): New function. (run_check): In verbose mode, print the run number. hp.com!davidm 2004-02-19 01:32:27 +0000
  • c5b3064c05 (CALL_NEXT): New macro. (save_static_to_fpreg): New function. hp.com!davidm 2004-02-19 01:32:27 +0000
  • a2b6982cfd ia64: Adjust debug level for access_mem() and regenerate Makefile.in. hp.com!davidm 2004-02-19 01:30:13 +0000
  • 907bac3434 Regenerate. hp.com!davidm 2004-02-19 01:30:13 +0000
  • 5216609e29 (access_mem): Lower the debug level to 12, to be in sync with access_reg(). hp.com!davidm 2004-02-19 01:30:13 +0000
  • 12a941b1ba ia64: Yesterday's fix for emit_nat_info() wasn't quite correct. Fix it. mostang.com!davidm 2004-02-14 23:04:43 +0000
  • d3a82ba5e8 (emit_nat_info): i is a preserved register number. Correct accordingly. mostang.com!davidm 2004-02-14 23:04:43 +0000
  • 1ac893cbab ia64: Initial prototype of a test-program that checks correctness of NaT-bit handling. mostang.com!davidm 2004-02-14 07:53:31 +0000
  • 05a9101485 (Logical change 1.168) mostang.com!davidm 2004-02-14 07:53:31 +0000
  • a49786f031 Initial revision mostang.com!davidm 2004-02-14 07:53:31 +0000
  • 66482c4494 Add copyright message. mostang.com!davidm 2004-02-14 07:53:31 +0000
  • 899323c996 (check_PROGRAMS_arch): Mention Gia64-test-nat and Lia64-test-nat. (Lia64_test_nat_SOURCES): New macro. (Gia64_test_nat_SOURCES): Likewise. mostang.com!davidm 2004-02-14 07:53:31 +0000
  • 321094feff ia64: Fix a typo which could cause a segv when a general register got spilled into memory. Reported by Jerry Harrow. mostang.com!davidm 2004-02-14 07:51:43 +0000
  • 7b23d69a26 (emit_nat_info): Fix a typo: the destination must be a NaT-register! mostang.com!davidm 2004-02-14 07:51:43 +0000
  • 7956b79d8a ia64: Add some Debug() statements for easier tracing. mostang.com!davidm 2004-02-14 07:49:50 +0000
  • 9468bda47a (unw_step): Add Debug() statement. mostang.com!davidm 2004-02-14 07:49:50 +0000
  • f753bb45be (unw_init_remote): Add Debug() statement. mostang.com!davidm 2004-02-14 07:49:50 +0000
  • eacf1f1262 (unw_init_local): Add Debug() statement. mostang.com!davidm 2004-02-14 07:49:50 +0000
  • a597de2beb ia64: Fix typo in src/Makefile.am. mostang.com!davidm 2004-02-14 07:48:47 +0000
  • 3d594c588f Regenerate. mostang.com!davidm 2004-02-14 07:48:47 +0000
  • 6fef2ace65 Fix typo: ia64/Lcreate_addr_space-ia64 was missing ".c". mostang.com!davidm 2004-02-14 07:48:47 +0000
  • cd3092a814 ia64: Regenerate src/ia64/Linstall_cursor-ia64.S. hp.com!davidm 2004-02-14 04:46:31 +0000
  • 518e5bde6c Regenerate. hp.com!davidm 2004-02-14 04:46:31 +0000
  • dbea4b064a Fix up some small Debug() breakage. hp.com!davidm 2004-02-14 04:44:05 +0000
  • 703aa0d196 (common_init): Fix Debug() call. hp.com!davidm 2004-02-14 04:44:05 +0000
  • 5f45c42420 (Debug): Add back lost Debug() macro for the !UNW_DEBUG case. hp.com!davidm 2004-02-14 04:44:05 +0000
  • 410f962b8d Update. hp.com!davidm 2004-01-30 00:01:24 +0000
  • a758c420e1 Update. hp.com!davidm 2004-01-30 00:01:24 +0000
  • a58ab0d85c Update. hp.com!davidm 2004-01-30 00:01:24 +0000
  • d3ff45603d Update. hp.com!davidm 2004-01-30 00:01:24 +0000
  • 4c9772769b Update. hp.com!davidm 2004-01-30 00:01:24 +0000
  • 26465f4a7d Update. hp.com!davidm 2004-01-30 00:01:24 +0000
  • c5a37d6efc Update. hp.com!davidm 2004-01-30 00:01:24 +0000
  • 3152b04bb4 Update. hp.com!davidm 2004-01-30 00:01:24 +0000
  • c93b3e827e Update. hp.com!davidm 2004-01-30 00:01:24 +0000
  • e11aa4383c Update. hp.com!davidm 2004-01-30 00:01:24 +0000
  • 16df64ba9e Update. hp.com!davidm 2004-01-30 00:01:24 +0000
  • 78999cc067 Update. hp.com!davidm 2004-01-30 00:01:24 +0000
  • 388f60fd02 Update. hp.com!davidm 2004-01-30 00:01:24 +0000
  • fcd8dad37e Update. hp.com!davidm 2004-01-30 00:01:24 +0000
  • f913dd3bd1 Start to implement it for real. hp.com!davidm 2004-01-30 00:01:24 +0000
  • 9b332c6092 Rename: src/mi-init.c -> src/mi/init.c hp.com!davidm 2004-01-30 00:01:24 +0000
  • cf69b9cb0d Rename: src/mi-init.c -> src/mi/init.c hp.com!davidm 2004-01-30 00:01:24 +0000
  • 2294f59b46 Rename: src/mempool.c -> src/mi/mempool.c hp.com!davidm 2004-01-30 00:01:24 +0000
  • 65a70e7f88 Rename: src/mempool.c -> src/mi/mempool.c hp.com!davidm 2004-01-30 00:01:24 +0000