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