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