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