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