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