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