* sparcnbsd-tdep.c: Include "regset.h".
[binutils-gdb.git] / gdb / ChangeLog
1 2004-01-11 Mark Kettenis <kettenis@gnu.org>
2
3 * sparcnbsd-tdep.c: Include "regset.h".
4 (fetch_core_registers): Remove function.
5 (sparcnbsd_core_fns, sparcnbsd_elfcore_fns): Remove varaibles.
6 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): New
7 functions.
8 (sparc32nbsd_init_abi): Initialize TDEP->gregset and
9 TDEP->fpregset.
10 (_initialize_sparnbsd_tdep): Remove calls to add_core_fns.
11
12 * sparc-tdep.h (struct regset): Provide opaque declaration.
13 (struct gdbarch_tdep): Add gregset, sizeof_gregset,
14 fpregset and sizeof_fpregset members.
15 * sparc-tdep.c (struct regset): Provide opaque declaration.
16 (sparc_regset_from_core_section): New function.
17 (sparc32_gdbarch_init): Initialize TDEP->gregset,
18 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_fpregset.
19 Set regset_from_core_section when appropriate.
20
21 2004-01-10 Mark Kettenis <kettenis@gnu.org>
22
23 * x86-64-tdep.c (amd64_non_pod_p): New function.
24 (amd64_classify_aggregate): Return class memory for non-POD
25 C++ structure types.
26
27 * x86-64-tdep.c (amd64_push_arguments): Add struct_return
28 argument. Use it to reserve a register if necessary.
29 (amd64_push_dummy_call): Pass STRUCT_RETURN in call to
30 amd64_push_arguments.
31
32 * x86-64-tdep.c (amd64_classify_aggregate): Ignore static fields.
33
34 * x86-64-tdep.c (amd64_register_info): Add %cs and %ss. Adjust
35 register numbers in comments.
36 * x86-64-tdep.h: Update copyright year.
37 (X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM):
38 Adjust for addition of %cs and %ss.
39 * amd64fbsd-nat.c: Update copyright year.
40 (reg_offset): Add register offsets for %cs and %ss.
41 * amd64fbsd-tdep.c: Update copyright year.
42 (amd64fbsd_r_reg_offset): Add register offsets for %cs and %ss.
43 (amd64fbsd_sc_reg_offset): Likewise.
44 * x86-64-linux-nat.c: Update copyright year.
45 (x86_64_linux_gregset64_reg_offset): Add register offsets for %cs
46 and %ss.
47 * amd64nbsd-nat.c: Update copyright year.
48 (amd64nbsd32_r_reg_offset): Add register offsets for %cs and %ss.
49 * amd64nbsd-tdep.c: Update copyright year.
50 (amd64nbsd_r_reg_offset): Add register offsets for %cs and %ss.
51 * x86-64-linux-tdep.c: Update copyright year.
52 (user_to_gdb_regmap): Add mapping for %cs and %ss.
53 (x86_64_linux_sc_reg_offset): Adjust for addition of %cs and %ss.
54 * regformats/reg-x86-64.dat: Add %cs and %ss.
55
56 * blockframe.c (inside_entry_func): Reformat. Introduce new local
57 variables to prevent long lines. Update comments to reflect
58 reality.
59
60 2004-01-09 David Carlton <carlton@kealia.com>
61
62 Checked in by Elena Zannoni <ezannoni@redhat.com>.
63 * dwarf2read.c (read_namespace): Pull out name-generating code
64 into namespace_name. Rename previous_namespace to previous_prefix
65 and processing_current_namespace to processing_current_prefix..
66 (namespace_name): New function.
67 (add_partial_symbol): Substitute uses of pdi->name with
68 actual_name.
69 * cp-support.h: Rename processing_current_namespace to
70 processing_current_prefix.
71 Update copyright year.
72 * cp-namespace.c: Rename processing_current_namespace to
73 processing_current_prefix.
74 Update copyright year.
75
76 2004-01-09 Andrew Cagney <cagney@redhat.com>
77
78 * jv-valprint.c, ser-unix.c: Add missing copyright years.
79
80 2004-01-09 Mark Kettenis <kettenis@gnu.org>
81
82 * dbxread.c (read_dbx_symtab): Ignore N_PATCH stabs instead of
83 complaining.
84 (process_one_symbol): Deal with N_PATCH stabs.
85
86 2004-01-09 Elena Zannoni <ezannoni@redhat.com>
87
88 * dwarf2read.c (read_array_type): Discard FORTRAN_HACK macro and
89 ifdeffed code.
90 Update copyright year.
91
92 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
93
94 * config/pa/tm-hppa.h: Update extern declarations for
95 hppa32_hpux_frame_saved_pc_in_sigtramp,
96 hppa32_hpux_frame_base_before_sigtramp, and
97 hppa32_hpux_frame_find_saved_regs_in_sigtramp.
98
99 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
100
101 * config/pa/tm-hppah.h: Update copyright years.
102
103 2004-01-08 Andrew Cagney <cagney@redhat.com>
104
105 * mips-tdep.c (mips_n32n64_reg_struct_has_addr): Delete function.
106 (mips_o32_reg_struct_has_addr): Delete function.
107 (mips_gdbarch_init): Update.
108 (mips_extract_struct_value_address): Delete function.
109
110 2004-01-08 David Mosberger <davidm@hpl.hp.com>
111
112 * ia64-linux-tdep.c: Update GATE_AREA_END value to reflect
113 reality.
114
115 2004-01-07 Andrew Cagney <cagney@redhat.com>
116
117 * mips-tdep.c (mips_gdbarch_init): Set elf_flags to the previous
118 architecture's elf flags (when available).
119
120 * mips-tdep.c (mips_gdbarch_init): Move code determining the MIPS
121 FPU to the start, check the MIPS FPU when looking for an old
122 architecture.
123 (set_mipsfpu_single_command): Update the architecture.
124 (set_mipsfpu_double_command, set_mipsfpu_none_command): Ditto.
125
126 * mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Delete macro.
127 (mips_mask_address_p): Add "tdep" parameter.
128 (show_mask_address, mips_addr_bits_remove): Update.
129 (mips_dump_tdep): Update.
130 (MIPS_DEFAULT_STACK_ARGSIZE): Delete macro.
131 (MIPS_STACK_ARGSIZE): Delete macro.
132 (mips_stack_argsize, mips_eabi_push_dummy_call): Update.
133 (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call): Update.
134 (mips_o64_push_dummy_call, mips_o32_return_value): Update.
135 (mips_dump_tdep): Update.
136 (MIPS_SAVED_REGSIZE): Delete macro.
137 (MIPS_DEFAULT_SAVED_REGSIZE): Delete macro.
138 (mips_saved_regsize, mips_eabi_use_struct_convention): Update.
139 (mips_eabi_reg_struct_has_addr, mips_find_saved_regs): Update.
140 (mips_frame_saved_pc, mips16_heuristic_proc_desc): Update.
141 (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call): Update.
142 (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update.
143 (mips_pop_frame, return_value_location): Update.
144 (mips_n32n64_return_value, mips_dump_tdep): Update.
145
146 * mips-tdep.c (mips_gdbarch_init): Clean up code selecting the
147 MIPS ABI.
148
149 * mips-tdep.c: Update copyright.
150 (mips_gdbarch_init): Merge two code blocks handling the register
151 name and number layout.
152
153 2004-01-02 Pawel Ostrowski <pasza@zodiac.mimuw.edu.pl>
154
155 * tracepoint.c (validate_actionline): Fix segv at EOF
156
157 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
158
159 * hpread.c (hpread_read_struct_type): Call SET_FIELD_PHYSNAME
160 properly for static fields.
161
162 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
163 Jason Molenda <jmolenda@apple.com>
164
165 * disasm.c: Update copyright to include 2004.
166 (do_mixed_source_and_assembly): For uiout asm list
167 and tuple cleanups, initialize to null_cleanup instead of
168 NULL and do so prior to loop. Only reset when we close off
169 the tuple/list. Move check for whether to close off the
170 asm tuple/list to after dump_insns call where it will be run
171 on each loop iteration.
172
173 2004-01-05 Andrew Cagney <cagney@redhat.com>
174
175 * ser-unix.c (ser_unix_async): Fix tipo, "NOTHING_SECHEDULED"
176 should be a switch case and not a label.
177 * mips-tdep.c (mips32_next_pc): Delete unused labels
178 "greater_equal_branch" and "less_zero_branch".
179 * jv-valprint.c (java_print_value_fields): Delete unused label
180 "flush_it".
181
182 * target.c (unpush_target): Only close a target that is in the
183 target stack.
184
185 2004-01-05 Mark Kettenis <kettenis@gnu.org>
186
187 * sparc-tdep.c (sparc_extract_struct_value_address): Get the
188 address from [sp + 64] instead of %o2.
189
190 * frame.c (get_prev_frame): Don't try to unwind the PC. This
191 fixes PR backtrace/1476.
192
193 2004-01-05 Andrew Cagney <cagney@redhat.com>
194
195 * libunwind-frame.h (struct frame_id): Add opaque declaration,
196 move to start of file.
197 * i386-tdep.h (struct regcache): Add opaque declaration.
198 * config/ia64/nm-linux.h (struct target_ops): Add opaque
199 declaration.
200 * ia64-tdep.c (ia64_find_proc_info_x): Do not use __FUNCTION__.
201 (ia64_gdbarch_init): Use "GNU/Linux" in comment.
202 * win32-nat.c (fake_create_process): Use ISO C style definition.
203 * stabsread.c (define_symbol): Delete #ifndef
204 DEPRECATED_USE_REGISTER_NOT_ARG wrapper around
205 stabs_argument_has_addr call, macro never defined.
206
207 2004-01-04 Michael Chastain <mec.gnu@mindspring.com>
208
209 * op50-rom.c: Delete.
210 * w89k-rom.c: Delete.
211 * Makefile.in: Remove references.
212
213 2004-01-04 Mark Kettenis <kettenis@gnu.org>
214
215 * x86-64-tdep.c: Update copyright year.
216 (struct amd64_register_info): Rename from x86_64_register_info.
217 (amd64_register_info): Rename from x86_64_register_info.
218 (AMD64_NUM_REGS): Rename from X86_64_NUM_REGS.
219 (amd64_register_name): Rename from x86_64_register_name.
220 (amd64_register_type): Rename from x86_64_register_type.
221 (amd64_dwarf_regmap): Rename from x86_64_dwarf_regmap.
222 (amd64_dwarf_regmap_len): Rename from x86_64_dwarf_regmap_len.
223 (amd64_dwarf_reg_to_regnum): Rename from
224 x86_64_dwarf_reg_to_regnum.
225 (amd64_convert_register_p): Rename from x86_64_convert_register_p.
226 (amd64_push_dummy_call): Rename from x86_64_push_dummy_call.
227 (AMD64_NUM_SAVED_REGS): Rename from X86_64_NUM_SAVED_REGS.
228 (struct amd64_frame_cache): Renamed from x86_64_frame_cache.
229 (amd64_alloc_frame_cache): Renamed from x86_64_alloc_frame_cache.
230 (amd64_analyze_prologue): Rename from x86_64_analyze_prologue.
231 (amd64_skip_prologue): Rename from x86_64_skip_prologue.
232 (amd64_frame_cache): Rename from x86_64_frame_cache.
233 (amd64_frame_this_id): Rename from x86_64_frame_this_id.
234 (amd64_frame_prev_register): Rename from
235 x86_64_frame_prev_register.
236 (amd64_frame_unwind): Rename from x86_64_frame_unwind.
237 (amd64_frame_sniffer): Rename from x86_64_frame_sniffer.
238 (amd64_sigtramp_frame_cache): Rename from
239 x86_64_sigtramp_frame_cache.
240 (amd64_sigtramp_frame_prev_register): Rename from
241 x86_64_sigtramp_frame_prev_register.
242 (amd64_sigtramp_frame_unwind): Rename from
243 x86_64_sigtramp_frame_unwind.
244 (amd64_sigtramp_frame_sniffer): Rename from
245 x86_64_sigtramp_frame_sniffer.
246 (amd64_frame_base_address): Rename from x86_64_frame_base_address.
247 (amd64_frame_base): Rename from x86_64_frame_base.
248 (amd64_unwind_dummy_id): Rename from x86_64_unwind_dummy_id.
249 (amd64_frame_align): Rename from x86_64_frame_align.
250 (amd64_supply_fpregset): Rename from x86_64_supply_fpregset.
251 (amd64_regset_from_core_section): Rename from
252 x86_64_regset_from_core_section.
253 (x86_64_init_abi): Update comments.
254
255 2004-01-04 Nick Roberts <nick@nick.uklinux.net>
256
257 * MAINTAINERS (write after approval): Add myself.
258
259 2004-01-04 Mark Kettenis <kettenis@gnu.org>
260
261 * sparc64-tdep.c (sparc64_store_arguments): Fix handling of
262 `float' arguments.
263
264 2004-01-04 Mark Kettenis <kettenis@gnu.org>
265
266 * sparc64-tdep.c (sparc64_store_floating_fields): Update comment
267 such that it mentions a specific version of GCC that exhibits this
268 bug.
269
270 2004-01-03 Mark Kettenis <kettenis@gnu.org>
271
272 * sparc64-tdep.c (sparc64_store_floating_fields): If TYPE is a
273 structure that has a single `float' member, store it in %f1 in
274 addition to %f0.
275
276 * sparc-sol2-nat.c: Add missing '\'.
277
278 * sparc-tdep.c (sparc32_return_value): New function.
279 (sparc32_use_struct_convention, sparc32_return_value_on_stack):
280 Remove functions.
281 (sparc32_gdbarch_init): Set return_value, don't set
282 extract_return_value, store_return_value, use_struct_convention
283 and return_value_on_stack.
284
285 * sparc-sol2-nat.c: Add missing ')'.
286
287 2004-01-03 J. Brobecker <brobecker@gnat.com>
288
289 * infrun.c (handle_step_into_function): New function.
290 (handle_inferior_event): Extract out some code into the new
291 function above.
292
293 2004-01-03 J. Brobecker <brobecker@gnat.com>
294
295 * infrun.c (handle_inferior_event): Move the declaration of
296 real_stop_pc inside the if blocks where it is used.
297
298 2004-01-03 Mark Kettenis <kettenis@gnu.org>
299
300 * sparc64-tdep.c (sparc64_16_byte_align_p)
301 (sparc64_store_floating_fields, sparc64_store_floating_fields):
302 Use check_typedef to get subtypes of structures and unions.
303 (sparc64_store_return_value): Fix calculation of the appropriate
304 offset into VALBUF when storing a structure or union.
305 (sparc64_return_value): New function.
306 (sparc64_use_struct_convention): Remove function.
307 (sparc64_init_abi): Set return_value, don't set
308 extract_return_value, store_return_value and
309 use_struct_convention.
310
311 2004-01-03 Eli Zaretskii <eliz@elta.co.il>
312
313 * config/djgpp/fnchange.lst: Add lines for COPYING.LIBGLOSS,
314 bfd/doc/ChangeLog-9103, bfd/elf32-m68hc1x.c,
315 gdb/config/alpha/xm-alphaosf.h,
316 gdb/config/powerpc/tm-ppcle-eabi.h,
317 gdb/config/rs6000/tm-rs6000-aix4.h, gdb/gdbtk/ChangeLog-2001,
318 gdb/gdbtk/ChangeLog-2002, gdb/gdbtk/ChangeLog-2003,
319 gdb/gdbtk/plugins/intel-pentium/intel-pentium.tcl.in,
320 gdb/gdbtk/plugins/rhabout/rhabout.tcl.in, gdb/i386-linux-nat.c,
321 gdb/ia64-aix-nat.c, gdb/ia64-aix-tdep.c, gdb/ia64-linux-nat.c,
322 gdb/ia64-linux-nat.c, gdb/ppc-linux-tdep.c, gdb/ppc-linux-nat.c,
323 gdb/sparc64nbsd-nat.c, gdb/sparc64nbsd-tdep.c,
324 gdb/sparc64-linux-nat.c, gdb/sparc64-linux-tdep.c,
325 gdb/sparc64-nat.c, gdb/sparc64-tdep.c, gdb/sparc64-sol2-tdep.c,
326 gdb/sparc-sol2-nat.c, gdb/sparc-sol2-tdep.c,
327 gdb/testsuite/gdb.gdbtk/, gdb/testsuite/gdb.mi/mi-var-child.exp,
328 nclude/ChangeLog-9103, include/coff/ChangeLog-9103,
329 include/elf/ChangeLog-9103, include/opcode/ChangeLog-9103,
330 opcodes/ChangeLog-0001, opcodes/ChangeLog-0203,
331 opcodes/openrisc-dis.c, opcodes/openrisc-desc.h,
332 sim/frv/profile-fr550.c, sim/frv/profile-fr550.h,
333 sim/sh64/sem-compact-switch.c, sim/sh64/sem-media-switch.c,
334 sim/testsuite/sim/sh64/compact/ldsl-mach.cgs,
335 sim/testsuite/sim/sh64/compact/ldsl-macl.cgs,
336 sim/testsuite/sim/sh64/compact/stsl-mach.cgs, and
337 sim/testsuite/sim/sh64/compact/stsl-macl.cgs.
338 Remove lines for .cvsignore files.
339
340 2004-01-03 J. Brobecker <brobecker@gnat.com>
341
342 * infrun.c: Back out the previous change.
343
344 2004-01-03 Mark Kettenis <kettenis@gnu.org>
345
346 * NEWS: Mention revised SPARC target. Add sparc-*-lynxos* and
347 sparc-*-sunos4* to the list of REMOVED configurations.
348
349 * configure.tgt: Add back sparc-*-vxworks*.
350 * remote-vxsparc.c: Remove all includes except for "defs.h",
351 "regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h".
352 Include "sparc-tdep.h".
353 (SPARC_R_G1): New define.
354 (vxsparc_gregset): New variable.
355 (ext_format_sparc): Remove extern declaration.
356 (vx_read_register): Rewrite to use sparc32_supply_gregset and
357 sparc32_supply_fpregset.
358 (vx_write_register): Rewrite to use sparc32_collect_gregset,
359 sparc_collect_rwindow and sparc32_collect_fpregset.
360 * config/sparc/tm-vxworks.h: New file, based on recently removed
361 tm-vxsparc.h.
362 * config/sparc/vxworks.mt: New file, based on recently removed
363 vxworks.mt.
364
365 2004-01-03 J. Brobecker <brobecker@gnat.com>
366
367 * infrun.c (handle_step_into_function): New function.
368 (handle_inferior_event): Extract out some code into the new
369 function above.
370
371 2004-01-02 Mark Kettenis <kettenis@gnu.org>
372
373 * Makefile.in (ALLDEPFILES): Remove sparc-linux-nat.c and
374 sparcl-tdep.c. Add sparc-linux-tdep.c, sparc-sol2-nat.c,
375 sparc-sol2-tdep.c, sparc-sol2-nat.c, sparc-sol2-tdep.c,
376 sparc64-linux-nat.c, sparc64-linux-tdep.c, sparc64-nat.c,
377 sparc64-sol2-tdep.c, sparc64-tdep.c, sparc64fbsd-nat.c,
378 sparc64fbsd-tdep.c, sparcnbsd-nat.c, sparcnbsd-tdep.c.
379 (sparc_nat_h): New variable.
380 (sparcbsd_nat_h, sparcnbsd_tdep_h): Remove variables.
381 (tm-sun4os4.h): Remove dependency.
382 (sparcbsd-nat.o, sparc-linux-nat.o): Remove dependencies.
383 (sparc64fbsd-nat.o, sparc64fbsd-tdep.o, sparc64nbsd-nat.o,
384 sparc64-tdep.o, sparc-nat.o, sparcnbsd-nat.o, sparcnbsd-tdep.o,
385 sparc-tdep.o): Update dependencies.
386 (sparc-linux-tdep.o, sparc-sol2-nat.o, sparc-sol2-tdep.o,
387 sparc64-linux-nat.o, sparc64-linux-tdep.o, sparc64-nat.o,
388 sparc64-sol2-tdep.o, sparc64-tdep.o, sparc64nbsd-tdep.o): New
389 dependencies.
390 * configure.host: Remove existing sparc-*-lynxos*,
391 sparc-*-solaris*, sparc-*-sunos4*, sparc-*-sunos5*, sparc-*-*,
392 ultrasparc-*-freebsd, sparcv9-*-freebsd, sparc64-*-linux*,
393 sparcv9-*-* and sparc64-*-* triplets. Add new sparc64-*-linux*,
394 sparc-*-solaris2*, sparcv9-*-solaris2* and sparc64-*-solaris2*
395 triplets.
396 * configure.tgt: Remove exitsing sparc-*-aout*, sparc-*-coff*,
397 sparc-*-elf*, sparc*-lynxos*, sparc-*-solars2*, sparc-*-sunos4*,
398 sparc-*-sunos5*, sparc-*-vxworks*, sparc64-*linux*, sparc64-*-*,
399 sparcv9-*-* and commented out sparc64-*-solars2* triplets. Add
400 new sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*,
401 sparc64-*-linux, sparc-*-solaris2*, sparcv9-*-solaris*,
402 sparc64-*-solaris2* and sparc64-*-* triplets.
403 * sparc64-tdep.c: Update copyright year. Include "inferior.h",
404 "symtab.h" and "objfiles.h".
405 (BIAS): Remove define.
406 (X_OP, X_RD, X_A, X_COND, X_OP2, X_IMM22, X_OP3, X_I, X_DISP22)
407 (X_DISP19): Remove macros.
408 (sparc_fetch_instruction): Remove function.
409 (struct gdbarch_tdep): Remove definition.
410 (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use ARRAY_SIZE.
411 (sparc_breakpoint_from_pc): Remove function.
412 (struct sparc64_frame_cache): Remove definition.
413 (sparc64_alloc_frame_cache, sparc64_analyze_prologue,
414 sparc64_unwind_pc): Remove functions.
415 (sparc64_skip_prologue): Use `struct sparc_frame_cache' instead of
416 `struct sparc64_frame_cache. Call sparc_analyze_prologue instead
417 of sparc64_analyze_prologue. Mark constant as ULL instead of UL.
418 (sparc64_frame_cache): Change return type to `struct
419 sparc_frame_cache *'. Simply call sparc_frame_cache.
420 (sparc64_frame_this_id, sparc64_frame_prev_register,
421 sparc64_frame_base_address): Use `struct sparc_frame_cache'
422 instead of `struct sparc64_frame_cache.
423 (sparc_unwind_dummy_id, sparc_extract_struct_value_address,
424 sparc_analyze_control_transfer, sparc_software_single_step,
425 sparc64_gdbarch_init, sparc_supply_rwindow, sparc_fill_rwindow,
426 _initialize_sparc64_tdep): Remove functions.
427 (TSTATE_CWP, TSTATE_ICC, TSTATE_XCC): New macros.
428 (PSR_S, PSR_ICC, PSR_VERS, PSR_IMPL, PSR_V8PLUS, PSR_XCC): New
429 macros.
430 (sparc64_supply_gregset, sparc64_collect_gregset,
431 sparc64_supply_fpregset, sparc64_collect_fpregset): New functions.
432 (sparc64_init_abi): New function.
433 * sparc64-tdep.h: Update copyright year. Fix typo in multiple
434 inclusion guard. Include "sparc-tdep.h".
435 (BIAS): Define.
436 (r_tstate_offset, r_fprs_offset): New defines.
437 (enum sparc_regnum): Remove defenition.
438 (enum sparc64_regnum): Reformat.
439 (sparc_supply_rwindow, sparc_fill_rwindow): Remove prototypes.
440 (sparc64_init_abi, sparc64_supply_gregset,
441 sparc64_collect_gregset, sparc64_supply_fpregset,
442 sparc64_collect_fpregset): New prototypes.
443 (sparc64_sol2_gregset, sparc64nbsd_gregset, sparc64fbsd_gregset):
444 Add extern declarations.
445 (sparc64_sol2_init_abi): New prototype.
446 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
447 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
448 prototypes.
449 * sparc64fbsd-nat.c: Include "sparc-nat.h", don't include
450 "sparnbsd-nat.h".
451 (sparc64fbsd_reg_supplies_p, sparc64fbsd_fpreg_supplies_p): Remove
452 functions.
453 (_initialize_sparc64fbsd_nat): Remove initialization of
454 sparcbsd_supply_reg, sparcbsd_fill_reg, sparcbsd_supply_fpreg,
455 sparcbsd_fill_fpreg, sparcbsd_reg_supplies_p,
456 sparcbsd_fpreg_supplies_p. Initialize sparc_gregset.
457 * sparc64fbsd-tdep.c: Update copyright year. Include "frame.h",
458 "frame-unwind.h", "trad-frame.h" and "gdb_assert.h".
459 (sparc64fbsd_r_global_offset, sparc64fbsd_r_out_offset)
460 (sparc64fbsd_r_fprs_offset, sparc64fbsd_r_tnpc_offset)
461 (sparc64fbsd_r_tpc_offset, sparc64fbsd_r_tstate_offset)
462 (sparc64fbsd_r_y_offset): Remove variables.
463 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
464 Make static and const.
465 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
466 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
467 functions.
468 (sparc64fbsd_gregset): New variable.
469 (fetch_core_registers): Replace calls to sparc64fbsd_supply_reg
470 and sparc64fbsd_supply_fpreg with calls to sparc64_supply_gregset
471 and sparc64_supply_fpregset.
472 (sparc64fbsd_pc_in_sigtramp, sparc64fbsd_sigtramp_frame_cache)
473 (sparc64fbsd_sigtramp_frame_this_id)
474 (sparc64fbsd_sigtramp_frame_prev_register): New functions.
475 (sparc64fbsd_sigtramp_frame_unwind): New variable.
476 (sparc64fbsd_sigtramp_frame_sniffer): New function.
477 (sparc64fbsd_init_abi): Set pc_in_sigtramp, append
478 sparc64fbsd_sigtramp_frame_sniffer. Call sparc64_init_abi.
479 * sparcnbsd-tdep.c: Update copyright year. Include
480 "floatformat.h", "frame.h", "frame-unwind.h", "symtab.h",
481 "trad-frame.h" and "gdb_assert.h", don't include "target.h",
482 "value.h" and "sparcnbsd-tdep.h".
483 (REG32_OFFSET_PSR, REG32_OFFSET_PC, REG32_OFFSET_NPC)
484 (REG32_OFFSET_Y, REG32_OFFSET_GLOBAL, REG32_OFFSET_OUT)
485 (REG64_OFFSET_TSTATE, REG64_OFFSET_PC, REG64_OFFSET_NPC)
486 (REG64_OFFSET_Y, REG64_OFFSET_GLOBAL, REG64_OFFSET_OUT): Remove
487 defines.
488 (sparcnbsd_gregset): New variable.
489 (sparcnbsd_supply_reg32, sparcnbsd_supply_reg64)
490 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64)
491 (sparcnbsd_supply_fpreg32, sparcnbsd_supply_fpreg64)
492 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64): Remove functions.
493 (sparc32nbsd_sigtramp_start, sparc32nbsd_sigtramp_end): New
494 variables.
495 (sparc32nbsd_pc_in_sigtramp, sparc32nbsd_sigcontext_frame_cache)
496 (sparc32nbsd_sigcontext_frame_this_id)
497 (sparc32nbsd_sigcontext_frame_prev_register): New functions.
498 (sparc32nbsd_sigcontext_frame_unwind): New variable.
499 (sparc32nbsd_sigtramp_frame_sniffer): New function.
500 (sparcnbsd_get_longjmp_target_32,
501 sparcnbsd_get_longjmp_target_64): Remove functions.
502 (sparcnbsd_aout_in_solib_call_trampoline): Rewrite.
503 (sparcnbsd_init_abi_common, sparcnbsd_init_aout,
504 sparcnbsd_init_elf): Remove.
505 (sparcnbsd_init_abi, sparcnbsd_aout_init_abi)
506 (sparcnbsd_elf_init_abi): New functions.
507 (_initialize_sparcnbsd_tdep): New prototype.
508 (_initialize_sparnbsd_tdep): Update.
509 * config/sparc/fbsd.mh (NATDEPFILES): Remove sparcbsd-nat.o and
510 corelow.o. Add sparc64-nat.o and sparc-nat.o.
511 * config/sparc/fbsd.mt (TDEPFILES): Add sparc-tdep.o and corelow.o.
512 * config/sparc/linux.mh: Update comment.
513 (XM_FILE, HOST_IPC): Remove variables.
514 (NATDEPFILES): Add sparc-sol2-nat.o and core-regset.o. Remove
515 sparc-linux-nat.o.
516 * config/sparc/linux.mt: Update comment.
517 (TDEPFILES): Add sparc-sol2-tdep.o and sparc-linux-tdep.o.
518 * config/sparc/nbsd.mt: Reformat.
519 * config/sparc/nbsd64.mh: Update comment.
520 (NATDEPFILES): Add sparc-nat.o.
521 * config/sparc/nbsd64.mt: Update comment.
522 (TDEPFILES): Add sparc64-tdep.o and sparc64nbsd-tdep.o.
523 (TM_FILE): Set to tm-nbsd.h.
524 * config/sparc/nbsdelf.mh: Update comment.
525 (NATDEPFILES): Add sparc-nat.o.
526 (XM_FILE): Delete.
527 * config/sparc/nbsdaout.mh: Update comment.
528 (NATDEPFILES): Add sparc-nat.o
529 (XM_FILE): Delete.
530 * config/sparc/nm-linux.h: Update copyright year. Don't include
531 "config/nm-svr4.h" and "solib.h". Add protection against multiple
532 inclusion.
533 (KERNEL_U_SIZE): Remove define.
534 (kernel_u_size): Remove prototype.
535 (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define.
536 * config/sparc/nm-nbsd.h: Update copyright. Don't include
537 "regcache.h".
538 (CHILD_PREPARE_TO_STORE): Remove define.
539 * config/sparc/nm-nbsdaout.h: Tweak some comments.
540 * sparc-nat.c, sparc-tdep.c, sparc-tdep.h, sparc64nbsd-nat.c,
541 sparcnbsd-nat.c: Rewrite files.
542 * config/sparc/tm-linux.h, config/sparc/tm-nbsd.h: Rewrite files.
543 * sparc-linux-nat.c, sparcbsd-nat.c, sparcbsd-nat.h,
544 sparcnbsd-tdep.h: Remove files.
545 * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4os4.h,
546 config/sparc/nm-sun4sol2.h, config/sparc/sp64.mt,
547 config/sparc/sp64linux.mt, config/sparc/sp64sol2.mt,
548 config/sparc/sparc-em.mt, config/sparc/sparclynx.mh,
549 config/sparc/sparclynx.mt, config/sparc/sun4os4.mh,
550 config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh,
551 config/sparc/sun4sol2.mt, config/sparc/tm-sp64.h,
552 config/sparc/tm-sp64linux.h, config/sparc/tm-sparc.h,
553 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
554 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
555 config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt,
556 config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h: Remove files.
557 * sparc-linux-tdep.c, sparc-nat.h, sparc-sol2-nat.c,
558 sparc-sol2-tdep.c, sparc64-linux-nat.c, sparc64-linux-t dep.c,
559 sparc64-nat.c, sparc64-sol2-tdep.c, sparc64nbsd-tdep.c: New files.
560 * config/sparc/linux64.mh, config/sparc/linux64.mt,
561 config/sparc/nm-sol2.h, config/sparc/sol2-64.mt,
562 config/sparc/sol2.mh, config/sparc/sol2.mt, config/sparc/sparc.mt,
563 config/sparc/sparc64.mt, config/sparc/tm-sol2.h: New files.
564
565 2004-01-02 Andrew Cagney <cagney@redhat.com>
566
567 From 2003-12-18 Kazuhiro Inaoka:
568 * configure.host: Add m32r-linux target.
569
570 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
571
572 * top.c (print_gdb_version): Update year to 2004.
573
574 2004-01-02 Mark Mitchell <mark@codesourcery.com>
575
576 * MAINTAINERS: Add myself to the write-after-approval category.
577
578 2004-01-02 Daniel Jacobowitz <drow@mvista.com>
579
580 From Bernardo Innocenti <bernie@develer.com>:
581 * configure.tgt: Add uClinux target.
582
583 2004-01-02 Andrew Cagney <cagney@redhat.com>
584
585 * utils.c (do_my_cleanups): Make static, add forward declaration.
586 * defs.h (do_my_cleanups): Delete declaration.
587
588 2004-01-02 Eli Zaretskii <eliz@elta.co.il>
589
590 * config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and
591 bfd/ChangeLog-0203.
592
593 2004-01-02 Mark Kettenis <kettenis@gnu.org>
594
595 * configure.in: Check for <machine/reg.h>. Check for `struct reg'
596 in <machine/reg.h>.
597 * configure, config.in: Regenerate.
598
599 For older changes see ChangeLog-2003
600 \f
601 Local Variables:
602 mode: change-log
603 left-margin: 8
604 fill-column: 74
605 version-control: never
606 End: