3 * breakpoint.c (must_shift_inst_regs): Delete.
4 (bpstat_stop_status): Delete references to DECR_PC_AFTER_HW_BREAK
6 * infcmd.c (step_1, step_1_continuation): Delete references to
8 * infrun.c (keep_going): Likewise.
9 * target.h (DECR_PC_AFTER_HW_BREAK): Don't define.
10 * config/i386/nm-i386.h (DECR_PC_AFTER_HW_BREAK): Likewise.
14 * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
15 * gdbarch.h, gdbarch.c: Re-generate.
16 * infcmd.c (print_return_value): Delete reference to
17 DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS.
19 * cris-tdep.c (cris_gdbarch_init): Do not set
20 deprecated_extract_struct_value_address.
22 * xstormy16-tdep.c: Update copyright.
23 (xstormy16_extract_struct_value_address): Update to current
24 extract struct value address interface.
25 (xstormy16_gdbarch_init): Set extract_struct_value_address.
26 * sh64-tdep.c (sh64_extract_struct_value_address): Update to
27 current extract struct value address interface.
28 (sh64_gdbarch_init): Set extract_struct_value_address.
30 * cris-tdep.c: Update copyright.
31 (cris_extract_struct_value_address): Delete function.
32 (struct_return_address): Delete variable.
33 (cris_store_struct_return): Do not set struct_return_address.
35 * mcore-tdep.c: Update copyright.
36 (mcore_extract_struct_value_address): Delete function. Update
38 (mcore_gdbarch_init): Update.
39 * mn10300-tdep.c: Update copyright.
40 (mn10300_extract_struct_value_address): Delete function.
41 (mn10300_gdbarch_init): Update.
42 * v850-tdep.c: Update copyright.
43 (v850_extract_struct_value_address): Delete.
44 (v850_gdbarch_init): Update.
45 * ns32k-tdep.c: Update copyright.
46 (ns32k_extract_struct_value_address): Delete.
47 (ns32k_gdbarch_init): Update.
48 * hppa-tdep.c (hppa_extract_struct_value_address): Delete.
49 (hppa_gdbarch_init): Update.
50 * vax-tdep.c: Update copyright.
51 (vax_extract_struct_value_address): Delete.
52 (vax_gdbarch_init): Update.
54 * gdbarch.sh (DEPRECATED_NPC_REGNUM): Delete.
55 * gdbarch.h, gdbarch.c: Re-generate.
56 * procfs.c (procfs_fetch_registers): Delete reference to
57 DEPRECATED_NPC_REGNUM.
58 (procfs_store_registers): Ditto.
59 * regcache.c (generic_target_write_pc): Simplify.
60 * lynx-nat.c: Delete #ifdef SPARC code. Not used.
62 * core-sol2.c (fetch_core_registers): Replace
63 DEPRECATED_NPC_REGNUM with equivalent tdep value.
65 * hppa-tdep.c: Update copyright year.
66 (hppa_target_write_pc): Use PCOQ_TAIL_REGNUM instead of
68 (hppa_gdbarch_init): Do not set deprecated_npc_regnum.
70 * mips-tdep.c (mips_write_pc): New function.
71 (mips_gdbarch_init): Set "write_pc" to "mips_write_pc".
72 (mips_read_pc): Use mips_regnum instead of PC_REGNUM.
73 (mips_find_saved_regs, mips_software_single_step: Ditto.
74 (mips_frame_saved_pc, mips_frame_saved_pc): Ditto.
75 mips_init_extra_frame_info, mips_pop_frame): Ditto.
79 * mips-tdep.c: Re-indent. Group functions by ABI.
83 * gdbarch.sh (DECR_PC_AFTER_BREAK): Make zero the default.
84 * gdbarch.c: Re-generate.
85 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
86 DECR_PC_AFTER_BREAK to zero.
87 * vax-tdep.c (vax_gdbarch_init): Ditto.
88 * v850-tdep.c (v850_gdbarch_init): Ditto.
89 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
90 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
91 * sh-tdep.c (sh_gdbarch_init): Ditto.
92 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
93 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
94 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
95 * mips-tdep.c (mips_gdbarch_init): Ditto.
96 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
97 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
98 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
99 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
100 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
101 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
102 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
103 * frv-tdep.c (frv_gdbarch_init): Ditto.
104 * cris-tdep.c (cris_gdbarch_init): Ditto.
105 * avr-tdep.c (avr_gdbarch_init): Ditto.
106 * arm-tdep.c (arm_gdbarch_init): Ditto.
107 * i386-nto-tdep.c (i386nto_init_abi): Add comment.
111 * dwarf2read.c (dwarf2_non_const_array_bound_ignored_complaint):
112 Delete, no longer used.
113 (read_subrange_type): New function, mostly extracted from
115 (read_array_type): Replace extracted code by call to
116 read_subrange_type().
117 (dwarf2_get_attr_constant_value): New function.
118 (scan_partial_symbols): Add handling for DW_TAG_subrange_type.
119 (add_partial_symbol): Likewise.
120 (process_die): Likewise.
121 (new_symbol): Likewise.
122 (read_type_die): Likewise.
126 * symfile.c: Update copyright year.
127 (compare_symbols): Delete unused function.
128 * stabsread.c: Update copyright year.
129 (lrs_general_complaint): Delete unused function.
130 (ref_search_value): Ditto.
131 (get_substring): Delete declaration.
132 * sh64-tdep.c: Update copyright year.
133 (sh64_get_gdb_regnum): Delete unused function.
134 * dwarf2read.c (dwarf2_unsupported_at_frame_base_complaint):
135 Delete unused function.
139 * defs.h (gdb_osabi): Add GDB_OSABI_OPENBSD_ELF.
140 * osabi.c (gdb_osabi_names): Add "OpenBSD ELF".
144 Changes from Peter Schauer.
145 * rs6000-tdep.c: Update copyright year.
146 (rs6000_push_dummy_call): Update the stack pointer before
147 accessing the corresponding stack region.
148 * rs6000-nat.c: Update copyright year.
149 (set_host_arch): Set "info.abfd" to "exec_bfd".
153 * blockframe.c: Update copyright year.
154 (inside_entry_func): Don't treat a zero PC specially.
158 * gcore.c (gcore_copy_callback): Use paddr_d to print size
160 (gcore_create_callback): Ditto. Skip any memory segment that has
165 Change symbols for C++ nested types to contain the fully qualified
166 name, if possible. (At least in the DWARF-2 case.) Partial fix
167 for PR's c++/57, c++/488, c++/539, c++/573, c++/609, c++/832,
169 * c-exp.y (qualified_type): Handle types nested within classes.
170 * cp-namespace.c: Update comments.
171 (cp_set_block_scope): Delete #if 0.
172 (cp_lookup_nested_type): Handle types nested within classes.
173 * dwarf2read.c: (scan_partial_symbols): Call add_partial_structure
175 (add_partial_symbol): Add the name of the enclosing namespace to
177 (pdi_needs_namespace): New.
178 (add_partial_namespace): Tweak comment.
179 (add_partial_structure): New.
180 (psymtab_to_symtab_1): Initialize processing_current_prefix
182 (process_die): instead of here.
183 (read_structure_scope): Try to figure out the name of the class or
184 namespace that the structure might be defined within.
185 (read_enumeration): Generate fully-qualified names, if possible.
186 (read_namespace): Don't set name to NULL.
187 (die_specification): New.
188 (new_symbol): Generate fully-qualified names for types.
189 (read_type_die): Determine appropriate prefix.
190 (determine_prefix): New.
191 (typename_concat): New.
193 * valops.c (value_aggregate_elt): Pass NOSIDE to
194 value_struct_elt_for_reference.
195 (value_struct_elt_for_reference): Make static, add NOSIDE
196 parameter, call value_maybe_namespace_elt as a last resort.
197 (value_namespace_elt): Break out code into
198 value_maybe_namespace_elt.
199 (value_maybe_namespace_elt): New.
203 * mips-tdep.c (mips_convert_register_p): Handle both raw and
204 cooked floating-point registers.
205 (mips_gdbarch_init): Set convert_register_p, register_to_value,
206 and value_to_register.
210 * gdbarch.sh (FUNCTION_START_OFFSET): Make zero the default.
211 * gdbarch.c: Re-generate.
212 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
213 FUNCTION_START_OFFSET.
214 * v850-tdep.c (v850_gdbarch_init): Ditto.
215 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
216 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
217 * sh-tdep.c (sh_gdbarch_init): Ditto.
218 * s390-tdep.c (s390_gdbarch_init): Ditto.
219 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
220 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
221 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
222 * mips-tdep.c (mips_gdbarch_init): Ditto.
223 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
224 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
225 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
226 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
227 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
228 * i386-tdep.c (i386_gdbarch_init): Ditto.
229 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
230 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
231 * frv-tdep.c (frv_gdbarch_init): Ditto.
232 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
233 * cris-tdep.c (cris_gdbarch_init): Ditto.
234 * avr-tdep.c (avr_gdbarch_init): Ditto.
235 * arm-tdep.c (arm_gdbarch_init): Ditto.
236 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
240 * infrun.c (follow_fork_mode_ask): Remove.
241 (follow_fork_mode_kind_names): Remove follow_fork_mode_ask.
242 (follow_fork): Simplify and remove internal error for
243 follow_fork_mode_ask.
244 (_initialize_infrun): Update "set follow-fork-mode" help text.
248 * configure.in: Update copyright year.
249 (build_warnings): Add -Wunused-label.
250 * configure: Re-generate.
254 * exec.h (exec_ops): Make "extern".
256 * mips-tdep.c (mips_pseudo_register_read): Don't return a value,
257 the function is void.
258 (mips_pseudo_register_write): Ditto.
262 * stack.c (frame_info): Delete DEPRECATED_PRINT_EXTRA_FRAME_INFO
264 * sparc-tdep.h (struct frame_info): Add opaque declaration.
265 * sparc64-tdep.h (struct gdbarch): Add opaque declaration.
266 (struct sparc_gregset, struct regcache): Ditto.
267 * sparc-nat.c: Update copyright. Specify "GNU/Linux".
271 * mi/ChangeLog: Delete file. Renamed to ...
272 * mi/ChangeLog-1999-2003: New file.
273 * tui/ChangeLog: Delete file. Renamed to ...
274 * tui/ChangeLog-1998-2003: New file.
278 * sparc64nbsd-tdep.c: Include "regset.h".
279 (sparc64nbsd_sizeof_struct_reg, sparc64nbsd_sizeof_struct_fpreg):
281 (fetch_core_registers): Remove function.
282 (sparc64nbsd_core_fns): Remove variable.
283 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): New
285 (sparc64nbsd_init_abi): Initialize TDEP->gregset,
286 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
287 (_initialize_sparc64nbsd_tdep): Remove call to add_core_fns.
289 * sparc-tdep.c (sparc32_extract_struct_value_address): Rename from
290 sparc_extract_struct_value_address.
291 (sparc32_gdbarch_init): Set extract_struct_value_address.
292 * sparc64-tdep.c (sparc64_extract_struct_value_address): New
294 (sparc64_init_abi): Set extract_struct_value_address. Don't set
295 return_value_on_stack.
297 * NEWS: Mention that %cs and %ss have been added to the AMD64
300 * frame.c: Update copyright year.
301 (get_prev_frame): Improve comment.
303 * sparc64fbsd-tdep.c: Include "regset.h".
304 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
306 (fetch_core_registers): Remove function.
307 (sparc64fbsd_core_fns): Remove variable.
308 (sparc64fbsd_supply_gregset, sparc64fbsd_supply_fpregset): New
310 (sparc64fbsd_init_abi): Initialize TDEP->gregset,
311 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
312 (_initialize_sparc64fbsd_tdep): Remove call to add_core_fns.
314 * sparcnbsd-tdep.c: Include "regset.h".
315 (fetch_core_registers): Remove function.
316 (sparcnbsd_core_fns, sparcnbsd_elfcore_fns): Remove varaibles.
317 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): New
319 (sparc32nbsd_init_abi): Initialize TDEP->gregset and
321 (_initialize_sparcnbsd_tdep): Remove calls to add_core_fns.
323 * sparc-tdep.h (struct regset): Provide opaque declaration.
324 (struct gdbarch_tdep): Add gregset, sizeof_gregset,
325 fpregset and sizeof_fpregset members.
326 * sparc-tdep.c (struct regset): Provide opaque declaration.
327 (sparc_regset_from_core_section): New function.
328 (sparc32_gdbarch_init): Initialize TDEP->gregset,
329 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_fpregset.
330 Set regset_from_core_section when appropriate.
334 * x86-64-tdep.c (amd64_non_pod_p): New function.
335 (amd64_classify_aggregate): Return class memory for non-POD
338 * x86-64-tdep.c (amd64_push_arguments): Add struct_return
339 argument. Use it to reserve a register if necessary.
340 (amd64_push_dummy_call): Pass STRUCT_RETURN in call to
341 amd64_push_arguments.
343 * x86-64-tdep.c (amd64_classify_aggregate): Ignore static fields.
345 * x86-64-tdep.c (amd64_register_info): Add %cs and %ss. Adjust
346 register numbers in comments.
347 * x86-64-tdep.h: Update copyright year.
348 (X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM):
349 Adjust for addition of %cs and %ss.
350 * amd64fbsd-nat.c: Update copyright year.
351 (reg_offset): Add register offsets for %cs and %ss.
352 * amd64fbsd-tdep.c: Update copyright year.
353 (amd64fbsd_r_reg_offset): Add register offsets for %cs and %ss.
354 (amd64fbsd_sc_reg_offset): Likewise.
355 * x86-64-linux-nat.c: Update copyright year.
356 (x86_64_linux_gregset64_reg_offset): Add register offsets for %cs
358 * amd64nbsd-nat.c: Update copyright year.
359 (amd64nbsd32_r_reg_offset): Add register offsets for %cs and %ss.
360 * amd64nbsd-tdep.c: Update copyright year.
361 (amd64nbsd_r_reg_offset): Add register offsets for %cs and %ss.
362 * x86-64-linux-tdep.c: Update copyright year.
363 (user_to_gdb_regmap): Add mapping for %cs and %ss.
364 (x86_64_linux_sc_reg_offset): Adjust for addition of %cs and %ss.
365 * regformats/reg-x86-64.dat: Add %cs and %ss.
367 * blockframe.c (inside_entry_func): Reformat. Introduce new local
368 variables to prevent long lines. Update comments to reflect
374 * dwarf2read.c (read_namespace): Pull out name-generating code
375 into namespace_name. Rename previous_namespace to previous_prefix
376 and processing_current_namespace to processing_current_prefix..
377 (namespace_name): New function.
378 (add_partial_symbol): Substitute uses of pdi->name with
380 * cp-support.h: Rename processing_current_namespace to
381 processing_current_prefix.
382 Update copyright year.
383 * cp-namespace.c: Rename processing_current_namespace to
384 processing_current_prefix.
385 Update copyright year.
389 * jv-valprint.c, ser-unix.c: Add missing copyright years.
393 * dbxread.c (read_dbx_symtab): Ignore N_PATCH stabs instead of
395 (process_one_symbol): Deal with N_PATCH stabs.
399 * dwarf2read.c (read_array_type): Discard FORTRAN_HACK macro and
401 Update copyright year.
405 * config/pa/tm-hppa.h: Update extern declarations for
406 hppa32_hpux_frame_saved_pc_in_sigtramp,
407 hppa32_hpux_frame_base_before_sigtramp, and
408 hppa32_hpux_frame_find_saved_regs_in_sigtramp.
412 * config/pa/tm-hppah.h: Update copyright years.
416 * mips-tdep.c (mips_n32n64_reg_struct_has_addr): Delete function.
417 (mips_o32_reg_struct_has_addr): Delete function.
418 (mips_gdbarch_init): Update.
419 (mips_extract_struct_value_address): Delete function.
423 * ia64-linux-tdep.c: Update GATE_AREA_END value to reflect
428 * mips-tdep.c (mips_gdbarch_init): Set elf_flags to the previous
429 architecture's elf flags (when available).
431 * mips-tdep.c (mips_gdbarch_init): Move code determining the MIPS
432 FPU to the start, check the MIPS FPU when looking for an old
434 (set_mipsfpu_single_command): Update the architecture.
435 (set_mipsfpu_double_command, set_mipsfpu_none_command): Ditto.
437 * mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Delete macro.
438 (mips_mask_address_p): Add "tdep" parameter.
439 (show_mask_address, mips_addr_bits_remove): Update.
440 (mips_dump_tdep): Update.
441 (MIPS_DEFAULT_STACK_ARGSIZE): Delete macro.
442 (MIPS_STACK_ARGSIZE): Delete macro.
443 (mips_stack_argsize, mips_eabi_push_dummy_call): Update.
444 (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call): Update.
445 (mips_o64_push_dummy_call, mips_o32_return_value): Update.
446 (mips_dump_tdep): Update.
447 (MIPS_SAVED_REGSIZE): Delete macro.
448 (MIPS_DEFAULT_SAVED_REGSIZE): Delete macro.
449 (mips_saved_regsize, mips_eabi_use_struct_convention): Update.
450 (mips_eabi_reg_struct_has_addr, mips_find_saved_regs): Update.
451 (mips_frame_saved_pc, mips16_heuristic_proc_desc): Update.
452 (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call): Update.
453 (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update.
454 (mips_pop_frame, return_value_location): Update.
455 (mips_n32n64_return_value, mips_dump_tdep): Update.
457 * mips-tdep.c (mips_gdbarch_init): Clean up code selecting the
460 * mips-tdep.c: Update copyright.
461 (mips_gdbarch_init): Merge two code blocks handling the register
462 name and number layout.
466 * tracepoint.c (validate_actionline): Fix segv at EOF
470 * hpread.c (hpread_read_struct_type): Call SET_FIELD_PHYSNAME
471 properly for static fields.
476 * disasm.c: Update copyright to include 2004.
477 (do_mixed_source_and_assembly): For uiout asm list
478 and tuple cleanups, initialize to null_cleanup instead of
479 NULL and do so prior to loop. Only reset when we close off
480 the tuple/list. Move check for whether to close off the
481 asm tuple/list to after dump_insns call where it will be run
482 on each loop iteration.
486 * ser-unix.c (ser_unix_async): Fix tipo, "NOTHING_SECHEDULED"
487 should be a switch case and not a label.
488 * mips-tdep.c (mips32_next_pc): Delete unused labels
489 "greater_equal_branch" and "less_zero_branch".
490 * jv-valprint.c (java_print_value_fields): Delete unused label
493 * target.c (unpush_target): Only close a target that is in the
498 * sparc-tdep.c (sparc_extract_struct_value_address): Get the
499 address from [sp + 64] instead of %o2.
501 * frame.c (get_prev_frame): Don't try to unwind the PC. This
502 fixes PR backtrace/1476.
506 * libunwind-frame.h (struct frame_id): Add opaque declaration,
507 move to start of file.
508 * i386-tdep.h (struct regcache): Add opaque declaration.
509 * config/ia64/nm-linux.h (struct target_ops): Add opaque
511 * ia64-tdep.c (ia64_find_proc_info_x): Do not use __FUNCTION__.
512 (ia64_gdbarch_init): Use "GNU/Linux" in comment.
513 * win32-nat.c (fake_create_process): Use ISO C style definition.
514 * stabsread.c (define_symbol): Delete #ifndef
515 DEPRECATED_USE_REGISTER_NOT_ARG wrapper around
516 stabs_argument_has_addr call, macro never defined.
520 * op50-rom.c: Delete.
521 * w89k-rom.c: Delete.
522 * Makefile.in: Remove references.
526 * x86-64-tdep.c: Update copyright year.
527 (struct amd64_register_info): Rename from x86_64_register_info.
528 (amd64_register_info): Rename from x86_64_register_info.
529 (AMD64_NUM_REGS): Rename from X86_64_NUM_REGS.
530 (amd64_register_name): Rename from x86_64_register_name.
531 (amd64_register_type): Rename from x86_64_register_type.
532 (amd64_dwarf_regmap): Rename from x86_64_dwarf_regmap.
533 (amd64_dwarf_regmap_len): Rename from x86_64_dwarf_regmap_len.
534 (amd64_dwarf_reg_to_regnum): Rename from
535 x86_64_dwarf_reg_to_regnum.
536 (amd64_convert_register_p): Rename from x86_64_convert_register_p.
537 (amd64_push_dummy_call): Rename from x86_64_push_dummy_call.
538 (AMD64_NUM_SAVED_REGS): Rename from X86_64_NUM_SAVED_REGS.
539 (struct amd64_frame_cache): Renamed from x86_64_frame_cache.
540 (amd64_alloc_frame_cache): Renamed from x86_64_alloc_frame_cache.
541 (amd64_analyze_prologue): Rename from x86_64_analyze_prologue.
542 (amd64_skip_prologue): Rename from x86_64_skip_prologue.
543 (amd64_frame_cache): Rename from x86_64_frame_cache.
544 (amd64_frame_this_id): Rename from x86_64_frame_this_id.
545 (amd64_frame_prev_register): Rename from
546 x86_64_frame_prev_register.
547 (amd64_frame_unwind): Rename from x86_64_frame_unwind.
548 (amd64_frame_sniffer): Rename from x86_64_frame_sniffer.
549 (amd64_sigtramp_frame_cache): Rename from
550 x86_64_sigtramp_frame_cache.
551 (amd64_sigtramp_frame_prev_register): Rename from
552 x86_64_sigtramp_frame_prev_register.
553 (amd64_sigtramp_frame_unwind): Rename from
554 x86_64_sigtramp_frame_unwind.
555 (amd64_sigtramp_frame_sniffer): Rename from
556 x86_64_sigtramp_frame_sniffer.
557 (amd64_frame_base_address): Rename from x86_64_frame_base_address.
558 (amd64_frame_base): Rename from x86_64_frame_base.
559 (amd64_unwind_dummy_id): Rename from x86_64_unwind_dummy_id.
560 (amd64_frame_align): Rename from x86_64_frame_align.
561 (amd64_supply_fpregset): Rename from x86_64_supply_fpregset.
562 (amd64_regset_from_core_section): Rename from
563 x86_64_regset_from_core_section.
564 (x86_64_init_abi): Update comments.
568 * MAINTAINERS (write after approval): Add myself.
572 * sparc64-tdep.c (sparc64_store_arguments): Fix handling of
577 * sparc64-tdep.c (sparc64_store_floating_fields): Update comment
578 such that it mentions a specific version of GCC that exhibits this
583 * sparc64-tdep.c (sparc64_store_floating_fields): If TYPE is a
584 structure that has a single `float' member, store it in %f1 in
587 * sparc-sol2-nat.c: Add missing '\'.
589 * sparc-tdep.c (sparc32_return_value): New function.
590 (sparc32_use_struct_convention, sparc32_return_value_on_stack):
592 (sparc32_gdbarch_init): Set return_value, don't set
593 extract_return_value, store_return_value, use_struct_convention
594 and return_value_on_stack.
596 * sparc-sol2-nat.c: Add missing ')'.
600 * infrun.c (handle_step_into_function): New function.
601 (handle_inferior_event): Extract out some code into the new
606 * infrun.c (handle_inferior_event): Move the declaration of
607 real_stop_pc inside the if blocks where it is used.
611 * sparc64-tdep.c (sparc64_16_byte_align_p)
612 (sparc64_store_floating_fields, sparc64_store_floating_fields):
613 Use check_typedef to get subtypes of structures and unions.
614 (sparc64_store_return_value): Fix calculation of the appropriate
615 offset into VALBUF when storing a structure or union.
616 (sparc64_return_value): New function.
617 (sparc64_use_struct_convention): Remove function.
618 (sparc64_init_abi): Set return_value, don't set
619 extract_return_value, store_return_value and
620 use_struct_convention.
624 * config/djgpp/fnchange.lst: Add lines for COPYING.LIBGLOSS,
625 bfd/doc/ChangeLog-9103, bfd/elf32-m68hc1x.c,
626 gdb/config/alpha/xm-alphaosf.h,
627 gdb/config/powerpc/tm-ppcle-eabi.h,
628 gdb/config/rs6000/tm-rs6000-aix4.h, gdb/gdbtk/ChangeLog-2001,
629 gdb/gdbtk/ChangeLog-2002, gdb/gdbtk/ChangeLog-2003,
630 gdb/gdbtk/plugins/intel-pentium/intel-pentium.tcl.in,
631 gdb/gdbtk/plugins/rhabout/rhabout.tcl.in, gdb/i386-linux-nat.c,
632 gdb/ia64-aix-nat.c, gdb/ia64-aix-tdep.c, gdb/ia64-linux-nat.c,
633 gdb/ia64-linux-nat.c, gdb/ppc-linux-tdep.c, gdb/ppc-linux-nat.c,
634 gdb/sparc64nbsd-nat.c, gdb/sparc64nbsd-tdep.c,
635 gdb/sparc64-linux-nat.c, gdb/sparc64-linux-tdep.c,
636 gdb/sparc64-nat.c, gdb/sparc64-tdep.c, gdb/sparc64-sol2-tdep.c,
637 gdb/sparc-sol2-nat.c, gdb/sparc-sol2-tdep.c,
638 gdb/testsuite/gdb.gdbtk/, gdb/testsuite/gdb.mi/mi-var-child.exp,
639 nclude/ChangeLog-9103, include/coff/ChangeLog-9103,
640 include/elf/ChangeLog-9103, include/opcode/ChangeLog-9103,
641 opcodes/ChangeLog-0001, opcodes/ChangeLog-0203,
642 opcodes/openrisc-dis.c, opcodes/openrisc-desc.h,
643 sim/frv/profile-fr550.c, sim/frv/profile-fr550.h,
644 sim/sh64/sem-compact-switch.c, sim/sh64/sem-media-switch.c,
645 sim/testsuite/sim/sh64/compact/ldsl-mach.cgs,
646 sim/testsuite/sim/sh64/compact/ldsl-macl.cgs,
647 sim/testsuite/sim/sh64/compact/stsl-mach.cgs, and
648 sim/testsuite/sim/sh64/compact/stsl-macl.cgs.
649 Remove lines for .cvsignore files.
653 * infrun.c: Back out the previous change.
657 * NEWS: Mention revised SPARC target. Add sparc-*-lynxos* and
658 sparc-*-sunos4* to the list of REMOVED configurations.
660 * configure.tgt: Add back sparc-*-vxworks*.
661 * remote-vxsparc.c: Remove all includes except for "defs.h",
662 "regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h".
663 Include "sparc-tdep.h".
664 (SPARC_R_G1): New define.
665 (vxsparc_gregset): New variable.
666 (ext_format_sparc): Remove extern declaration.
667 (vx_read_register): Rewrite to use sparc32_supply_gregset and
668 sparc32_supply_fpregset.
669 (vx_write_register): Rewrite to use sparc32_collect_gregset,
670 sparc_collect_rwindow and sparc32_collect_fpregset.
671 * config/sparc/tm-vxworks.h: New file, based on recently removed
673 * config/sparc/vxworks.mt: New file, based on recently removed
678 * infrun.c (handle_step_into_function): New function.
679 (handle_inferior_event): Extract out some code into the new
684 * Makefile.in (ALLDEPFILES): Remove sparc-linux-nat.c and
685 sparcl-tdep.c. Add sparc-linux-tdep.c, sparc-sol2-nat.c,
686 sparc-sol2-tdep.c, sparc-sol2-nat.c, sparc-sol2-tdep.c,
687 sparc64-linux-nat.c, sparc64-linux-tdep.c, sparc64-nat.c,
688 sparc64-sol2-tdep.c, sparc64-tdep.c, sparc64fbsd-nat.c,
689 sparc64fbsd-tdep.c, sparcnbsd-nat.c, sparcnbsd-tdep.c.
690 (sparc_nat_h): New variable.
691 (sparcbsd_nat_h, sparcnbsd_tdep_h): Remove variables.
692 (tm-sun4os4.h): Remove dependency.
693 (sparcbsd-nat.o, sparc-linux-nat.o): Remove dependencies.
694 (sparc64fbsd-nat.o, sparc64fbsd-tdep.o, sparc64nbsd-nat.o,
695 sparc64-tdep.o, sparc-nat.o, sparcnbsd-nat.o, sparcnbsd-tdep.o,
696 sparc-tdep.o): Update dependencies.
697 (sparc-linux-tdep.o, sparc-sol2-nat.o, sparc-sol2-tdep.o,
698 sparc64-linux-nat.o, sparc64-linux-tdep.o, sparc64-nat.o,
699 sparc64-sol2-tdep.o, sparc64-tdep.o, sparc64nbsd-tdep.o): New
701 * configure.host: Remove existing sparc-*-lynxos*,
702 sparc-*-solaris*, sparc-*-sunos4*, sparc-*-sunos5*, sparc-*-*,
703 ultrasparc-*-freebsd, sparcv9-*-freebsd, sparc64-*-linux*,
704 sparcv9-*-* and sparc64-*-* triplets. Add new sparc64-*-linux*,
705 sparc-*-solaris2*, sparcv9-*-solaris2* and sparc64-*-solaris2*
707 * configure.tgt: Remove exitsing sparc-*-aout*, sparc-*-coff*,
708 sparc-*-elf*, sparc*-lynxos*, sparc-*-solars2*, sparc-*-sunos4*,
709 sparc-*-sunos5*, sparc-*-vxworks*, sparc64-*linux*, sparc64-*-*,
710 sparcv9-*-* and commented out sparc64-*-solars2* triplets. Add
711 new sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*,
712 sparc64-*-linux, sparc-*-solaris2*, sparcv9-*-solaris*,
713 sparc64-*-solaris2* and sparc64-*-* triplets.
714 * sparc64-tdep.c: Update copyright year. Include "inferior.h",
715 "symtab.h" and "objfiles.h".
716 (BIAS): Remove define.
717 (X_OP, X_RD, X_A, X_COND, X_OP2, X_IMM22, X_OP3, X_I, X_DISP22)
718 (X_DISP19): Remove macros.
719 (sparc_fetch_instruction): Remove function.
720 (struct gdbarch_tdep): Remove definition.
721 (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use ARRAY_SIZE.
722 (sparc_breakpoint_from_pc): Remove function.
723 (struct sparc64_frame_cache): Remove definition.
724 (sparc64_alloc_frame_cache, sparc64_analyze_prologue,
725 sparc64_unwind_pc): Remove functions.
726 (sparc64_skip_prologue): Use `struct sparc_frame_cache' instead of
727 `struct sparc64_frame_cache. Call sparc_analyze_prologue instead
728 of sparc64_analyze_prologue. Mark constant as ULL instead of UL.
729 (sparc64_frame_cache): Change return type to `struct
730 sparc_frame_cache *'. Simply call sparc_frame_cache.
731 (sparc64_frame_this_id, sparc64_frame_prev_register,
732 sparc64_frame_base_address): Use `struct sparc_frame_cache'
733 instead of `struct sparc64_frame_cache.
734 (sparc_unwind_dummy_id, sparc_extract_struct_value_address,
735 sparc_analyze_control_transfer, sparc_software_single_step,
736 sparc64_gdbarch_init, sparc_supply_rwindow, sparc_fill_rwindow,
737 _initialize_sparc64_tdep): Remove functions.
738 (TSTATE_CWP, TSTATE_ICC, TSTATE_XCC): New macros.
739 (PSR_S, PSR_ICC, PSR_VERS, PSR_IMPL, PSR_V8PLUS, PSR_XCC): New
741 (sparc64_supply_gregset, sparc64_collect_gregset,
742 sparc64_supply_fpregset, sparc64_collect_fpregset): New functions.
743 (sparc64_init_abi): New function.
744 * sparc64-tdep.h: Update copyright year. Fix typo in multiple
745 inclusion guard. Include "sparc-tdep.h".
747 (r_tstate_offset, r_fprs_offset): New defines.
748 (enum sparc_regnum): Remove defenition.
749 (enum sparc64_regnum): Reformat.
750 (sparc_supply_rwindow, sparc_fill_rwindow): Remove prototypes.
751 (sparc64_init_abi, sparc64_supply_gregset,
752 sparc64_collect_gregset, sparc64_supply_fpregset,
753 sparc64_collect_fpregset): New prototypes.
754 (sparc64_sol2_gregset, sparc64nbsd_gregset, sparc64fbsd_gregset):
755 Add extern declarations.
756 (sparc64_sol2_init_abi): New prototype.
757 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
758 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
760 * sparc64fbsd-nat.c: Include "sparc-nat.h", don't include
762 (sparc64fbsd_reg_supplies_p, sparc64fbsd_fpreg_supplies_p): Remove
764 (_initialize_sparc64fbsd_nat): Remove initialization of
765 sparcbsd_supply_reg, sparcbsd_fill_reg, sparcbsd_supply_fpreg,
766 sparcbsd_fill_fpreg, sparcbsd_reg_supplies_p,
767 sparcbsd_fpreg_supplies_p. Initialize sparc_gregset.
768 * sparc64fbsd-tdep.c: Update copyright year. Include "frame.h",
769 "frame-unwind.h", "trad-frame.h" and "gdb_assert.h".
770 (sparc64fbsd_r_global_offset, sparc64fbsd_r_out_offset)
771 (sparc64fbsd_r_fprs_offset, sparc64fbsd_r_tnpc_offset)
772 (sparc64fbsd_r_tpc_offset, sparc64fbsd_r_tstate_offset)
773 (sparc64fbsd_r_y_offset): Remove variables.
774 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
775 Make static and const.
776 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
777 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
779 (sparc64fbsd_gregset): New variable.
780 (fetch_core_registers): Replace calls to sparc64fbsd_supply_reg
781 and sparc64fbsd_supply_fpreg with calls to sparc64_supply_gregset
782 and sparc64_supply_fpregset.
783 (sparc64fbsd_pc_in_sigtramp, sparc64fbsd_sigtramp_frame_cache)
784 (sparc64fbsd_sigtramp_frame_this_id)
785 (sparc64fbsd_sigtramp_frame_prev_register): New functions.
786 (sparc64fbsd_sigtramp_frame_unwind): New variable.
787 (sparc64fbsd_sigtramp_frame_sniffer): New function.
788 (sparc64fbsd_init_abi): Set pc_in_sigtramp, append
789 sparc64fbsd_sigtramp_frame_sniffer. Call sparc64_init_abi.
790 * sparcnbsd-tdep.c: Update copyright year. Include
791 "floatformat.h", "frame.h", "frame-unwind.h", "symtab.h",
792 "trad-frame.h" and "gdb_assert.h", don't include "target.h",
793 "value.h" and "sparcnbsd-tdep.h".
794 (REG32_OFFSET_PSR, REG32_OFFSET_PC, REG32_OFFSET_NPC)
795 (REG32_OFFSET_Y, REG32_OFFSET_GLOBAL, REG32_OFFSET_OUT)
796 (REG64_OFFSET_TSTATE, REG64_OFFSET_PC, REG64_OFFSET_NPC)
797 (REG64_OFFSET_Y, REG64_OFFSET_GLOBAL, REG64_OFFSET_OUT): Remove
799 (sparcnbsd_gregset): New variable.
800 (sparcnbsd_supply_reg32, sparcnbsd_supply_reg64)
801 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64)
802 (sparcnbsd_supply_fpreg32, sparcnbsd_supply_fpreg64)
803 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64): Remove functions.
804 (sparc32nbsd_sigtramp_start, sparc32nbsd_sigtramp_end): New
806 (sparc32nbsd_pc_in_sigtramp, sparc32nbsd_sigcontext_frame_cache)
807 (sparc32nbsd_sigcontext_frame_this_id)
808 (sparc32nbsd_sigcontext_frame_prev_register): New functions.
809 (sparc32nbsd_sigcontext_frame_unwind): New variable.
810 (sparc32nbsd_sigtramp_frame_sniffer): New function.
811 (sparcnbsd_get_longjmp_target_32,
812 sparcnbsd_get_longjmp_target_64): Remove functions.
813 (sparcnbsd_aout_in_solib_call_trampoline): Rewrite.
814 (sparcnbsd_init_abi_common, sparcnbsd_init_aout,
815 sparcnbsd_init_elf): Remove.
816 (sparcnbsd_init_abi, sparcnbsd_aout_init_abi)
817 (sparcnbsd_elf_init_abi): New functions.
818 (_initialize_sparcnbsd_tdep): New prototype.
819 (_initialize_sparnbsd_tdep): Update.
820 * config/sparc/fbsd.mh (NATDEPFILES): Remove sparcbsd-nat.o and
821 corelow.o. Add sparc64-nat.o and sparc-nat.o.
822 * config/sparc/fbsd.mt (TDEPFILES): Add sparc-tdep.o and corelow.o.
823 * config/sparc/linux.mh: Update comment.
824 (XM_FILE, HOST_IPC): Remove variables.
825 (NATDEPFILES): Add sparc-sol2-nat.o and core-regset.o. Remove
827 * config/sparc/linux.mt: Update comment.
828 (TDEPFILES): Add sparc-sol2-tdep.o and sparc-linux-tdep.o.
829 * config/sparc/nbsd.mt: Reformat.
830 * config/sparc/nbsd64.mh: Update comment.
831 (NATDEPFILES): Add sparc-nat.o.
832 * config/sparc/nbsd64.mt: Update comment.
833 (TDEPFILES): Add sparc64-tdep.o and sparc64nbsd-tdep.o.
834 (TM_FILE): Set to tm-nbsd.h.
835 * config/sparc/nbsdelf.mh: Update comment.
836 (NATDEPFILES): Add sparc-nat.o.
838 * config/sparc/nbsdaout.mh: Update comment.
839 (NATDEPFILES): Add sparc-nat.o
841 * config/sparc/nm-linux.h: Update copyright year. Don't include
842 "config/nm-svr4.h" and "solib.h". Add protection against multiple
844 (KERNEL_U_SIZE): Remove define.
845 (kernel_u_size): Remove prototype.
846 (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define.
847 * config/sparc/nm-nbsd.h: Update copyright. Don't include
849 (CHILD_PREPARE_TO_STORE): Remove define.
850 * config/sparc/nm-nbsdaout.h: Tweak some comments.
851 * sparc-nat.c, sparc-tdep.c, sparc-tdep.h, sparc64nbsd-nat.c,
852 sparcnbsd-nat.c: Rewrite files.
853 * config/sparc/tm-linux.h, config/sparc/tm-nbsd.h: Rewrite files.
854 * sparc-linux-nat.c, sparcbsd-nat.c, sparcbsd-nat.h,
855 sparcnbsd-tdep.h: Remove files.
856 * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4os4.h,
857 config/sparc/nm-sun4sol2.h, config/sparc/sp64.mt,
858 config/sparc/sp64linux.mt, config/sparc/sp64sol2.mt,
859 config/sparc/sparc-em.mt, config/sparc/sparclynx.mh,
860 config/sparc/sparclynx.mt, config/sparc/sun4os4.mh,
861 config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh,
862 config/sparc/sun4sol2.mt, config/sparc/tm-sp64.h,
863 config/sparc/tm-sp64linux.h, config/sparc/tm-sparc.h,
864 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
865 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
866 config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt,
867 config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h: Remove files.
868 * sparc-linux-tdep.c, sparc-nat.h, sparc-sol2-nat.c,
869 sparc-sol2-tdep.c, sparc64-linux-nat.c, sparc64-linux-t dep.c,
870 sparc64-nat.c, sparc64-sol2-tdep.c, sparc64nbsd-tdep.c: New files.
871 * config/sparc/linux64.mh, config/sparc/linux64.mt,
872 config/sparc/nm-sol2.h, config/sparc/sol2-64.mt,
873 config/sparc/sol2.mh, config/sparc/sol2.mt, config/sparc/sparc.mt,
874 config/sparc/sparc64.mt, config/sparc/tm-sol2.h: New files.
878 From 2003-12-18 Kazuhiro Inaoka:
879 * configure.host: Add m32r-linux target.
883 * top.c (print_gdb_version): Update year to 2004.
887 * MAINTAINERS: Add myself to the write-after-approval category.
892 * configure.tgt: Add uClinux target.
896 * utils.c (do_my_cleanups): Make static, add forward declaration.
897 * defs.h (do_my_cleanups): Delete declaration.
901 * config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and
906 * configure.in: Check for <machine/reg.h>. Check for `struct reg'
908 * configure, config.in: Regenerate.
910 For older changes see ChangeLog-2003, mi/ChangeLog-1999-2003, and
911 tui/ChangeLog-1998-2003.
917 version-control: never