Commit | Line | Data |
---|---|---|
5154b0cd MK |
1 | 2004-01-04 Mark Kettenis <kettenis@gnu.org> |
2 | ||
3 | * sparc64-tdep.c (sparc64_store_floating_fields): Update comment | |
4 | such that it mentions a specific version of GCC that exhibits this | |
5 | bug. | |
6 | ||
fb316966 MK |
7 | 2004-01-03 Mark Kettenis <kettenis@gnu.org> |
8 | ||
200cc553 MK |
9 | * sparc64-tdep.c (sparc64_store_floating_fields): If TYPE is a |
10 | structure that has a single `float' member, store it in %f1 in | |
11 | addition to %f0. | |
12 | ||
e226a4a0 MK |
13 | * sparc-sol2-nat.c: Add missing '\'. |
14 | ||
b9d4c5ed MK |
15 | * sparc-tdep.c (sparc32_return_value): New function. |
16 | (sparc32_use_struct_convention, sparc32_return_value_on_stack): | |
17 | Remove functions. | |
18 | (sparc32_gdbarch_init): Set return_value, don't set | |
19 | extract_return_value, store_return_value, use_struct_convention | |
20 | and return_value_on_stack. | |
21 | ||
fb316966 MK |
22 | * sparc-sol2-nat.c: Add missing ')'. |
23 | ||
1af510a8 JB |
24 | 2004-01-03 J. Brobecker <brobecker@gnat.com> |
25 | ||
26 | * infrun.c (handle_step_into_function): New function. | |
27 | (handle_inferior_event): Extract out some code into the new | |
28 | function above. | |
29 | ||
5cf4d23a JB |
30 | 2004-01-03 J. Brobecker <brobecker@gnat.com> |
31 | ||
32 | * infrun.c (handle_inferior_event): Move the declaration of | |
33 | real_stop_pc inside the if blocks where it is used. | |
34 | ||
60af1db2 MK |
35 | 2004-01-03 Mark Kettenis <kettenis@gnu.org> |
36 | ||
37 | * sparc64-tdep.c (sparc64_16_byte_align_p) | |
38 | (sparc64_store_floating_fields, sparc64_store_floating_fields): | |
39 | Use check_typedef to get subtypes of structures and unions. | |
40 | (sparc64_store_return_value): Fix calculation of the appropriate | |
41 | offset into VALBUF when storing a structure or union. | |
42 | (sparc64_return_value): New function. | |
43 | (sparc64_use_struct_convention): Remove function. | |
44 | (sparc64_init_abi): Set return_value, don't set | |
45 | extract_return_value, store_return_value and | |
46 | use_struct_convention. | |
47 | ||
1a901d3f EZ |
48 | 2004-01-03 Eli Zaretskii <eliz@elta.co.il> |
49 | ||
50 | * config/djgpp/fnchange.lst: Add lines for COPYING.LIBGLOSS, | |
51 | bfd/doc/ChangeLog-9103, bfd/elf32-m68hc1x.c, | |
52 | gdb/config/alpha/xm-alphaosf.h, | |
53 | gdb/config/powerpc/tm-ppcle-eabi.h, | |
54 | gdb/config/rs6000/tm-rs6000-aix4.h, gdb/gdbtk/ChangeLog-2001, | |
55 | gdb/gdbtk/ChangeLog-2002, gdb/gdbtk/ChangeLog-2003, | |
56 | gdb/gdbtk/plugins/intel-pentium/intel-pentium.tcl.in, | |
57 | gdb/gdbtk/plugins/rhabout/rhabout.tcl.in, gdb/i386-linux-nat.c, | |
58 | gdb/ia64-aix-nat.c, gdb/ia64-aix-tdep.c, gdb/ia64-linux-nat.c, | |
59 | gdb/ia64-linux-nat.c, gdb/ppc-linux-tdep.c, gdb/ppc-linux-nat.c, | |
60 | gdb/sparc64nbsd-nat.c, gdb/sparc64nbsd-tdep.c, | |
61 | gdb/sparc64-linux-nat.c, gdb/sparc64-linux-tdep.c, | |
62 | gdb/sparc64-nat.c, gdb/sparc64-tdep.c, gdb/sparc64-sol2-tdep.c, | |
63 | gdb/sparc-sol2-nat.c, gdb/sparc-sol2-tdep.c, | |
64 | gdb/testsuite/gdb.gdbtk/, gdb/testsuite/gdb.mi/mi-var-child.exp, | |
65 | nclude/ChangeLog-9103, include/coff/ChangeLog-9103, | |
66 | include/elf/ChangeLog-9103, include/opcode/ChangeLog-9103, | |
67 | opcodes/ChangeLog-0001, opcodes/ChangeLog-0203, | |
68 | opcodes/openrisc-dis.c, opcodes/openrisc-desc.h, | |
69 | sim/frv/profile-fr550.c, sim/frv/profile-fr550.h, | |
70 | sim/sh64/sem-compact-switch.c, sim/sh64/sem-media-switch.c, | |
71 | sim/testsuite/sim/sh64/compact/ldsl-mach.cgs, | |
72 | sim/testsuite/sim/sh64/compact/ldsl-macl.cgs, | |
73 | sim/testsuite/sim/sh64/compact/stsl-mach.cgs, and | |
74 | sim/testsuite/sim/sh64/compact/stsl-macl.cgs. | |
75 | Remove lines for .cvsignore files. | |
76 | ||
ef52e463 JB |
77 | 2004-01-03 J. Brobecker <brobecker@gnat.com> |
78 | ||
79 | * infrun.c: Back out the previous change. | |
80 | ||
cb1bf9dc MK |
81 | 2004-01-03 Mark Kettenis <kettenis@gnu.org> |
82 | ||
f0424ef6 MK |
83 | * NEWS: Mention revised SPARC target. Add sparc-*-lynxos* and |
84 | sparc-*-sunos4* to the list of REMOVED configurations. | |
85 | ||
cb1bf9dc MK |
86 | * configure.tgt: Add back sparc-*-vxworks*. |
87 | * remote-vxsparc.c: Remove all includes except for "defs.h", | |
88 | "regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h". | |
89 | Include "sparc-tdep.h". | |
90 | (SPARC_R_G1): New define. | |
91 | (vxsparc_gregset): New variable. | |
92 | (ext_format_sparc): Remove extern declaration. | |
93 | (vx_read_register): Rewrite to use sparc32_supply_gregset and | |
94 | sparc32_supply_fpregset. | |
95 | (vx_write_register): Rewrite to use sparc32_collect_gregset, | |
96 | sparc_collect_rwindow and sparc32_collect_fpregset. | |
97 | * config/sparc/tm-vxworks.h: New file, based on recently removed | |
98 | tm-vxsparc.h. | |
99 | * config/sparc/vxworks.mt: New file, based on recently removed | |
100 | vxworks.mt. | |
101 | ||
5e938f9f JB |
102 | 2004-01-03 J. Brobecker <brobecker@gnat.com> |
103 | ||
104 | * infrun.c (handle_step_into_function): New function. | |
105 | (handle_inferior_event): Extract out some code into the new | |
106 | function above. | |
107 | ||
386c036b MK |
108 | 2004-01-02 Mark Kettenis <kettenis@gnu.org> |
109 | ||
110 | * Makefile.in (ALLDEPFILES): Remove sparc-linux-nat.c and | |
111 | sparcl-tdep.c. Add sparc-linux-tdep.c, sparc-sol2-nat.c, | |
112 | sparc-sol2-tdep.c, sparc-sol2-nat.c, sparc-sol2-tdep.c, | |
113 | sparc64-linux-nat.c, sparc64-linux-tdep.c, sparc64-nat.c, | |
114 | sparc64-sol2-tdep.c, sparc64-tdep.c, sparc64fbsd-nat.c, | |
115 | sparc64fbsd-tdep.c, sparcnbsd-nat.c, sparcnbsd-tdep.c. | |
116 | (sparc_nat_h): New variable. | |
117 | (sparcbsd_nat_h, sparcnbsd_tdep_h): Remove variables. | |
118 | (tm-sun4os4.h): Remove dependency. | |
119 | (sparcbsd-nat.o, sparc-linux-nat.o): Remove dependencies. | |
120 | (sparc64fbsd-nat.o, sparc64fbsd-tdep.o, sparc64nbsd-nat.o, | |
121 | sparc64-tdep.o, sparc-nat.o, sparcnbsd-nat.o, sparcnbsd-tdep.o, | |
122 | sparc-tdep.o): Update dependencies. | |
123 | (sparc-linux-tdep.o, sparc-sol2-nat.o, sparc-sol2-tdep.o, | |
124 | sparc64-linux-nat.o, sparc64-linux-tdep.o, sparc64-nat.o, | |
125 | sparc64-sol2-tdep.o, sparc64-tdep.o, sparc64nbsd-tdep.o): New | |
126 | dependencies. | |
127 | * configure.host: Remove existing sparc-*-lynxos*, | |
128 | sparc-*-solaris*, sparc-*-sunos4*, sparc-*-sunos5*, sparc-*-*, | |
129 | ultrasparc-*-freebsd, sparcv9-*-freebsd, sparc64-*-linux*, | |
130 | sparcv9-*-* and sparc64-*-* triplets. Add new sparc64-*-linux*, | |
131 | sparc-*-solaris2*, sparcv9-*-solaris2* and sparc64-*-solaris2* | |
132 | triplets. | |
133 | * configure.tgt: Remove exitsing sparc-*-aout*, sparc-*-coff*, | |
134 | sparc-*-elf*, sparc*-lynxos*, sparc-*-solars2*, sparc-*-sunos4*, | |
135 | sparc-*-sunos5*, sparc-*-vxworks*, sparc64-*linux*, sparc64-*-*, | |
136 | sparcv9-*-* and commented out sparc64-*-solars2* triplets. Add | |
137 | new sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*, | |
138 | sparc64-*-linux, sparc-*-solaris2*, sparcv9-*-solaris*, | |
139 | sparc64-*-solaris2* and sparc64-*-* triplets. | |
140 | * sparc64-tdep.c: Update copyright year. Include "inferior.h", | |
141 | "symtab.h" and "objfiles.h". | |
142 | (BIAS): Remove define. | |
143 | (X_OP, X_RD, X_A, X_COND, X_OP2, X_IMM22, X_OP3, X_I, X_DISP22) | |
144 | (X_DISP19): Remove macros. | |
145 | (sparc_fetch_instruction): Remove function. | |
146 | (struct gdbarch_tdep): Remove definition. | |
147 | (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use ARRAY_SIZE. | |
148 | (sparc_breakpoint_from_pc): Remove function. | |
149 | (struct sparc64_frame_cache): Remove definition. | |
150 | (sparc64_alloc_frame_cache, sparc64_analyze_prologue, | |
151 | sparc64_unwind_pc): Remove functions. | |
152 | (sparc64_skip_prologue): Use `struct sparc_frame_cache' instead of | |
153 | `struct sparc64_frame_cache. Call sparc_analyze_prologue instead | |
154 | of sparc64_analyze_prologue. Mark constant as ULL instead of UL. | |
155 | (sparc64_frame_cache): Change return type to `struct | |
156 | sparc_frame_cache *'. Simply call sparc_frame_cache. | |
157 | (sparc64_frame_this_id, sparc64_frame_prev_register, | |
158 | sparc64_frame_base_address): Use `struct sparc_frame_cache' | |
159 | instead of `struct sparc64_frame_cache. | |
160 | (sparc_unwind_dummy_id, sparc_extract_struct_value_address, | |
161 | sparc_analyze_control_transfer, sparc_software_single_step, | |
162 | sparc64_gdbarch_init, sparc_supply_rwindow, sparc_fill_rwindow, | |
163 | _initialize_sparc64_tdep): Remove functions. | |
164 | (TSTATE_CWP, TSTATE_ICC, TSTATE_XCC): New macros. | |
165 | (PSR_S, PSR_ICC, PSR_VERS, PSR_IMPL, PSR_V8PLUS, PSR_XCC): New | |
166 | macros. | |
167 | (sparc64_supply_gregset, sparc64_collect_gregset, | |
168 | sparc64_supply_fpregset, sparc64_collect_fpregset): New functions. | |
169 | (sparc64_init_abi): New function. | |
170 | * sparc64-tdep.h: Update copyright year. Fix typo in multiple | |
171 | inclusion guard. Include "sparc-tdep.h". | |
172 | (BIAS): Define. | |
173 | (r_tstate_offset, r_fprs_offset): New defines. | |
174 | (enum sparc_regnum): Remove defenition. | |
175 | (enum sparc64_regnum): Reformat. | |
176 | (sparc_supply_rwindow, sparc_fill_rwindow): Remove prototypes. | |
177 | (sparc64_init_abi, sparc64_supply_gregset, | |
178 | sparc64_collect_gregset, sparc64_supply_fpregset, | |
179 | sparc64_collect_fpregset): New prototypes. | |
180 | (sparc64_sol2_gregset, sparc64nbsd_gregset, sparc64fbsd_gregset): | |
181 | Add extern declarations. | |
182 | (sparc64_sol2_init_abi): New prototype. | |
183 | (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg) | |
184 | (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove | |
185 | prototypes. | |
186 | * sparc64fbsd-nat.c: Include "sparc-nat.h", don't include | |
187 | "sparnbsd-nat.h". | |
188 | (sparc64fbsd_reg_supplies_p, sparc64fbsd_fpreg_supplies_p): Remove | |
189 | functions. | |
190 | (_initialize_sparc64fbsd_nat): Remove initialization of | |
191 | sparcbsd_supply_reg, sparcbsd_fill_reg, sparcbsd_supply_fpreg, | |
192 | sparcbsd_fill_fpreg, sparcbsd_reg_supplies_p, | |
193 | sparcbsd_fpreg_supplies_p. Initialize sparc_gregset. | |
194 | * sparc64fbsd-tdep.c: Update copyright year. Include "frame.h", | |
195 | "frame-unwind.h", "trad-frame.h" and "gdb_assert.h". | |
196 | (sparc64fbsd_r_global_offset, sparc64fbsd_r_out_offset) | |
197 | (sparc64fbsd_r_fprs_offset, sparc64fbsd_r_tnpc_offset) | |
198 | (sparc64fbsd_r_tpc_offset, sparc64fbsd_r_tstate_offset) | |
199 | (sparc64fbsd_r_y_offset): Remove variables. | |
200 | (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg): | |
201 | Make static and const. | |
202 | (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg) | |
203 | (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove | |
204 | functions. | |
205 | (sparc64fbsd_gregset): New variable. | |
206 | (fetch_core_registers): Replace calls to sparc64fbsd_supply_reg | |
207 | and sparc64fbsd_supply_fpreg with calls to sparc64_supply_gregset | |
208 | and sparc64_supply_fpregset. | |
209 | (sparc64fbsd_pc_in_sigtramp, sparc64fbsd_sigtramp_frame_cache) | |
210 | (sparc64fbsd_sigtramp_frame_this_id) | |
211 | (sparc64fbsd_sigtramp_frame_prev_register): New functions. | |
212 | (sparc64fbsd_sigtramp_frame_unwind): New variable. | |
213 | (sparc64fbsd_sigtramp_frame_sniffer): New function. | |
214 | (sparc64fbsd_init_abi): Set pc_in_sigtramp, append | |
215 | sparc64fbsd_sigtramp_frame_sniffer. Call sparc64_init_abi. | |
216 | * sparcnbsd-tdep.c: Update copyright year. Include | |
217 | "floatformat.h", "frame.h", "frame-unwind.h", "symtab.h", | |
218 | "trad-frame.h" and "gdb_assert.h", don't include "target.h", | |
219 | "value.h" and "sparcnbsd-tdep.h". | |
220 | (REG32_OFFSET_PSR, REG32_OFFSET_PC, REG32_OFFSET_NPC) | |
221 | (REG32_OFFSET_Y, REG32_OFFSET_GLOBAL, REG32_OFFSET_OUT) | |
222 | (REG64_OFFSET_TSTATE, REG64_OFFSET_PC, REG64_OFFSET_NPC) | |
223 | (REG64_OFFSET_Y, REG64_OFFSET_GLOBAL, REG64_OFFSET_OUT): Remove | |
224 | defines. | |
225 | (sparcnbsd_gregset): New variable. | |
226 | (sparcnbsd_supply_reg32, sparcnbsd_supply_reg64) | |
227 | (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64) | |
228 | (sparcnbsd_supply_fpreg32, sparcnbsd_supply_fpreg64) | |
229 | (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64): Remove functions. | |
230 | (sparc32nbsd_sigtramp_start, sparc32nbsd_sigtramp_end): New | |
231 | variables. | |
232 | (sparc32nbsd_pc_in_sigtramp, sparc32nbsd_sigcontext_frame_cache) | |
233 | (sparc32nbsd_sigcontext_frame_this_id) | |
234 | (sparc32nbsd_sigcontext_frame_prev_register): New functions. | |
235 | (sparc32nbsd_sigcontext_frame_unwind): New variable. | |
236 | (sparc32nbsd_sigtramp_frame_sniffer): New function. | |
237 | (sparcnbsd_get_longjmp_target_32, | |
238 | sparcnbsd_get_longjmp_target_64): Remove functions. | |
239 | (sparcnbsd_aout_in_solib_call_trampoline): Rewrite. | |
240 | (sparcnbsd_init_abi_common, sparcnbsd_init_aout, | |
241 | sparcnbsd_init_elf): Remove. | |
242 | (sparcnbsd_init_abi, sparcnbsd_aout_init_abi) | |
243 | (sparcnbsd_elf_init_abi): New functions. | |
244 | (_initialize_sparcnbsd_tdep): New prototype. | |
245 | (_initialize_sparnbsd_tdep): Update. | |
246 | * config/sparc/fbsd.mh (NATDEPFILES): Remove sparcbsd-nat.o and | |
247 | corelow.o. Add sparc64-nat.o and sparc-nat.o. | |
248 | * config/sparc/fbsd.mt (TDEPFILES): Add sparc-tdep.o and corelow.o. | |
249 | * config/sparc/linux.mh: Update comment. | |
250 | (XM_FILE, HOST_IPC): Remove variables. | |
251 | (NATDEPFILES): Add sparc-sol2-nat.o and core-regset.o. Remove | |
252 | sparc-linux-nat.o. | |
253 | * config/sparc/linux.mt: Update comment. | |
254 | (TDEPFILES): Add sparc-sol2-tdep.o and sparc-linux-tdep.o. | |
255 | * config/sparc/nbsd.mt: Reformat. | |
256 | * config/sparc/nbsd64.mh: Update comment. | |
257 | (NATDEPFILES): Add sparc-nat.o. | |
258 | * config/sparc/nbsd64.mt: Update comment. | |
259 | (TDEPFILES): Add sparc64-tdep.o and sparc64nbsd-tdep.o. | |
260 | (TM_FILE): Set to tm-nbsd.h. | |
261 | * config/sparc/nbsdelf.mh: Update comment. | |
262 | (NATDEPFILES): Add sparc-nat.o. | |
263 | (XM_FILE): Delete. | |
264 | * config/sparc/nbsdaout.mh: Update comment. | |
265 | (NATDEPFILES): Add sparc-nat.o | |
266 | (XM_FILE): Delete. | |
267 | * config/sparc/nm-linux.h: Update copyright year. Don't include | |
268 | "config/nm-svr4.h" and "solib.h". Add protection against multiple | |
269 | inclusion. | |
270 | (KERNEL_U_SIZE): Remove define. | |
271 | (kernel_u_size): Remove prototype. | |
272 | (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define. | |
273 | * config/sparc/nm-nbsd.h: Update copyright. Don't include | |
274 | "regcache.h". | |
275 | (CHILD_PREPARE_TO_STORE): Remove define. | |
276 | * config/sparc/nm-nbsdaout.h: Tweak some comments. | |
277 | * sparc-nat.c, sparc-tdep.c, sparc-tdep.h, sparc64nbsd-nat.c, | |
278 | sparcnbsd-nat.c: Rewrite files. | |
279 | * config/sparc/tm-linux.h, config/sparc/tm-nbsd.h: Rewrite files. | |
280 | * sparc-linux-nat.c, sparcbsd-nat.c, sparcbsd-nat.h, | |
281 | sparcnbsd-tdep.h: Remove files. | |
282 | * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4os4.h, | |
283 | config/sparc/nm-sun4sol2.h, config/sparc/sp64.mt, | |
284 | config/sparc/sp64linux.mt, config/sparc/sp64sol2.mt, | |
285 | config/sparc/sparc-em.mt, config/sparc/sparclynx.mh, | |
286 | config/sparc/sparclynx.mt, config/sparc/sun4os4.mh, | |
287 | config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh, | |
288 | config/sparc/sun4sol2.mt, config/sparc/tm-sp64.h, | |
289 | config/sparc/tm-sp64linux.h, config/sparc/tm-sparc.h, | |
290 | config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h, | |
291 | config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h, | |
292 | config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt, | |
293 | config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h: Remove files. | |
294 | * sparc-linux-tdep.c, sparc-nat.h, sparc-sol2-nat.c, | |
295 | sparc-sol2-tdep.c, sparc64-linux-nat.c, sparc64-linux-t dep.c, | |
296 | sparc64-nat.c, sparc64-sol2-tdep.c, sparc64nbsd-tdep.c: New files. | |
297 | * config/sparc/linux64.mh, config/sparc/linux64.mt, | |
298 | config/sparc/nm-sol2.h, config/sparc/sol2-64.mt, | |
299 | config/sparc/sol2.mh, config/sparc/sol2.mt, config/sparc/sparc.mt, | |
300 | config/sparc/sparc64.mt, config/sparc/tm-sol2.h: New files. | |
301 | ||
ee84457a AC |
302 | 2004-01-02 Andrew Cagney <cagney@redhat.com> |
303 | ||
304 | From 2003-12-18 Kazuhiro Inaoka: | |
305 | * configure.host: Add m32r-linux target. | |
306 | ||
0bc2134e MC |
307 | 2004-01-02 Michael Chastain <mec.gnu@mindspring.com> |
308 | ||
309 | * top.c (print_gdb_version): Update year to 2004. | |
310 | ||
89a72f9c MM |
311 | 2004-01-02 Mark Mitchell <mark@codesourcery.com> |
312 | ||
313 | * MAINTAINERS: Add myself to the write-after-approval category. | |
314 | ||
86b013ed DJ |
315 | 2004-01-02 Daniel Jacobowitz <drow@mvista.com> |
316 | ||
317 | From Bernardo Innocenti <bernie@develer.com>: | |
318 | * configure.tgt: Add uClinux target. | |
319 | ||
e42c9534 AC |
320 | 2004-01-02 Andrew Cagney <cagney@redhat.com> |
321 | ||
322 | * utils.c (do_my_cleanups): Make static, add forward declaration. | |
323 | * defs.h (do_my_cleanups): Delete declaration. | |
324 | ||
162467d3 EZ |
325 | 2004-01-02 Eli Zaretskii <eliz@elta.co.il> |
326 | ||
327 | * config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and | |
328 | bfd/ChangeLog-0203. | |
329 | ||
78434e59 MK |
330 | 2004-01-02 Mark Kettenis <kettenis@gnu.org> |
331 | ||
332 | * configure.in: Check for <machine/reg.h>. Check for `struct reg' | |
333 | in <machine/reg.h>. | |
334 | * configure, config.in: Regenerate. | |
335 | ||
af1c6d45 | 336 | For older changes see ChangeLog-2003 |
c906108c SS |
337 | \f |
338 | Local Variables: | |
339 | mode: change-log | |
340 | left-margin: 8 | |
341 | fill-column: 74 | |
342 | version-control: never | |
343 | End: |