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