1 2010-01-04 Ulrich Weigand <uweigand@de.ibm.com>
3 * features/Makefile (WHICH): Add s390-linux32, s390-linux64,
5 (s390-linux32-expedite): Define.
6 (s390-linux64-expedite): Define.
7 (s390x-linux64-expedite): Define.
8 * features/s390-acr.xml: New file.
9 * features/s390-fpr.xml: New file.
10 * features/s390-core32.xml: New file.
11 * features/s390-core64.xml: New file.
12 * features/s390x-core64.xml: New file.
13 * features/s390-linux32.xml: New file.
14 * features/s390-linux64.xml: New file.
15 * features/s390x-linux64.xml: New file.
16 * features/s390-linux32.c: New generated file.
17 * features/s390-linux64.c: New generated file.
18 * features/s390x-linux64.c: New generated file.
20 * regformats/s390-linux32.dat: New generated file.
21 * regformats/s390-linux64.dat: New generated file.
22 * regformats/s390x-linux64.dat: New generated file.
23 * regformats/reg-s390.dat: Remove.
24 * regformats/reg-s390x.dat: Remove.
26 * s390-nat.c: Include "auxv.h" and <elf.h>.
27 (HWCAP_S390_HIGH_GPRS): Define if undefined.
28 (s390_target_wordsize): New function.
29 (s390_auxv_parse): Likewise.
30 (s390_get_hwcap): Likewise.
31 (s390_read_description): Likewise.
32 (_initialize_s390_nat): Install s390_auxv_parse and
33 s390_read_description.
35 * s390-tdep.c: Include "features/s390-linux32.c",
36 "features/s390-linux64.c", and "features/s390x-linux64.c".
37 (struct gdbarch_tdep): Add gpr_full_regnum, pc_regnum, and cc_regnum.
38 (s390_register_call_saved): New function.
39 (s390_register_name): Remove.
40 (s390_register_type): Remove.
41 (s390_dwarf_regmap): Add lower half GPR pseudo DWARF CFI regnums.
42 (s390_dwarf_reg_to_regnum): Remap GPR regnums to full GPRs.
43 (s390_adjust_frame_regnum): Remap GPR regnums to lower halves for CFI.
44 (s390_pseudo_register_name): New function.
45 (s390_pseudo_register_type): New function.
46 (s390_pseudo_register_read): Handle both 32-bit and 64-bit cases.
47 Handle full GPR pesudos and varying pseudo register numbers.
48 (s390_pseudo_register_write): Likewise
49 (s390x_pseudo_register_read): Remove.
50 (s390x_pseudo_register_write): Likewise.
51 (s390_register_group): Remove.
52 (s390_pseudo_register_group): New function.
53 (s390_regmap_gregset): Add GPR upper halves.
54 (s390x_regmap_gregset): Likewise.
55 (s390_regmap_fpregset): Likewise.
56 (s390_regmap_upper): New global variable.
57 (s390_upper_regset): New global variable.
58 (s390_upper_regset_sections): New global variable.
59 (s390_regset_from_core_section): Handle GPR upper halves.
60 (s390_core_read_description): New function.
61 (s390_prologue_frame_unwind_cache): Set up ABI call-saved/clobbered
62 register information. Handle varying pseudo register numbers.
63 (s390_backchain_frame_unwind_cache): Likewise.
64 (s390_frame_prev_register): Unwind full GPRs to show lower halves.
65 (s390_stub_frame_unwind_cache): Handle varying pseudo register numbers.
66 (s390_sigtramp_frame_unwind_cache): Unwind PSWM and PSWA as well as
67 PC and CC pseudos. Unwind upper halves and full GPRs as appropriate.
68 Handle varying pseudo register numbers.
69 (s390_unwind_pc): Handle varying pseudo register numbers.
70 (s390_dwarf2_prev_register): New function.
71 (s390_dwarf2_frame_init_reg): Set up ABI call-saved/clobbered
72 register information. Handle varying pseudo register numbers.
73 Install s390_dwarf2_prev_register to unwind full GPRs.
74 (s390_gdbarch_init): Handle target descriptions. Assign varying
75 pseudo register numbers. Install s390_adjust_frame_regnum.
76 (_initialize_s390_tdep): Initialize target descriptions.
78 * s390-tdep.h (S390_R0_UPPER_REGNUM .. S390_R15_UPPER_REGNUM): Define.
79 (S390_NUM_REGS): Redefine to include upper half registers.
80 (S390_PC_REGNUM, S390_CC_REGNUM): Remove.
81 (S390_NUM_PSEUDO_REGS, S390_NUM_TOTAL_REGS): Likewise.
82 (tdesc_s390_linux32): Add declaration.
83 (tdesc_s390_linux64): Likewise.
84 (tdesc_s390x_linux64): Likewise.
86 2010-01-04 Ulrich Weigand <uweigand@de.ibm.com>
88 * regset.h (struct core_regset_section): Add HUMAN_NAME.
89 * i386-linux-tdep.c (i386_linux_regset_sections): Fill in HUMAN_NAME.
90 * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections): Likewise.
91 (ppc_linux_vmx_regset_sections): Likewise.
92 (ppc_linux_fp_regset_sections): Likewise.
94 * corelow.c (get_core_register_section): Constify arguments.
95 (get_core_registers): Use gdbarch_core_regset_sections instead
96 of hard-coded platform-specific register section names.
98 2010-01-04 Ulrich Weigand <uweigand@de.ibm.com>
100 * dwarf2loc.c (read_pieced_value): If a piece occupies part of
101 a register, assume the least-significant part is used.
102 (write_pieced_value): Likewise.
104 2010-01-04 Ulrich Weigand <uweigand@de.ibm.com>
106 * printcmd.c: Include "arch-utils.h".
107 (do_one_display): Re-parse expression if current architecture changed.
109 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
110 Joel Brobecker <brobecker@adacore.com>
112 * gdbtypes.c (check_typedef): New comment on type length.
113 * value.c (allocate_value_lazy): Remove the unused atype variable. New
114 comment on type length.
115 (value_primitive_field): Keep the original TYPE value, new comment.
117 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
119 * cli/cli-script.c (process_next_line): Rename p1 as p_end and p2 as
120 p_start. Change != comparisons to > and < comparisons.
122 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
124 * cli/cli-script.c (process_next_line): Check P2 overrun.
126 2009-01-01 Joel Brobecker <brobecker@adacore.com>
128 Update the copyright hearder to add year 2010 for most GDB files.
130 2009-01-01 Joel Brobecker <brobecker@adacore.com>
132 Fix build failure in inf-ptrace.c.
133 * inf-ptrace.c (inf_ptrace_follow_fork): Fix typo.
135 2010-01-01 Joel Brobecker <brobecker@adacore.com>
137 * top.c (print_gdb_version): Update copyright year.
139 2010-01-01 Joel Brobecker <brobecker@adacore.com>
141 Fix break *FUN'address thread NUM.
142 * ada-lex.l (task): Expand rule to also match the thread keyword.
144 2010-01-01 Joel Brobecker <brobecker@adacore.com>
146 Fix break *FUN'address task NUM.
147 * ada-lex.l (task): New rule.
148 * ada-lang.c (valid_task_id): Make sure the Ada task list has
149 been built before using it.
151 For older changes see ChangeLog-2009.
157 version-control: never