2004-01-27 Michael Chastain <mec.gnu@mindspring.com>
[binutils-gdb.git] / gdb / ChangeLog
1 2004-01-27 Michael Chastain <mec.gnu@mindspring.com>
2
3 * PROBLEMS: add gdb/1516.
4
5 2003-12-29 Robert Millan <robertmh@gnu.org>
6
7 Patch committed by Andrw Cagney.
8 * configure.host: Match knetbsd*-gnu and kfreebsd*-gnu.
9 * configure.tgt: Match knetbsd*-gnu.
10
11 2004-01-26 Andrew Cagney <cagney@redhat.com>
12
13 * breakpoint.c (catch_command_1): Delete #ifdef code.
14 (catch_fork_command_1): Delete #ifdef wrapper.
15 (catch_exec_command_1): Ditto.
16 (catch_load_command_1): Ditto.
17 (catch_unload_command_1): Ditto.
18
19 * breakpoint.c (watchpoint_check): Delete #if0ed variable.
20 (catch_breakpoint): Delete #if0ed function.
21 (disable_catch_breakpoint): Ditto.
22 (delete_catch_breakpoint, enable_catch_breakpoint): Ditto.
23 (disable_catch, enable_catch, delete_catch): Ditto.
24
25 2004-01-26 Andrew Cagney <cagney@redhat.com>
26
27 * remote.c (echo_check, quit_flag): Delete variables.
28 (cisco_kernel_mode): Delete variable.
29 (minitelnet_return, tty_input, escape_count): Delete variables.
30 (remote_cisco_mode): Delete variable.
31 (remote_cisco_open, remote_cisco_close): Delete function.
32 (remote_cisco_mourn, remote_cisco_wait): Delete function.
33 (init_remote_cisco_ops): Delete function.
34 (_initialize_remote): Do not install "remote cisco" code.
35 (read_frame): Delete cisco specific code.
36 (remote_info_process): Delete function.
37 (remote_wait): Delete cisco specific code.
38 (remote_cisco_section_offsets): Delete function.
39 (remote_cisco_objfile_relocate): Delete function.
40 (remote_async_wait): Delete cisco specific code.
41 (minitelnet, readtty, readsocket): Delete function.
42
43 2004-01-26 Andrew Cagney <cagney@redhat.com>
44
45 * gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS): Deprecate. Add
46 comments mentioning extract_returned_value_address.
47 * infcmd.c (print_return_value): Update. Add comments on
48 extract_returned_value_address.
49 * stack.c (return_command): Add comments on
50 extract_returned_value_address.
51 * values.c: Update comment.
52 * m32r-tdep.c: Update comment.
53 * sparc-tdep.c: Update comment.
54 * ia64-tdep.c (ia64_use_struct_convention): Update comment.
55 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
56 * sh64-tdep.c (sh64_gdbarch_init): Update.
57 * sh-tdep.c (sh_gdbarch_init): Update.
58 * s390-tdep.c (s390_gdbarch_init): Update.
59 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
60 * m68klinux-tdep.c (m68k_linux_init_abi): Update.
61 * m68k-tdep.c (m68k_gdbarch_init): Update.
62 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
63 * m32r-tdep.c (m32r_gdbarch_init): Update.
64 * ia64-tdep.c (ia64_gdbarch_init): Update.
65 * h8300-tdep.c (h8300_gdbarch_init): Update.
66 * frv-tdep.c (frv_gdbarch_init): Update.
67 * arm-tdep.c (arm_gdbarch_init): Update.
68 * alpha-tdep.c (alpha_gdbarch_init): Update.
69
70 2004-01-26 Andrew Cagney <cagney@redhat.com>
71
72 * dwarf2loc.c (dwarf_expr_frame_base): Use SYMBOL_OPS instead of
73 SYMBOL_LOCATION_FUNCS
74 (dwarf2_loclist_funcs, dwarf2_locexpr_funcs): Change type to
75 "struct symbol_ops".
76 * dwarf2loc.h (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Change
77 type to "struct symbol_ops".
78 * symtab.h (struct symbol_ops): Rename "struct location_funcs".
79 (struct symbol): Replace ".aux_value.loc.funcs" and
80 ".aux_value.loc.baton" with ".ops" and ".aux_value.ptr".
81 (SYMBOL_OBJFILE): Delete macro.
82 (SYMBOL_LOCATION_FUNCS): Delete macro.
83 (SYMBOL_LOCATION_BATON): Update.
84 * dwarf2read.c (dwarf2_symbol_mark_computed): Set SYMBOL_OPS
85 intead of SYMBOL_LOCATION_FUNCS.
86 * ax-gdb.c (gen_var_ref): Ditto.
87 * printcmd.c (address_info): Ditto.
88 * findvar.c (read_var_value): Ditto.
89 (symbol_read_needs_frame): Ditto.
90
91 2004-01-26 Andrew Cagney <cagney@redhat.com>
92
93 * dwarf2read.c (read_func_scope): Document frame-base hack.
94
95 2004-01-25 Mark Kettenis <kettenis@gnu.org>
96
97 * infcmd.c (print_return_value): Plug memory leak; delete
98 ui_stream object. Rename argument `structure_return' to
99 `struct_return'.
100
101 2004-01-25 Mark Kettenis <kettenis@gnu.org>
102
103 * infcmd.c (print_return_value): Wrap long lines.
104 (finish_command_continuation, finish_command): Remove unused
105 variable `funcaddr'. Fix some coding-standards problems.
106
107 * sparc-tdep.c (sparc_regset_from_core_section): Check whether
108 SECT_SIZE is large enough, not wheter it's exactly the right size.
109 (sparc32_gdbarch_init): Initialize TDEP->sizeof_gregset and
110 TDEP->fpregset to zero.
111
112 * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Also supply the
113 floating-point registers for traditional NetBSD core files.
114 (sparc32nbsd_init_abi): Initialize TDEP->sizeof_gregset and
115 TDEP->sizeof_fpregset here.
116
117 2004-01-25 Mark Kettenis <kettenis@gnu.org>
118
119 * sparc-tdep.h (sparc32nbsd_sigcontext_saved_regs): New prototype.
120 * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): New
121 function with code split out from
122 sparc32nbsd_sigcontext_frame_cache.
123 (sparc32nbsd_sigcontext_frame_cache): Use
124 sparc32nbsd_sigcontext_saved_regs.
125 (_initialize_sparc32nbsd_tdep): Don't register OS ABI handler for
126 OpenBSD.
127 * sparcobsd-tdep.c: New file.
128 * Makefile.in (ALLDEPFILES): Add sparcobsd-tdep.c.
129 (sparcobsd-tdep.o): New dependency.
130 * configure.tgt (sparc-*-openbsd*): Set gdb_target to obsd.
131 * config/sparc/obsd.mt: New file.
132
133 * sparc-tdep.c (sparc32_gdbarch_init): Don't require
134 TDEP->fpregset to be initialized to enable core file register
135 sets.
136
137 2004-01-24 Mark Kettenis <kettenis@gnu.org>
138
139 * sparc64-tdep.h (struct frame_info, struct trad_frame_saved_reg):
140 Add opaque declarations.
141 (sparc64nbsd_sigcontext_saved_regs): New prototype.
142 * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): New
143 function with code split out from
144 sparc64nbsd_sigcontext_frame_cache.
145 (sparc64nbsd_sigcontext_frame_cache): Use
146 sparc64nbsd_sigcontext_saved_regs.
147 (_initialize_sparc64nbsd_tdep): Don't register OS ABI handler for
148 OpenBSD.
149 * sparc64obsd-tdep.c: New file.
150 * Makefile.in (ALLDEPFILES): Add sparc64obsd-tdep.c.
151 (sparc64obsd-tdep.o): New dependency.
152 * configure.tgt (sparc64-*-openbsd*): Set gdb_target to obsd64 and
153 gdb_osabi to GDB_OSABI_OPENBSD_ELF.
154 * config/sparc/obsd64.mt: New file.
155
156 * sparc-tdep.c (sparc_fetch_instruction): Return zero if we can't
157 read the instruction at PC.
158
159 * sparcnbsd-tdep.c (GDB_OSABI_NETBSD_CORE): Define, based on the
160 value of GDB_OSABI_DEFAULT.
161 (sparcnbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_CORE
162 instead of GDB_OSABI_NETBSD_AOUT.
163
164 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
165
166 * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-cmds.h: Update
167 copyright.
168
169 2004-01-23 Andrew Cagney <cagney@redhat.com>
170
171 * printcmd.c (display_command): Replace tui_set_display call with
172 tui_set_layout_for_display_command.
173 * tui/tui.h (enum tui_win_type): Define.
174 (tui_set_layout): Delete declaration.
175 (tui_set_layout_for_display_command): Rename set_tui_layout.
176 * tui/tui-data.h (enum tui_layout_type): Define.
177 * tui/tui-layout.h: Update copyright. Include "tui-data.h" and
178 "tui.h".
179 (tui_add_win_to_layout): Rename tuiAddWinToLayout.
180 (tui_default_win_height): Rename tuiDefaultWinHeight.
181 (tui_default_win_viewport_height): Rename
182 tuiDefaultWinViewportHeight.
183 (tui_set_layout): RenametuiSetLayout.
184 * tui/tui-layout.c: Update references.
185 * tui/tui.c: Update references.
186 * tui/tui-disasm.c: Update references.
187
188 2004-01-23 David Carlton <carlton@kealia.com>
189
190 Partial workaround for PR c++/1511:
191 * cp-namespace.c: Include frame.h.
192 (cp_lookup_transparent_type): New
193 (cp_lookup_transparent_type_loop): New.
194 * cp-support.h: Declare cp_lookup_transparent_type.
195 * symtab.c (basic_lookup_transparent_type): Renamed from
196 lookup_transparent_type.
197 (lookup_transparent_type): Replace old body by a call to
198 current_language->la_lookup_transparent_type.
199 * symtab.h: Update copyright. Declare
200 basic_lookup_transparent_type.
201 * language.h: Update copyright.
202 (struct language_defn): Add la_lookup_transparent_type.
203 * language.c: Update copyright.
204 (unknown_language_defn): Add basic_lookup_transparent_type.
205 (auto_language_defn): Add basic_lookup_transparent_type.
206 (local_language_defn): Add basic_lookup_transparent_type.
207 * ada-lang.c: Update copyright.
208 (ada_language_defn): Add basic_lookup_transparent_type.
209 * c-lang.c: Update copyright.
210 (c_language_defn): Add basic_lookup_transparent_type.
211 (cplus_language_defn): Add basic_lookup_transparent_type.
212 (asm_language_defn): Add basic_lookup_transparent_type.
213 (minimal_language_defn): Add basic_lookup_transparent_type.
214 * f-lang.c: Update copyright.
215 (f_language_defn): Add basic_lookup_transparent_type.
216 * jv-lang.c: Update copyright.
217 (java_language_defn): Add basic_lookup_transparent_type.
218 * m2-lang.c: Update copyright.
219 (m2_language_defn): Add basic_lookup_transparent_type.
220 * objc-lang.c: Update copyright.
221 (objc_language_defn): Add basic_lookup_transparent_type.
222 * p-lang.c: Update copyright.
223 (p_language_defn): Add basic_lookup_transparent_type.
224 * scm-lang.c: Update copyright.
225 (scm_language_defn): Add basic_lookup_transparent_type.
226 * Makefile.in (cp-namespace.o): Depend on frame.h.
227
228 2004-01-23 David Carlton <carlton@kealia.com>
229
230 Patch for PR c++/1520:
231 * dwarf2read.c (read_func_scope): Set processing_current_prefix
232 properly if we have a specification die.
233 (determine_prefix_aux): Rename from determine_prefix.
234 (determine_prefix): Like the old determine_prefix, but never
235 returns NULL.
236
237 2004-01-23 Theodore A. Roth <troth@openavr.org>
238
239 * avr-tdep.c: Update copyright.
240 (avr_iaddr_p): Delete unused function.
241 (avr_saddr_p): Delete unused function.
242
243 2004-01-23 David Carlton <carlton@kealia.com>
244
245 * symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab.
246 Fix for PR symtab/1534.
247
248 2004-01-23 Mark Kettenis <kettenis@gnu.org>
249
250 * NEWS (New native configurations): Mention OpenBSD/sparc and
251 OpenBSD/sparc64.
252 * configure.tgt: Add sparc-*-openbsd* and sparc64-*-openbsd*.
253 * configure.host: Likewise.
254 * sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Register OS ABI
255 handler for OpenBSD.
256 * sparc64nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Likewise.
257
258 2004-01-22 Mark Kettenis <kettenis@gnu.org>
259
260 * sparcnbsd-tdep.c (sparcnbsd_core_osabi_sniffer): New function.
261 (_initialize_sparnbsd_tdep): Register sparcnbsd_core_osabi_sniffer.
262
263 * ser-pipe.c (pipe_open): Use proper null pointer in execl call.
264 * cli/cli-cmds.c (shell_escape): Likewise.
265
266 * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Recognize
267 OpenBSD .note.openbsd.ident sections.
268
269 2004-01-22 David Carlton <carlton@kealia.com>
270
271 * dwarf2read.c (psymtab_to_symtab_1): Calculate lowpc, highpc via
272 get_scope_pc_bounds.
273 (read_file_scope): Ditto.
274 (get_scope_pc_bounds): New function, produced by extracting code
275 from the above two functions, consolidating it, and adding support
276 for DW_TAG_namespace.
277
278 2004-01-22 Mark Kettenis <kettenis@gnu.org>
279
280 * osabi.c (MAX_NOTESZ): New define.
281 (check_note): New function.
282 (generic_elf_osabi_sniff_abi_tag_sections): Reorganize code using
283 check_note.
284
285 2004-01-21 Roland McGrath <roland@redhat.com>
286
287 * MAINTAINERS (write after approval): Add myself.
288
289 2004-01-21 Eli Zaretskii <eliz@gnu.org>
290
291 * utils.c (init_page_info): Move declarations of `rows' and
292 `cols' before the __GO32__-specific code. Move the closing brace
293 outside the #ifdef __GO32__..#endif block.
294 [__GO32__]: Use `rows' and `cols' to avoid compiler warnings.
295
296 2004-01-21 Paul Brook <paul@codesourcery.com>
297
298 * infrun.c (handle_inferior_event): Check stop_stack_dummy if handling
299 BPSTAT_WHAT_CHECK_SHLIBS.
300
301 2004-01-21 Paul Brook <paul@codesourcery.com>
302
303 * MAINTAINERS: Add myself to write-after-approval.
304
305 2004-01-20 Andrew Cagney <cagney@redhat.com>
306
307 * ax-gdb.c (print_axs_value): Delete unused function.
308 * jv-lang.c (java_lookup_type): Delete unused function.
309 * cli/cli-dump.c (dump_filetype): Delete unused function.
310 * remote-mips.c (remote_mips_insert_hw_breakpoint)
311 (remote_mips_remove_hw_breakpoint): Delete unused functions.
312 (mips_getstring): Delete unused function.
313 (pmon_insert_breakpoint): Delete #if0ed function.
314 (PMON_MAX_BP): Delete #if0ed MACRO.
315 (mips_pmon_bp_info): Delete #if0ed variable.
316 (pmon_remove_breakpoint): Delete #if0ed function.
317 * monitor.c (monitor_write_even_block): Delete unused function.
318 (monitor_write_memory_block): Delete #if0ed code.
319 * dink32-rom.c (dink32_load): Delete unused function.
320 (_initialize_dink32_rom): Delete #if0ed code.
321 * d10v-tdep.c (d10v_daddr_p): Delete unused function.
322
323 * tui/tui-command.c: Update references.
324 * tui/tui-io.c: Update references.
325 * tui/tui-command.h: Update copyright.
326 (tui_dispatch_ctrl_char): Rename tuiDispatchCtrlChar.
327
328 * source.c (ambiguous_line_spec): Delete never-defined function.
329 * remote-rdi.c (arm_rdi_mourn, arm_rdi_send): Ditto.
330 * gdbtypes.c (add_name, add_mangled_type): Ditto.
331 * cli/cli-cmds.c (validate_comname): Ditto.
332
333 * tui/tui-disasm.h: Update copyright. Include "tui.h" and
334 "tui-data.h".
335 (tui_set_disassem_content): Rename tuiSetDisassemContent.
336 (tui_show_disassem): Rename tuiShowDisassem.
337 (tui_show_disassem_and_update_source): Rename
338 tuiVerticalDisassemScroll.
339 (tui_vertical_disassem_scroll): Rename tuiVerticalDisassemScroll.
340 (tui_get_begin_asm_address): Rename tuiGetBeginAsmAddress.
341 * tui/tui.h: Update copyright.
342 (enum tui_status): Define.
343 * tui/tui-data.h (enum tui_scroll_direction): Define.
344 * tui/tui-disasm.c: Update copyright. Update references.
345 * tui/tui-winsource.c: Update copyright. Update references.
346 * tui/tui-win.c: Update references.
347 * tui/tui-layout.c: Update references.
348
349 2004-01-20 Andrew Cagney <cagney@redhat.com>
350
351 * mi/mi-cmd-stack.c (list_args_or_locals): Move declaration of
352 sym2 to start of block.
353
354 2004-01-19 Michael Chastain <mec.gnu@mindspring.com>
355
356 * MAINTAINERS: Delete mmalloc.
357 * Makefile.in: Delete MMALLOC, MMALLOC_CFLAGS, -lmmalloc, mmalloc_h.
358 * NEWS: Mention removal of --with-malloc.
359 * acconfig.h: Delete USE_MMALLOC, MMCHECK_FORCE.
360 * config.in: Regenerate.
361 * configure: Regenerate.
362 * configure.in: Delete MMALLOC_CFLAGS, MMALLOC, --with-mmalloc,
363 USE_MMALLOC, MMCHECK_FORCE.
364 * gdbinit.in: Remove mmalloc.
365 * utils.c: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, malloc_botch.
366 * config/alpha/alpha-linux.mh: Delete MMALLOC, MMALLOC_CFLAGS.
367 * config/i386/go32.mh: Likewise.
368 * config/i386/interix.mh: Likewise.
369 * config/powerpc/xm-linux.h: Delete MMAP_BASE_ADDRESS, MMAP_INCREMENT.
370
371 2004-01-19 Jeff Johnston <jjohnstn@redhat.com>
372
373 * linespec.c (decode_variable, symtab_from_filename): Call
374 error_silent with error message instead of throwing an exception
375 directly.
376 * defs.h (error_silent, error_output_message): Add prototypes.
377 (catch_exceptions_with_msg): Ditto.
378 * utils.c (error_silent, error_output_message): New functions.
379 * top.c (catch_exceptions_with_msg): New function.
380
381 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
382
383 * mi/mi-cmds.h (enum print_values): Add definition.
384
385 * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Print the name,
386 type and value for simple data types and just the name and type
387 for complex ones, if required.
388
389 * mi/mi-cmd-var.c (mi_cmd_var_list_children): Print the values of the
390 children, if required.
391
392 2004-01-19 Kevin Buettner <kevinb@redhat.com>
393
394 * frv-tdep.c (frv_push_arguments, frv_saved_pc_after_call): Delete
395 unused declarations.
396
397 2004-01-19 Andrew Cagney <cagney@redhat.com>
398
399 * top.h (mapped_symbol_files): Delete declaration.
400 * main.c (captured_main): Delete option "m" and "mapped".
401 * objfiles.c (mapped_symbol_files): Delete variable.
402 * symfile.c (symbol_file_command): Delete mmap code.
403 (symbol_file_add_with_addrs_or_offsets): Ditto.
404 (add_symbol_file_command, reread_separate_symbols): Ditto.
405 * objfiles.h (OBJF_MAPPED): Delete.
406 * objfiles.c (allocate_objfile) [USE_MMALLOC]: Delete.
407 (free_objfile) [USE_MMALLOC]: Ditto.
408 (open_existing_mapped_file): Delete function.
409 (open_mapped_file): Delete function.
410 (map_to_file): Delete function.
411
412 2004-01-19 Kevin Buettner <kevinb@redhat.com>
413
414 * infrun.c (step_into_function): Account for possible breakpoint
415 adjustment when computing ``stop_func_start''.
416
417 2004-01-19 Kevin Buettner <kevinb@redhat.com>
418
419 * target.c (default_region_size_ok_for_hw_watchpoint): Compare
420 the region size against the size of a pointer, not the size of
421 a register as given by DEPRECATED_REGISTER_SIZE.
422
423 2004-01-19 Andrew Cagney <cagney@redhat.com>
424
425 * tui/tui-regs.h: Include "tui-data.h".
426 (tuiFirstRegElementNoInLine): Delete declaration.
427 (tui_display_registers_from): Rename tuiDisplayRegistersFrom.
428 (tui_last_regs_line_no): Rename tuiLastRegsLineNo.
429 (tui_line_from_reg_element_no): Rename tuiLineFromRegElementNo.
430 (tui_calculate_regs_column_count): Rename
431 tuiCalculateRegsColumnCount.
432 (tui_check_register_values): Rename tuiCheckRegisterValues.
433 (tui_show_registers): Rename tuiShowRegisters.
434 (tui_display_registers_from_line): Rename
435 tuiDisplayRegistersFromLine.
436 (tui_first_reg_element_inline): Rename tuiFirstRegElementInLine.
437 (tui_toggle_float_regs): Rename tuiToggleFloatRegs.
438 (tui_first_reg_element_no_inline): Rename
439 tuiFirstRegElementNoInLine.
440 * tui/tui-data.h: Update copyright.
441 (enum tui_register_display_type): Rename _TuiRegisterDisplayType.
442 * tui/tui-windata.c: Update copyright, update references.
443 * tui/tui-regs.c: Update copyright, update references.
444 * tui/tui-win.c: Update copyright, update references.
445 * tui/tui-layout.c: Update copyright, update references.
446
447 2004-01-18 Andrew Cagney <cagney@redhat.com>
448
449 * tui/tui-io.c: Update copyright.
450 (key_is_end_sequence, key_is_backspace): New functions.
451 (key_is_command_char, key_is_start_sequence): New function.
452 (tui_getc): Update references.
453 * tui/tui-io.h: Update copyright.
454 (m_tuiStartNewLine): Delete macro.
455 (m_isBackspace, m_isDeleteChar): Delete macros.
456 (m_isDeleteLine, m_isDeleteToEol): Delete macros.
457 (m_isNextPage, m_isPrevPage): Delete macros.
458 (m_isLeftArrow, m_isRightArrow): Delete macros.
459 (m_isXdbStyleCommandChar): Delete macro.
460 (key_is_start_sequence): Declare, replace m_isStartSequence.
461 (key_is_end_sequence): Declare, replace m_isEndSequence.
462 (key_is_backspace): Declare ,replace m_isBackspace.
463 (key_is_command_char): Declare, replace m_isCommandChar.
464 * tui/tui-command.c: Update copyright.
465 (tuiDispatchCtrlChar): Update references.
466
467 * config/djgpp/fnchange.lst: Delete tui/tuiSourceWin.c and
468 tuiSourceWin.h.
469
470 * tui/tui-command.c: Rename tui/tuiCommand.c.
471 * tui/tui-command.h: Rename tui/tuiCommand.h.
472 * tui/tui-data.c: Rename tui/tuiData.c.
473 * tui/tui-data.h: Rename tui/tuiData.h.
474 * tui/tui-disasm.c: Rename tui/tuiDisassem.c.
475 * tui/tui-disasm.h: Rename tui/tuiDisassem.h.
476 * tui/tui-io.c: Rename tui/tuiIO.c.
477 * tui/tui-io.h: Rename tui/tuiIO.h.
478 * tui/tui-layout.c: Rename tui/tuiLayout.c.
479 * tui/tui-layout.h: Rename tui/tuiLayout.h.
480 * tui/tui-regs.c: Rename tui/tuiRegs.c.
481 * tui/tui-regs.h: Rename tui/tuiRegs.h.
482 * tui/tui-source.c: Rename tui/tuiSource.c.
483 * tui/tui-source.h: Rename tui/tuiSource.h.
484 * tui/tui-stack.c: Rename tui/tuiStack.c.
485 * tui/tui-stack.h: Rename tui/tuiStack.h.
486 * tui/tui-win.c: Rename tui/tuiWin.c.
487 * tui/tui-win.h: Rename tui/tuiWin.h.
488 * tui/tui-windata.c: Rename tui/tuiDataWin.c.
489 * tui/tui-windata.h: Rename tui/tuiDataWin.h.
490 * tui/tui-wingeneral.c: Rename tui/tuiGeneralWin.c.
491 * tui/tui-wingeneral.h: Rename tui/tuiGeneralWin.h.
492 * tui/tui-winsource.c: Rename tui/tuiSourceWin.c.
493 * tui/tui-winsource.h: Rename tui/tuiSourceWin.h.
494 * tui/tui-file.c: Update includes.
495 * tui/tui-hooks.c: Update includes.
496 * tui/tui-interp.c: Update includes.
497 * tui/tui.c: Update includes.
498 * Makefile.in: Update all tui/ dependencies.
499 (SUBDIR_TUI_OBS, SUBDIR_TUI_SRCS): Update file names.
500
501 * Makefile.in: Update copyright. Update dependencies.
502
503 * tui/tuiSourceWin.c (tui_update_breakpoint_info): Fix compile
504 problem.
505
506 2004-01-18 Andrew Cagney <cagney@redhat.com>
507
508 * mn10300-tdep.c (_initialize_mn10300_tdep): Call gdbarch_register
509 instead of register_gdbarch_init.
510
511 * remote-sds.c (tohex): Delete unused function. Update copyright.
512 * xstormy16-tdep.c (xstormy16_register_virtual_size): Ditto.
513 * v850-tdep.c (v850_register_virtual_size): Ditto.
514 * target.c (normal_target_post_startup_inferior): Ditto.
515 * source.c (ambiguous_line_spec): Ditto.
516 * remote.c (adapt_remote_get_threadinfo): Ditto.
517 * mi/mi-out.c (out_field_fmt): Ditto.
518 * mi/mi-interp.c (mi_interp_read_one_line_hook): Ditto.
519 (output_control_change_notification): Ditto.
520 * m68k-tdep.c (m68k_register_byte): Ditto.
521 (m68k_remote_breakpoint_from_pc): Ditto.
522 * ui-out.c (init_ui_out_state): Delete unused declaration.
523 * stabsread.c (search_value): Ditto.
524 * mi/mi-cmd-env.c (env_cli_command): Ditto.
525 * maint.c (print_section_table): Ditto.
526 * infrun.c (set_follow_fork_mode_command): Ditto.
527
528 2004-01-18 Mark Kettenis <kettenis@gnu.org>
529
530 * dwarf2-frame.c (execute_cfa_program): Move DWA_CFA_nop before
531 DW_CFA_def_cfa_exporession. Add support for
532 DW_CFA_offset_extendend_sf, DW_CFA_def_cfa_sf and
533 DW_CFA_def_cfa_offset_sf. This should fix PR backtrace/1391.
534
535 2004-01-18 Andrew Cagney <cagney@redhat.com>
536
537 * ocd.c: Update copyright.
538 (bdm_read_register_command): Delete unused function.
539 (_initialize_remote_ocd): Delete commented out reference.
540 (get_quoted_char, reset_packet): Delete #if0ed function.
541 (output_packet, put_quoted_char): Delete #if0ed function.
542 (stu_put_packet, stu_get_packet): Delete #if0ed function.
543 (ocd_start_remote): Delete #if0ed code, remove #if1 wrapper.
544 (BDM_BREAKPOINT): Delete #if0ed macro.
545 (remote_timeout): Delete #if0ed variable.
546
547 2004-01-18 Mark Kettenis <kettenis@gnu.org>
548
549 * Makefile.in (ALLDEPFILES): Remove core-sol2.c.
550 (core-sol2.o): Remove dependency.
551 * core-sol2.c: Remove file.
552
553 2004-01-17 Andrew Cagney <cagney@redhat.com>
554
555 * mdebugread.c (compare_blocks): Make addr_diff a LONGEST.
556 * block.h: Make GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOOCK
557 enums.
558
559 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
560
561 * remote.c: Update copyright years.
562
563 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
564
565 * remote.c (remote_vcont_resume): Use xstrprintf instead of sprintf.
566
567 2004-01-17 Andrew Cagney <cagney@redhat.com>
568
569 * mdebugread.c: Update copyright.
570 (parse_symbol): Replace DEPRECATED_STREQ with strcmp.
571 (parse_type, parse_procedure): Ditto.
572 (parse_partial_symbols, psymtab_to_symtab_1): Ditto.
573
574 * cris-tdep.c (cris_store_struct_return): Put back accidently
575 deleted function.
576
577 * gdbarch.sh: Update copyright year.
578 * gdbarch.h, gdbarch.c: Re-generate.
579
580 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
581
582 Suggested by George Anzinger.
583 * dwarf2expr.c (execute_stack_op): Fetch the second item from the
584 correct stack offset. Include unknown opcode numbers in the error
585 message.
586
587 2004-01-17 Andrew Cagney <cagney@redhat.com>
588
589 * x86-64-tdep.c (x86_64_init_abi): No need to clear
590 extract_struct_value_address, i386 does not set it.
591 * sparc64-tdep.c (sparc64_init_abi): Do not set
592 extract_struct_value_address, never called.
593 (sparc64_extract_struct_value_address): Delete function.
594 * m68hc11-tdep.c: Update copyright.
595 (m68hc11_gdbarch_init): Delete redundant assignment of
596 extract_struct_value_address.
597 * i386-tdep.c: Update copyright.
598 (i386_gdbarch_init): Do not set extract_struct_value_address,
599 never called.
600 (i386_extract_struct_value_address): Delete function.
601 * sparc-tdep.c (sparc32_gdbarch_init): Do not set
602 extract_struct_value_address, never called.
603 (sparc32_extract_struct_value_address): #if 0 function. Add
604 comments explaining its future.
605
606 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
607
608 * arm-tdep.c (arm_write_pc): New function.
609 (arm_gdbarch_init): Call set_gdbarch_write_pc.
610
611 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
612
613 * breakpoint.c (must_shift_inst_regs): Delete.
614 (bpstat_stop_status): Delete references to DECR_PC_AFTER_HW_BREAK
615 and SHIFT_INST_REGS.
616 * infcmd.c (step_1, step_1_continuation): Delete references to
617 SHIFT_INST_REGS.
618 * infrun.c (keep_going): Likewise.
619 * target.h (DECR_PC_AFTER_HW_BREAK): Don't define.
620 * config/i386/nm-i386.h (DECR_PC_AFTER_HW_BREAK): Likewise.
621
622 2004-01-17 Andrew Cagney <cagney@redhat.com>
623
624 * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
625 * gdbarch.h, gdbarch.c: Re-generate.
626 * infcmd.c (print_return_value): Delete reference to
627 DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS.
628
629 * cris-tdep.c (cris_gdbarch_init): Do not set
630 deprecated_extract_struct_value_address.
631
632 * xstormy16-tdep.c: Update copyright.
633 (xstormy16_extract_struct_value_address): Update to current
634 extract struct value address interface.
635 (xstormy16_gdbarch_init): Set extract_struct_value_address.
636 * sh64-tdep.c (sh64_extract_struct_value_address): Update to
637 current extract struct value address interface.
638 (sh64_gdbarch_init): Set extract_struct_value_address.
639
640 * cris-tdep.c: Update copyright.
641 (cris_extract_struct_value_address): Delete function.
642 (struct_return_address): Delete variable.
643 (cris_store_struct_return): Do not set struct_return_address.
644
645 * mcore-tdep.c: Update copyright.
646 (mcore_extract_struct_value_address): Delete function. Update
647 comments.
648 (mcore_gdbarch_init): Update.
649 * mn10300-tdep.c: Update copyright.
650 (mn10300_extract_struct_value_address): Delete function.
651 (mn10300_gdbarch_init): Update.
652 * v850-tdep.c: Update copyright.
653 (v850_extract_struct_value_address): Delete.
654 (v850_gdbarch_init): Update.
655 * ns32k-tdep.c: Update copyright.
656 (ns32k_extract_struct_value_address): Delete.
657 (ns32k_gdbarch_init): Update.
658 * hppa-tdep.c (hppa_extract_struct_value_address): Delete.
659 (hppa_gdbarch_init): Update.
660 * vax-tdep.c: Update copyright.
661 (vax_extract_struct_value_address): Delete.
662 (vax_gdbarch_init): Update.
663
664 * gdbarch.sh (DEPRECATED_NPC_REGNUM): Delete.
665 * gdbarch.h, gdbarch.c: Re-generate.
666 * procfs.c (procfs_fetch_registers): Delete reference to
667 DEPRECATED_NPC_REGNUM.
668 (procfs_store_registers): Ditto.
669 * regcache.c (generic_target_write_pc): Simplify.
670 * lynx-nat.c: Delete #ifdef SPARC code. Not used.
671
672 * core-sol2.c (fetch_core_registers): Replace
673 DEPRECATED_NPC_REGNUM with equivalent tdep value.
674
675 * hppa-tdep.c: Update copyright year.
676 (hppa_target_write_pc): Use PCOQ_TAIL_REGNUM instead of
677 NPC_REGNUM.
678 (hppa_gdbarch_init): Do not set deprecated_npc_regnum.
679
680 * mips-tdep.c (mips_write_pc): New function.
681 (mips_gdbarch_init): Set "write_pc" to "mips_write_pc".
682 (mips_read_pc): Use mips_regnum instead of PC_REGNUM.
683 (mips_find_saved_regs, mips_software_single_step: Ditto.
684 (mips_frame_saved_pc, mips_frame_saved_pc): Ditto.
685 mips_init_extra_frame_info, mips_pop_frame): Ditto.
686
687 2004-01-17 Andrew Cagney <cagney@redhat.com>
688
689 * mips-tdep.c: Re-indent. Group functions by ABI.
690
691 2004-01-17 Andrew Cagney <cagney@redhat.com>
692
693 * gdbarch.sh (DECR_PC_AFTER_BREAK): Make zero the default.
694 * gdbarch.c: Re-generate.
695 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
696 DECR_PC_AFTER_BREAK to zero.
697 * vax-tdep.c (vax_gdbarch_init): Ditto.
698 * v850-tdep.c (v850_gdbarch_init): Ditto.
699 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
700 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
701 * sh-tdep.c (sh_gdbarch_init): Ditto.
702 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
703 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
704 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
705 * mips-tdep.c (mips_gdbarch_init): Ditto.
706 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
707 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
708 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
709 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
710 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
711 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
712 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
713 * frv-tdep.c (frv_gdbarch_init): Ditto.
714 * cris-tdep.c (cris_gdbarch_init): Ditto.
715 * avr-tdep.c (avr_gdbarch_init): Ditto.
716 * arm-tdep.c (arm_gdbarch_init): Ditto.
717 * i386-nto-tdep.c (i386nto_init_abi): Add comment.
718
719 2004-01-17 J. Brobecker <brobecker@gnat.com>
720
721 * dwarf2read.c (dwarf2_non_const_array_bound_ignored_complaint):
722 Delete, no longer used.
723 (read_subrange_type): New function, mostly extracted from
724 read_array_type().
725 (read_array_type): Replace extracted code by call to
726 read_subrange_type().
727 (dwarf2_get_attr_constant_value): New function.
728 (scan_partial_symbols): Add handling for DW_TAG_subrange_type.
729 (add_partial_symbol): Likewise.
730 (process_die): Likewise.
731 (new_symbol): Likewise.
732 (read_type_die): Likewise.
733
734 2004-01-16 Andrew Cagney <cagney@redhat.com>
735
736 * symfile.c: Update copyright year.
737 (compare_symbols): Delete unused function.
738 * stabsread.c: Update copyright year.
739 (lrs_general_complaint): Delete unused function.
740 (ref_search_value): Ditto.
741 (get_substring): Delete declaration.
742 * sh64-tdep.c: Update copyright year.
743 (sh64_get_gdb_regnum): Delete unused function.
744 * dwarf2read.c (dwarf2_unsupported_at_frame_base_complaint):
745 Delete unused function.
746
747 2004-01-17 Mark Kettenis <kettenis@gnu.org>
748
749 * defs.h (gdb_osabi): Add GDB_OSABI_OPENBSD_ELF.
750 * osabi.c (gdb_osabi_names): Add "OpenBSD ELF".
751
752 2004-01-16 Andrew Cagney <cagney@redhat.com>
753
754 Changes from Peter Schauer.
755 * rs6000-tdep.c: Update copyright year.
756 (rs6000_push_dummy_call): Update the stack pointer before
757 accessing the corresponding stack region.
758 * rs6000-nat.c: Update copyright year.
759 (set_host_arch): Set "info.abfd" to "exec_bfd".
760
761 2004-01-15 Mark Kettenis <kettenis@gnu.org>
762
763 * blockframe.c: Update copyright year.
764 (inside_entry_func): Don't treat a zero PC specially.
765
766 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
767
768 * gcore.c (gcore_copy_callback): Use paddr_d to print size
769 variable.
770 (gcore_create_callback): Ditto. Skip any memory segment that has
771 no permissions set.
772
773 2004-01-14 David Carlton <carlton@kealia.com>
774
775 Change symbols for C++ nested types to contain the fully qualified
776 name, if possible. (At least in the DWARF-2 case.) Partial fix
777 for PR's c++/57, c++/488, c++/539, c++/573, c++/609, c++/832,
778 c++/895.
779 * c-exp.y (qualified_type): Handle types nested within classes.
780 * cp-namespace.c: Update comments.
781 (cp_set_block_scope): Delete #if 0.
782 (cp_lookup_nested_type): Handle types nested within classes.
783 * dwarf2read.c: (scan_partial_symbols): Call add_partial_structure
784 when appropriate.
785 (add_partial_symbol): Add the name of the enclosing namespace to
786 types.
787 (pdi_needs_namespace): New.
788 (add_partial_namespace): Tweak comment.
789 (add_partial_structure): New.
790 (psymtab_to_symtab_1): Initialize processing_current_prefix
791 here...
792 (process_die): instead of here.
793 (read_structure_scope): Try to figure out the name of the class or
794 namespace that the structure might be defined within.
795 (read_enumeration): Generate fully-qualified names, if possible.
796 (read_namespace): Don't set name to NULL.
797 (die_specification): New.
798 (new_symbol): Generate fully-qualified names for types.
799 (read_type_die): Determine appropriate prefix.
800 (determine_prefix): New.
801 (typename_concat): New.
802 (class_name): New.
803 * valops.c (value_aggregate_elt): Pass NOSIDE to
804 value_struct_elt_for_reference.
805 (value_struct_elt_for_reference): Make static, add NOSIDE
806 parameter, call value_maybe_namespace_elt as a last resort.
807 (value_namespace_elt): Break out code into
808 value_maybe_namespace_elt.
809 (value_maybe_namespace_elt): New.
810
811 2004-01-12 Andrew Cagney <cagney@redhat.com>
812
813 * mips-tdep.c (mips_convert_register_p): Handle both raw and
814 cooked floating-point registers.
815 (mips_gdbarch_init): Set convert_register_p, register_to_value,
816 and value_to_register.
817
818 2004-01-13 Andrew Cagney <cagney@redhat.com>
819
820 * gdbarch.sh (FUNCTION_START_OFFSET): Make zero the default.
821 * gdbarch.c: Re-generate.
822 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
823 FUNCTION_START_OFFSET.
824 * v850-tdep.c (v850_gdbarch_init): Ditto.
825 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
826 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
827 * sh-tdep.c (sh_gdbarch_init): Ditto.
828 * s390-tdep.c (s390_gdbarch_init): Ditto.
829 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
830 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
831 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
832 * mips-tdep.c (mips_gdbarch_init): Ditto.
833 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
834 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
835 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
836 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
837 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
838 * i386-tdep.c (i386_gdbarch_init): Ditto.
839 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
840 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
841 * frv-tdep.c (frv_gdbarch_init): Ditto.
842 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
843 * cris-tdep.c (cris_gdbarch_init): Ditto.
844 * avr-tdep.c (avr_gdbarch_init): Ditto.
845 * arm-tdep.c (arm_gdbarch_init): Ditto.
846 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
847
848 2004-01-13 Daniel Jacobowitz <drow@mvista.com>
849
850 * infrun.c (follow_fork_mode_ask): Remove.
851 (follow_fork_mode_kind_names): Remove follow_fork_mode_ask.
852 (follow_fork): Simplify and remove internal error for
853 follow_fork_mode_ask.
854 (_initialize_infrun): Update "set follow-fork-mode" help text.
855
856 2004-01-13 Andrew Cagney <cagney@redhat.com>
857
858 * configure.in: Update copyright year.
859 (build_warnings): Add -Wunused-label.
860 * configure: Re-generate.
861
862 2004-01-12 Andrew Cagney <cagney@redhat.com>
863
864 * exec.h (exec_ops): Make "extern".
865
866 * mips-tdep.c (mips_pseudo_register_read): Don't return a value,
867 the function is void.
868 (mips_pseudo_register_write): Ditto.
869
870 2004-01-12 Andrew Cagney <cagney@redhat.com>
871
872 * stack.c (frame_info): Delete DEPRECATED_PRINT_EXTRA_FRAME_INFO
873 call. Never defined.
874 * sparc-tdep.h (struct frame_info): Add opaque declaration.
875 * sparc64-tdep.h (struct gdbarch): Add opaque declaration.
876 (struct sparc_gregset, struct regcache): Ditto.
877 * sparc-nat.c: Update copyright. Specify "GNU/Linux".
878
879 2004-01-12 Andrew Cagney <cagney@redhat.com>
880
881 * mi/ChangeLog: Delete file. Renamed to ...
882 * mi/ChangeLog-1999-2003: New file.
883 * tui/ChangeLog: Delete file. Renamed to ...
884 * tui/ChangeLog-1998-2003: New file.
885
886 2004-01-11 Mark Kettenis <kettenis@gnu.org>
887
888 * sparc64nbsd-tdep.c: Include "regset.h".
889 (sparc64nbsd_sizeof_struct_reg, sparc64nbsd_sizeof_struct_fpreg):
890 Remove variables.
891 (fetch_core_registers): Remove function.
892 (sparc64nbsd_core_fns): Remove variable.
893 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): New
894 functions.
895 (sparc64nbsd_init_abi): Initialize TDEP->gregset,
896 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
897 (_initialize_sparc64nbsd_tdep): Remove call to add_core_fns.
898
899 * sparc-tdep.c (sparc32_extract_struct_value_address): Rename from
900 sparc_extract_struct_value_address.
901 (sparc32_gdbarch_init): Set extract_struct_value_address.
902 * sparc64-tdep.c (sparc64_extract_struct_value_address): New
903 function.
904 (sparc64_init_abi): Set extract_struct_value_address. Don't set
905 return_value_on_stack.
906
907 * NEWS: Mention that %cs and %ss have been added to the AMD64
908 configurations
909
910 * frame.c: Update copyright year.
911 (get_prev_frame): Improve comment.
912
913 * sparc64fbsd-tdep.c: Include "regset.h".
914 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
915 Remove variables.
916 (fetch_core_registers): Remove function.
917 (sparc64fbsd_core_fns): Remove variable.
918 (sparc64fbsd_supply_gregset, sparc64fbsd_supply_fpregset): New
919 functions.
920 (sparc64fbsd_init_abi): Initialize TDEP->gregset,
921 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
922 (_initialize_sparc64fbsd_tdep): Remove call to add_core_fns.
923
924 * sparcnbsd-tdep.c: Include "regset.h".
925 (fetch_core_registers): Remove function.
926 (sparcnbsd_core_fns, sparcnbsd_elfcore_fns): Remove varaibles.
927 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): New
928 functions.
929 (sparc32nbsd_init_abi): Initialize TDEP->gregset and
930 TDEP->fpregset.
931 (_initialize_sparcnbsd_tdep): Remove calls to add_core_fns.
932
933 * sparc-tdep.h (struct regset): Provide opaque declaration.
934 (struct gdbarch_tdep): Add gregset, sizeof_gregset,
935 fpregset and sizeof_fpregset members.
936 * sparc-tdep.c (struct regset): Provide opaque declaration.
937 (sparc_regset_from_core_section): New function.
938 (sparc32_gdbarch_init): Initialize TDEP->gregset,
939 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_fpregset.
940 Set regset_from_core_section when appropriate.
941
942 2004-01-10 Mark Kettenis <kettenis@gnu.org>
943
944 * x86-64-tdep.c (amd64_non_pod_p): New function.
945 (amd64_classify_aggregate): Return class memory for non-POD
946 C++ structure types.
947
948 * x86-64-tdep.c (amd64_push_arguments): Add struct_return
949 argument. Use it to reserve a register if necessary.
950 (amd64_push_dummy_call): Pass STRUCT_RETURN in call to
951 amd64_push_arguments.
952
953 * x86-64-tdep.c (amd64_classify_aggregate): Ignore static fields.
954
955 * x86-64-tdep.c (amd64_register_info): Add %cs and %ss. Adjust
956 register numbers in comments.
957 * x86-64-tdep.h: Update copyright year.
958 (X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM):
959 Adjust for addition of %cs and %ss.
960 * amd64fbsd-nat.c: Update copyright year.
961 (reg_offset): Add register offsets for %cs and %ss.
962 * amd64fbsd-tdep.c: Update copyright year.
963 (amd64fbsd_r_reg_offset): Add register offsets for %cs and %ss.
964 (amd64fbsd_sc_reg_offset): Likewise.
965 * x86-64-linux-nat.c: Update copyright year.
966 (x86_64_linux_gregset64_reg_offset): Add register offsets for %cs
967 and %ss.
968 * amd64nbsd-nat.c: Update copyright year.
969 (amd64nbsd32_r_reg_offset): Add register offsets for %cs and %ss.
970 * amd64nbsd-tdep.c: Update copyright year.
971 (amd64nbsd_r_reg_offset): Add register offsets for %cs and %ss.
972 * x86-64-linux-tdep.c: Update copyright year.
973 (user_to_gdb_regmap): Add mapping for %cs and %ss.
974 (x86_64_linux_sc_reg_offset): Adjust for addition of %cs and %ss.
975 * regformats/reg-x86-64.dat: Add %cs and %ss.
976
977 * blockframe.c (inside_entry_func): Reformat. Introduce new local
978 variables to prevent long lines. Update comments to reflect
979 reality.
980
981 2004-01-09 David Carlton <carlton@kealia.com>
982
983 Checked in by Elena Zannoni <ezannoni@redhat.com>.
984 * dwarf2read.c (read_namespace): Pull out name-generating code
985 into namespace_name. Rename previous_namespace to previous_prefix
986 and processing_current_namespace to processing_current_prefix..
987 (namespace_name): New function.
988 (add_partial_symbol): Substitute uses of pdi->name with
989 actual_name.
990 * cp-support.h: Rename processing_current_namespace to
991 processing_current_prefix.
992 Update copyright year.
993 * cp-namespace.c: Rename processing_current_namespace to
994 processing_current_prefix.
995 Update copyright year.
996
997 2004-01-09 Andrew Cagney <cagney@redhat.com>
998
999 * jv-valprint.c, ser-unix.c: Add missing copyright years.
1000
1001 2004-01-09 Mark Kettenis <kettenis@gnu.org>
1002
1003 * dbxread.c (read_dbx_symtab): Ignore N_PATCH stabs instead of
1004 complaining.
1005 (process_one_symbol): Deal with N_PATCH stabs.
1006
1007 2004-01-09 Elena Zannoni <ezannoni@redhat.com>
1008
1009 * dwarf2read.c (read_array_type): Discard FORTRAN_HACK macro and
1010 ifdeffed code.
1011 Update copyright year.
1012
1013 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1014
1015 * config/pa/tm-hppa.h: Update extern declarations for
1016 hppa32_hpux_frame_saved_pc_in_sigtramp,
1017 hppa32_hpux_frame_base_before_sigtramp, and
1018 hppa32_hpux_frame_find_saved_regs_in_sigtramp.
1019
1020 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1021
1022 * config/pa/tm-hppah.h: Update copyright years.
1023
1024 2004-01-08 Andrew Cagney <cagney@redhat.com>
1025
1026 * mips-tdep.c (mips_n32n64_reg_struct_has_addr): Delete function.
1027 (mips_o32_reg_struct_has_addr): Delete function.
1028 (mips_gdbarch_init): Update.
1029 (mips_extract_struct_value_address): Delete function.
1030
1031 2004-01-08 David Mosberger <davidm@hpl.hp.com>
1032
1033 * ia64-linux-tdep.c: Update GATE_AREA_END value to reflect
1034 reality.
1035
1036 2004-01-07 Andrew Cagney <cagney@redhat.com>
1037
1038 * mips-tdep.c (mips_gdbarch_init): Set elf_flags to the previous
1039 architecture's elf flags (when available).
1040
1041 * mips-tdep.c (mips_gdbarch_init): Move code determining the MIPS
1042 FPU to the start, check the MIPS FPU when looking for an old
1043 architecture.
1044 (set_mipsfpu_single_command): Update the architecture.
1045 (set_mipsfpu_double_command, set_mipsfpu_none_command): Ditto.
1046
1047 * mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Delete macro.
1048 (mips_mask_address_p): Add "tdep" parameter.
1049 (show_mask_address, mips_addr_bits_remove): Update.
1050 (mips_dump_tdep): Update.
1051 (MIPS_DEFAULT_STACK_ARGSIZE): Delete macro.
1052 (MIPS_STACK_ARGSIZE): Delete macro.
1053 (mips_stack_argsize, mips_eabi_push_dummy_call): Update.
1054 (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call): Update.
1055 (mips_o64_push_dummy_call, mips_o32_return_value): Update.
1056 (mips_dump_tdep): Update.
1057 (MIPS_SAVED_REGSIZE): Delete macro.
1058 (MIPS_DEFAULT_SAVED_REGSIZE): Delete macro.
1059 (mips_saved_regsize, mips_eabi_use_struct_convention): Update.
1060 (mips_eabi_reg_struct_has_addr, mips_find_saved_regs): Update.
1061 (mips_frame_saved_pc, mips16_heuristic_proc_desc): Update.
1062 (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call): Update.
1063 (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update.
1064 (mips_pop_frame, return_value_location): Update.
1065 (mips_n32n64_return_value, mips_dump_tdep): Update.
1066
1067 * mips-tdep.c (mips_gdbarch_init): Clean up code selecting the
1068 MIPS ABI.
1069
1070 * mips-tdep.c: Update copyright.
1071 (mips_gdbarch_init): Merge two code blocks handling the register
1072 name and number layout.
1073
1074 2004-01-02 Pawel Ostrowski <pasza@zodiac.mimuw.edu.pl>
1075
1076 * tracepoint.c (validate_actionline): Fix segv at EOF
1077
1078 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1079
1080 * hpread.c (hpread_read_struct_type): Call SET_FIELD_PHYSNAME
1081 properly for static fields.
1082
1083 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
1084 Jason Molenda <jmolenda@apple.com>
1085
1086 * disasm.c: Update copyright to include 2004.
1087 (do_mixed_source_and_assembly): For uiout asm list
1088 and tuple cleanups, initialize to null_cleanup instead of
1089 NULL and do so prior to loop. Only reset when we close off
1090 the tuple/list. Move check for whether to close off the
1091 asm tuple/list to after dump_insns call where it will be run
1092 on each loop iteration.
1093
1094 2004-01-05 Andrew Cagney <cagney@redhat.com>
1095
1096 * ser-unix.c (ser_unix_async): Fix tipo, "NOTHING_SECHEDULED"
1097 should be a switch case and not a label.
1098 * mips-tdep.c (mips32_next_pc): Delete unused labels
1099 "greater_equal_branch" and "less_zero_branch".
1100 * jv-valprint.c (java_print_value_fields): Delete unused label
1101 "flush_it".
1102
1103 * target.c (unpush_target): Only close a target that is in the
1104 target stack.
1105
1106 2004-01-05 Mark Kettenis <kettenis@gnu.org>
1107
1108 * sparc-tdep.c (sparc_extract_struct_value_address): Get the
1109 address from [sp + 64] instead of %o2.
1110
1111 * frame.c (get_prev_frame): Don't try to unwind the PC. This
1112 fixes PR backtrace/1476.
1113
1114 2004-01-05 Andrew Cagney <cagney@redhat.com>
1115
1116 * libunwind-frame.h (struct frame_id): Add opaque declaration,
1117 move to start of file.
1118 * i386-tdep.h (struct regcache): Add opaque declaration.
1119 * config/ia64/nm-linux.h (struct target_ops): Add opaque
1120 declaration.
1121 * ia64-tdep.c (ia64_find_proc_info_x): Do not use __FUNCTION__.
1122 (ia64_gdbarch_init): Use "GNU/Linux" in comment.
1123 * win32-nat.c (fake_create_process): Use ISO C style definition.
1124 * stabsread.c (define_symbol): Delete #ifndef
1125 DEPRECATED_USE_REGISTER_NOT_ARG wrapper around
1126 stabs_argument_has_addr call, macro never defined.
1127
1128 2004-01-04 Michael Chastain <mec.gnu@mindspring.com>
1129
1130 * op50-rom.c: Delete.
1131 * w89k-rom.c: Delete.
1132 * Makefile.in: Remove references.
1133
1134 2004-01-04 Mark Kettenis <kettenis@gnu.org>
1135
1136 * x86-64-tdep.c: Update copyright year.
1137 (struct amd64_register_info): Rename from x86_64_register_info.
1138 (amd64_register_info): Rename from x86_64_register_info.
1139 (AMD64_NUM_REGS): Rename from X86_64_NUM_REGS.
1140 (amd64_register_name): Rename from x86_64_register_name.
1141 (amd64_register_type): Rename from x86_64_register_type.
1142 (amd64_dwarf_regmap): Rename from x86_64_dwarf_regmap.
1143 (amd64_dwarf_regmap_len): Rename from x86_64_dwarf_regmap_len.
1144 (amd64_dwarf_reg_to_regnum): Rename from
1145 x86_64_dwarf_reg_to_regnum.
1146 (amd64_convert_register_p): Rename from x86_64_convert_register_p.
1147 (amd64_push_dummy_call): Rename from x86_64_push_dummy_call.
1148 (AMD64_NUM_SAVED_REGS): Rename from X86_64_NUM_SAVED_REGS.
1149 (struct amd64_frame_cache): Renamed from x86_64_frame_cache.
1150 (amd64_alloc_frame_cache): Renamed from x86_64_alloc_frame_cache.
1151 (amd64_analyze_prologue): Rename from x86_64_analyze_prologue.
1152 (amd64_skip_prologue): Rename from x86_64_skip_prologue.
1153 (amd64_frame_cache): Rename from x86_64_frame_cache.
1154 (amd64_frame_this_id): Rename from x86_64_frame_this_id.
1155 (amd64_frame_prev_register): Rename from
1156 x86_64_frame_prev_register.
1157 (amd64_frame_unwind): Rename from x86_64_frame_unwind.
1158 (amd64_frame_sniffer): Rename from x86_64_frame_sniffer.
1159 (amd64_sigtramp_frame_cache): Rename from
1160 x86_64_sigtramp_frame_cache.
1161 (amd64_sigtramp_frame_prev_register): Rename from
1162 x86_64_sigtramp_frame_prev_register.
1163 (amd64_sigtramp_frame_unwind): Rename from
1164 x86_64_sigtramp_frame_unwind.
1165 (amd64_sigtramp_frame_sniffer): Rename from
1166 x86_64_sigtramp_frame_sniffer.
1167 (amd64_frame_base_address): Rename from x86_64_frame_base_address.
1168 (amd64_frame_base): Rename from x86_64_frame_base.
1169 (amd64_unwind_dummy_id): Rename from x86_64_unwind_dummy_id.
1170 (amd64_frame_align): Rename from x86_64_frame_align.
1171 (amd64_supply_fpregset): Rename from x86_64_supply_fpregset.
1172 (amd64_regset_from_core_section): Rename from
1173 x86_64_regset_from_core_section.
1174 (x86_64_init_abi): Update comments.
1175
1176 2004-01-04 Nick Roberts <nick@nick.uklinux.net>
1177
1178 * MAINTAINERS (write after approval): Add myself.
1179
1180 2004-01-04 Mark Kettenis <kettenis@gnu.org>
1181
1182 * sparc64-tdep.c (sparc64_store_arguments): Fix handling of
1183 `float' arguments.
1184
1185 2004-01-04 Mark Kettenis <kettenis@gnu.org>
1186
1187 * sparc64-tdep.c (sparc64_store_floating_fields): Update comment
1188 such that it mentions a specific version of GCC that exhibits this
1189 bug.
1190
1191 2004-01-03 Mark Kettenis <kettenis@gnu.org>
1192
1193 * sparc64-tdep.c (sparc64_store_floating_fields): If TYPE is a
1194 structure that has a single `float' member, store it in %f1 in
1195 addition to %f0.
1196
1197 * sparc-sol2-nat.c: Add missing '\'.
1198
1199 * sparc-tdep.c (sparc32_return_value): New function.
1200 (sparc32_use_struct_convention, sparc32_return_value_on_stack):
1201 Remove functions.
1202 (sparc32_gdbarch_init): Set return_value, don't set
1203 extract_return_value, store_return_value, use_struct_convention
1204 and return_value_on_stack.
1205
1206 * sparc-sol2-nat.c: Add missing ')'.
1207
1208 2004-01-03 J. Brobecker <brobecker@gnat.com>
1209
1210 * infrun.c (handle_step_into_function): New function.
1211 (handle_inferior_event): Extract out some code into the new
1212 function above.
1213
1214 2004-01-03 J. Brobecker <brobecker@gnat.com>
1215
1216 * infrun.c (handle_inferior_event): Move the declaration of
1217 real_stop_pc inside the if blocks where it is used.
1218
1219 2004-01-03 Mark Kettenis <kettenis@gnu.org>
1220
1221 * sparc64-tdep.c (sparc64_16_byte_align_p)
1222 (sparc64_store_floating_fields, sparc64_store_floating_fields):
1223 Use check_typedef to get subtypes of structures and unions.
1224 (sparc64_store_return_value): Fix calculation of the appropriate
1225 offset into VALBUF when storing a structure or union.
1226 (sparc64_return_value): New function.
1227 (sparc64_use_struct_convention): Remove function.
1228 (sparc64_init_abi): Set return_value, don't set
1229 extract_return_value, store_return_value and
1230 use_struct_convention.
1231
1232 2004-01-03 Eli Zaretskii <eliz@elta.co.il>
1233
1234 * config/djgpp/fnchange.lst: Add lines for COPYING.LIBGLOSS,
1235 bfd/doc/ChangeLog-9103, bfd/elf32-m68hc1x.c,
1236 gdb/config/alpha/xm-alphaosf.h,
1237 gdb/config/powerpc/tm-ppcle-eabi.h,
1238 gdb/config/rs6000/tm-rs6000-aix4.h, gdb/gdbtk/ChangeLog-2001,
1239 gdb/gdbtk/ChangeLog-2002, gdb/gdbtk/ChangeLog-2003,
1240 gdb/gdbtk/plugins/intel-pentium/intel-pentium.tcl.in,
1241 gdb/gdbtk/plugins/rhabout/rhabout.tcl.in, gdb/i386-linux-nat.c,
1242 gdb/ia64-aix-nat.c, gdb/ia64-aix-tdep.c, gdb/ia64-linux-nat.c,
1243 gdb/ia64-linux-nat.c, gdb/ppc-linux-tdep.c, gdb/ppc-linux-nat.c,
1244 gdb/sparc64nbsd-nat.c, gdb/sparc64nbsd-tdep.c,
1245 gdb/sparc64-linux-nat.c, gdb/sparc64-linux-tdep.c,
1246 gdb/sparc64-nat.c, gdb/sparc64-tdep.c, gdb/sparc64-sol2-tdep.c,
1247 gdb/sparc-sol2-nat.c, gdb/sparc-sol2-tdep.c,
1248 gdb/testsuite/gdb.gdbtk/, gdb/testsuite/gdb.mi/mi-var-child.exp,
1249 nclude/ChangeLog-9103, include/coff/ChangeLog-9103,
1250 include/elf/ChangeLog-9103, include/opcode/ChangeLog-9103,
1251 opcodes/ChangeLog-0001, opcodes/ChangeLog-0203,
1252 opcodes/openrisc-dis.c, opcodes/openrisc-desc.h,
1253 sim/frv/profile-fr550.c, sim/frv/profile-fr550.h,
1254 sim/sh64/sem-compact-switch.c, sim/sh64/sem-media-switch.c,
1255 sim/testsuite/sim/sh64/compact/ldsl-mach.cgs,
1256 sim/testsuite/sim/sh64/compact/ldsl-macl.cgs,
1257 sim/testsuite/sim/sh64/compact/stsl-mach.cgs, and
1258 sim/testsuite/sim/sh64/compact/stsl-macl.cgs.
1259 Remove lines for .cvsignore files.
1260
1261 2004-01-03 J. Brobecker <brobecker@gnat.com>
1262
1263 * infrun.c: Back out the previous change.
1264
1265 2004-01-03 Mark Kettenis <kettenis@gnu.org>
1266
1267 * NEWS: Mention revised SPARC target. Add sparc-*-lynxos* and
1268 sparc-*-sunos4* to the list of REMOVED configurations.
1269
1270 * configure.tgt: Add back sparc-*-vxworks*.
1271 * remote-vxsparc.c: Remove all includes except for "defs.h",
1272 "regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h".
1273 Include "sparc-tdep.h".
1274 (SPARC_R_G1): New define.
1275 (vxsparc_gregset): New variable.
1276 (ext_format_sparc): Remove extern declaration.
1277 (vx_read_register): Rewrite to use sparc32_supply_gregset and
1278 sparc32_supply_fpregset.
1279 (vx_write_register): Rewrite to use sparc32_collect_gregset,
1280 sparc_collect_rwindow and sparc32_collect_fpregset.
1281 * config/sparc/tm-vxworks.h: New file, based on recently removed
1282 tm-vxsparc.h.
1283 * config/sparc/vxworks.mt: New file, based on recently removed
1284 vxworks.mt.
1285
1286 2004-01-03 J. Brobecker <brobecker@gnat.com>
1287
1288 * infrun.c (handle_step_into_function): New function.
1289 (handle_inferior_event): Extract out some code into the new
1290 function above.
1291
1292 2004-01-02 Mark Kettenis <kettenis@gnu.org>
1293
1294 * Makefile.in (ALLDEPFILES): Remove sparc-linux-nat.c and
1295 sparcl-tdep.c. Add sparc-linux-tdep.c, sparc-sol2-nat.c,
1296 sparc-sol2-tdep.c, sparc-sol2-nat.c, sparc-sol2-tdep.c,
1297 sparc64-linux-nat.c, sparc64-linux-tdep.c, sparc64-nat.c,
1298 sparc64-sol2-tdep.c, sparc64-tdep.c, sparc64fbsd-nat.c,
1299 sparc64fbsd-tdep.c, sparcnbsd-nat.c, sparcnbsd-tdep.c.
1300 (sparc_nat_h): New variable.
1301 (sparcbsd_nat_h, sparcnbsd_tdep_h): Remove variables.
1302 (tm-sun4os4.h): Remove dependency.
1303 (sparcbsd-nat.o, sparc-linux-nat.o): Remove dependencies.
1304 (sparc64fbsd-nat.o, sparc64fbsd-tdep.o, sparc64nbsd-nat.o,
1305 sparc64-tdep.o, sparc-nat.o, sparcnbsd-nat.o, sparcnbsd-tdep.o,
1306 sparc-tdep.o): Update dependencies.
1307 (sparc-linux-tdep.o, sparc-sol2-nat.o, sparc-sol2-tdep.o,
1308 sparc64-linux-nat.o, sparc64-linux-tdep.o, sparc64-nat.o,
1309 sparc64-sol2-tdep.o, sparc64-tdep.o, sparc64nbsd-tdep.o): New
1310 dependencies.
1311 * configure.host: Remove existing sparc-*-lynxos*,
1312 sparc-*-solaris*, sparc-*-sunos4*, sparc-*-sunos5*, sparc-*-*,
1313 ultrasparc-*-freebsd, sparcv9-*-freebsd, sparc64-*-linux*,
1314 sparcv9-*-* and sparc64-*-* triplets. Add new sparc64-*-linux*,
1315 sparc-*-solaris2*, sparcv9-*-solaris2* and sparc64-*-solaris2*
1316 triplets.
1317 * configure.tgt: Remove exitsing sparc-*-aout*, sparc-*-coff*,
1318 sparc-*-elf*, sparc*-lynxos*, sparc-*-solars2*, sparc-*-sunos4*,
1319 sparc-*-sunos5*, sparc-*-vxworks*, sparc64-*linux*, sparc64-*-*,
1320 sparcv9-*-* and commented out sparc64-*-solars2* triplets. Add
1321 new sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*,
1322 sparc64-*-linux, sparc-*-solaris2*, sparcv9-*-solaris*,
1323 sparc64-*-solaris2* and sparc64-*-* triplets.
1324 * sparc64-tdep.c: Update copyright year. Include "inferior.h",
1325 "symtab.h" and "objfiles.h".
1326 (BIAS): Remove define.
1327 (X_OP, X_RD, X_A, X_COND, X_OP2, X_IMM22, X_OP3, X_I, X_DISP22)
1328 (X_DISP19): Remove macros.
1329 (sparc_fetch_instruction): Remove function.
1330 (struct gdbarch_tdep): Remove definition.
1331 (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use ARRAY_SIZE.
1332 (sparc_breakpoint_from_pc): Remove function.
1333 (struct sparc64_frame_cache): Remove definition.
1334 (sparc64_alloc_frame_cache, sparc64_analyze_prologue,
1335 sparc64_unwind_pc): Remove functions.
1336 (sparc64_skip_prologue): Use `struct sparc_frame_cache' instead of
1337 `struct sparc64_frame_cache. Call sparc_analyze_prologue instead
1338 of sparc64_analyze_prologue. Mark constant as ULL instead of UL.
1339 (sparc64_frame_cache): Change return type to `struct
1340 sparc_frame_cache *'. Simply call sparc_frame_cache.
1341 (sparc64_frame_this_id, sparc64_frame_prev_register,
1342 sparc64_frame_base_address): Use `struct sparc_frame_cache'
1343 instead of `struct sparc64_frame_cache.
1344 (sparc_unwind_dummy_id, sparc_extract_struct_value_address,
1345 sparc_analyze_control_transfer, sparc_software_single_step,
1346 sparc64_gdbarch_init, sparc_supply_rwindow, sparc_fill_rwindow,
1347 _initialize_sparc64_tdep): Remove functions.
1348 (TSTATE_CWP, TSTATE_ICC, TSTATE_XCC): New macros.
1349 (PSR_S, PSR_ICC, PSR_VERS, PSR_IMPL, PSR_V8PLUS, PSR_XCC): New
1350 macros.
1351 (sparc64_supply_gregset, sparc64_collect_gregset,
1352 sparc64_supply_fpregset, sparc64_collect_fpregset): New functions.
1353 (sparc64_init_abi): New function.
1354 * sparc64-tdep.h: Update copyright year. Fix typo in multiple
1355 inclusion guard. Include "sparc-tdep.h".
1356 (BIAS): Define.
1357 (r_tstate_offset, r_fprs_offset): New defines.
1358 (enum sparc_regnum): Remove defenition.
1359 (enum sparc64_regnum): Reformat.
1360 (sparc_supply_rwindow, sparc_fill_rwindow): Remove prototypes.
1361 (sparc64_init_abi, sparc64_supply_gregset,
1362 sparc64_collect_gregset, sparc64_supply_fpregset,
1363 sparc64_collect_fpregset): New prototypes.
1364 (sparc64_sol2_gregset, sparc64nbsd_gregset, sparc64fbsd_gregset):
1365 Add extern declarations.
1366 (sparc64_sol2_init_abi): New prototype.
1367 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
1368 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
1369 prototypes.
1370 * sparc64fbsd-nat.c: Include "sparc-nat.h", don't include
1371 "sparnbsd-nat.h".
1372 (sparc64fbsd_reg_supplies_p, sparc64fbsd_fpreg_supplies_p): Remove
1373 functions.
1374 (_initialize_sparc64fbsd_nat): Remove initialization of
1375 sparcbsd_supply_reg, sparcbsd_fill_reg, sparcbsd_supply_fpreg,
1376 sparcbsd_fill_fpreg, sparcbsd_reg_supplies_p,
1377 sparcbsd_fpreg_supplies_p. Initialize sparc_gregset.
1378 * sparc64fbsd-tdep.c: Update copyright year. Include "frame.h",
1379 "frame-unwind.h", "trad-frame.h" and "gdb_assert.h".
1380 (sparc64fbsd_r_global_offset, sparc64fbsd_r_out_offset)
1381 (sparc64fbsd_r_fprs_offset, sparc64fbsd_r_tnpc_offset)
1382 (sparc64fbsd_r_tpc_offset, sparc64fbsd_r_tstate_offset)
1383 (sparc64fbsd_r_y_offset): Remove variables.
1384 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
1385 Make static and const.
1386 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
1387 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
1388 functions.
1389 (sparc64fbsd_gregset): New variable.
1390 (fetch_core_registers): Replace calls to sparc64fbsd_supply_reg
1391 and sparc64fbsd_supply_fpreg with calls to sparc64_supply_gregset
1392 and sparc64_supply_fpregset.
1393 (sparc64fbsd_pc_in_sigtramp, sparc64fbsd_sigtramp_frame_cache)
1394 (sparc64fbsd_sigtramp_frame_this_id)
1395 (sparc64fbsd_sigtramp_frame_prev_register): New functions.
1396 (sparc64fbsd_sigtramp_frame_unwind): New variable.
1397 (sparc64fbsd_sigtramp_frame_sniffer): New function.
1398 (sparc64fbsd_init_abi): Set pc_in_sigtramp, append
1399 sparc64fbsd_sigtramp_frame_sniffer. Call sparc64_init_abi.
1400 * sparcnbsd-tdep.c: Update copyright year. Include
1401 "floatformat.h", "frame.h", "frame-unwind.h", "symtab.h",
1402 "trad-frame.h" and "gdb_assert.h", don't include "target.h",
1403 "value.h" and "sparcnbsd-tdep.h".
1404 (REG32_OFFSET_PSR, REG32_OFFSET_PC, REG32_OFFSET_NPC)
1405 (REG32_OFFSET_Y, REG32_OFFSET_GLOBAL, REG32_OFFSET_OUT)
1406 (REG64_OFFSET_TSTATE, REG64_OFFSET_PC, REG64_OFFSET_NPC)
1407 (REG64_OFFSET_Y, REG64_OFFSET_GLOBAL, REG64_OFFSET_OUT): Remove
1408 defines.
1409 (sparcnbsd_gregset): New variable.
1410 (sparcnbsd_supply_reg32, sparcnbsd_supply_reg64)
1411 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64)
1412 (sparcnbsd_supply_fpreg32, sparcnbsd_supply_fpreg64)
1413 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64): Remove functions.
1414 (sparc32nbsd_sigtramp_start, sparc32nbsd_sigtramp_end): New
1415 variables.
1416 (sparc32nbsd_pc_in_sigtramp, sparc32nbsd_sigcontext_frame_cache)
1417 (sparc32nbsd_sigcontext_frame_this_id)
1418 (sparc32nbsd_sigcontext_frame_prev_register): New functions.
1419 (sparc32nbsd_sigcontext_frame_unwind): New variable.
1420 (sparc32nbsd_sigtramp_frame_sniffer): New function.
1421 (sparcnbsd_get_longjmp_target_32,
1422 sparcnbsd_get_longjmp_target_64): Remove functions.
1423 (sparcnbsd_aout_in_solib_call_trampoline): Rewrite.
1424 (sparcnbsd_init_abi_common, sparcnbsd_init_aout,
1425 sparcnbsd_init_elf): Remove.
1426 (sparcnbsd_init_abi, sparcnbsd_aout_init_abi)
1427 (sparcnbsd_elf_init_abi): New functions.
1428 (_initialize_sparcnbsd_tdep): New prototype.
1429 (_initialize_sparnbsd_tdep): Update.
1430 * config/sparc/fbsd.mh (NATDEPFILES): Remove sparcbsd-nat.o and
1431 corelow.o. Add sparc64-nat.o and sparc-nat.o.
1432 * config/sparc/fbsd.mt (TDEPFILES): Add sparc-tdep.o and corelow.o.
1433 * config/sparc/linux.mh: Update comment.
1434 (XM_FILE, HOST_IPC): Remove variables.
1435 (NATDEPFILES): Add sparc-sol2-nat.o and core-regset.o. Remove
1436 sparc-linux-nat.o.
1437 * config/sparc/linux.mt: Update comment.
1438 (TDEPFILES): Add sparc-sol2-tdep.o and sparc-linux-tdep.o.
1439 * config/sparc/nbsd.mt: Reformat.
1440 * config/sparc/nbsd64.mh: Update comment.
1441 (NATDEPFILES): Add sparc-nat.o.
1442 * config/sparc/nbsd64.mt: Update comment.
1443 (TDEPFILES): Add sparc64-tdep.o and sparc64nbsd-tdep.o.
1444 (TM_FILE): Set to tm-nbsd.h.
1445 * config/sparc/nbsdelf.mh: Update comment.
1446 (NATDEPFILES): Add sparc-nat.o.
1447 (XM_FILE): Delete.
1448 * config/sparc/nbsdaout.mh: Update comment.
1449 (NATDEPFILES): Add sparc-nat.o
1450 (XM_FILE): Delete.
1451 * config/sparc/nm-linux.h: Update copyright year. Don't include
1452 "config/nm-svr4.h" and "solib.h". Add protection against multiple
1453 inclusion.
1454 (KERNEL_U_SIZE): Remove define.
1455 (kernel_u_size): Remove prototype.
1456 (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define.
1457 * config/sparc/nm-nbsd.h: Update copyright. Don't include
1458 "regcache.h".
1459 (CHILD_PREPARE_TO_STORE): Remove define.
1460 * config/sparc/nm-nbsdaout.h: Tweak some comments.
1461 * sparc-nat.c, sparc-tdep.c, sparc-tdep.h, sparc64nbsd-nat.c,
1462 sparcnbsd-nat.c: Rewrite files.
1463 * config/sparc/tm-linux.h, config/sparc/tm-nbsd.h: Rewrite files.
1464 * sparc-linux-nat.c, sparcbsd-nat.c, sparcbsd-nat.h,
1465 sparcnbsd-tdep.h: Remove files.
1466 * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4os4.h,
1467 config/sparc/nm-sun4sol2.h, config/sparc/sp64.mt,
1468 config/sparc/sp64linux.mt, config/sparc/sp64sol2.mt,
1469 config/sparc/sparc-em.mt, config/sparc/sparclynx.mh,
1470 config/sparc/sparclynx.mt, config/sparc/sun4os4.mh,
1471 config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh,
1472 config/sparc/sun4sol2.mt, config/sparc/tm-sp64.h,
1473 config/sparc/tm-sp64linux.h, config/sparc/tm-sparc.h,
1474 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
1475 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
1476 config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt,
1477 config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h: Remove files.
1478 * sparc-linux-tdep.c, sparc-nat.h, sparc-sol2-nat.c,
1479 sparc-sol2-tdep.c, sparc64-linux-nat.c, sparc64-linux-t dep.c,
1480 sparc64-nat.c, sparc64-sol2-tdep.c, sparc64nbsd-tdep.c: New files.
1481 * config/sparc/linux64.mh, config/sparc/linux64.mt,
1482 config/sparc/nm-sol2.h, config/sparc/sol2-64.mt,
1483 config/sparc/sol2.mh, config/sparc/sol2.mt, config/sparc/sparc.mt,
1484 config/sparc/sparc64.mt, config/sparc/tm-sol2.h: New files.
1485
1486 2004-01-02 Andrew Cagney <cagney@redhat.com>
1487
1488 From 2003-12-18 Kazuhiro Inaoka:
1489 * configure.host: Add m32r-linux target.
1490
1491 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
1492
1493 * top.c (print_gdb_version): Update year to 2004.
1494
1495 2004-01-02 Mark Mitchell <mark@codesourcery.com>
1496
1497 * MAINTAINERS: Add myself to the write-after-approval category.
1498
1499 2004-01-02 Daniel Jacobowitz <drow@mvista.com>
1500
1501 From Bernardo Innocenti <bernie@develer.com>:
1502 * configure.tgt: Add uClinux target.
1503
1504 2004-01-02 Andrew Cagney <cagney@redhat.com>
1505
1506 * utils.c (do_my_cleanups): Make static, add forward declaration.
1507 * defs.h (do_my_cleanups): Delete declaration.
1508
1509 2004-01-02 Eli Zaretskii <eliz@elta.co.il>
1510
1511 * config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and
1512 bfd/ChangeLog-0203.
1513
1514 2004-01-02 Mark Kettenis <kettenis@gnu.org>
1515
1516 * configure.in: Check for <machine/reg.h>. Check for `struct reg'
1517 in <machine/reg.h>.
1518 * configure, config.in: Regenerate.
1519
1520 For older changes see ChangeLog-2003, mi/ChangeLog-1999-2003, and
1521 tui/ChangeLog-1998-2003.
1522 \f
1523 Local Variables:
1524 mode: change-log
1525 left-margin: 8
1526 fill-column: 74
1527 version-control: never
1528 End: