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