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