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