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