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