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