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