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