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