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