Fix unwind abort while compiling glibc, reported by HJ.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2004-02-06 Andrew Cagney <cagney@redhat.com>
2
3 * tui/tui-source.h: Update copyright. Include "tui-data.h".
4 (struct symtab): Declare.
5 (tui_set_source_content): Rename tuiSetSourceContent.
6 (tui_show_symtab_source): Rename tuiShowSource.
7 (tui_source_is_displayed): Rename tuiSourceIsDisplayed.
8 (tui_vertical_source_scroll): Rename tuiVerticalSourceScroll.
9 * tui/tui-source.c: Update copyright. Update references.
10 * tui/tui-win.c, tui/tui-winsource.c: Update references.
11 * tui/tui-stack.c: Update references.
12
13 * tui/tui-win.h: Update copyright. Include "tui-data.h".
14 (struct tui_win_info): Declare.
15 (tui_scroll_forward): Rename tuiScrollForward.
16 (tui_scroll_backward): Rename tuiScrollBackward.
17 (tui_scroll_left): Rename tuiScrollLeft.
18 (tui_scroll_right): Rename tuiScrollRight.
19 (tui_set_win_focus_to): Rename tuiSetWinFocusTo.
20 (tui_resize_all): Rename tuiResizeAll.
21 (tui_refresh_all_win): Rename tuiRefreshAll.
22 (tui_sigwinch_handler): Rename tuiSigwinchHandler.
23 * tui/tui-layout.c, * tui/tui-io.c: Update references.
24 * tui/tui-wingeneral.h, * tui/tui.c: Update references.
25 * tui/tui-disasm.c, * tui/tui-command.c: Update references.
26
27 * tui/tui-windata.h: Update copyright. Include "tui-data.h".
28 (tui_erase_data_content): Rename tuiEraseDataContent.
29 (tui_display_all_data): Rename tuiDisplayAllData.
30 (tui_check_data_values): Rename tuiCheckDataValues.
31 (tui_display_data_from_line): Rename tuiDisplayDataFromLine.
32 (tui_first_data_item_displayed): Rename tuiFirstDataItemDisplayed.
33 (tui_first_data_element_no_in_line): Rename
34 tuiFirstDataElementNoInLine.
35 (tui_delete_data_content_windows): Rename
36 tuiDeleteDataContentWindows.
37 (tui_refresh_data_win): Rename tuiRefreshDataWin.
38 (tui_display_data_from): Rename tuiDisplayDataFrom.
39 (tui_vertical_data_scroll): Rename tuiVerticalDataScroll.
40 * tui/tui-windata.c, tui/tui-hooks.c: Update references.
41 * tui/tui-win.c, tui/tui-regs.c: Update references.
42 * tui/tui-layout.c, tui/tui.c: Update references.
43
44 * tui/tui-wingeneral.h: Update copyright.
45 (m_allBeVisible): Delete macro.
46 (m_allBeInvisible): Delete macro.
47 (struct tui_gen_win_info): Declare.
48 (struct tui_win_info): Declare.
49 (tui_unhighlight_win): Rename unhighlightWin.
50 (tui_make_visible, tui_make_invisible): Replace makeVisible.
51 (tui_make_all_visible, tui_make_all_invisible): Replace makeAllVisible.
52 (tui_make_window): Rename makeWindow.
53 (tui_copy_win): Rename copyWin.
54 (tui_box_win): Rename boxWin.
55 (tui_highlight_win): Rename highlightWin.
56 (tui_check_and_display_highlight_if_needed): Rename
57 checkAndDisplayHighlightIfNeeded.
58 (tui_refresh_all): Rename refreshAll.
59 (tui_delete_win): Rename tuiDelwin.
60 (tui_refresh_win): Rename tuiRefreshWin.
61 * tui/tui-wingeneral.c (make_visible): Rename makeVisible.
62 (tui_make_visible, tui_make_invisible): New functions.
63 (tui_make_all_visible, tui_make_all_invisible): New functions.
64 (make_all_visible): Rename makeAllVisible.
65 * tui/tui-winsource.c, tui/tui-windata.c: Update references.
66 * tui/tui-data.c, tui/tui-winsource.c: Update references.
67 * tui/tui-windata.c, tui/tui-win.c: Update references.
68 * tui/tui-regs.c, tui/tui-layout.c: Update references.
69 * tui/tui-data.h (struct tui_gen_win_info): Rename _TuiGenWinInfo.
70
71 2004-02-06 Mark Kettenis <kettenis@gnu.org>
72
73 * proc-api.c (write_with_trace): Initialize local variable to
74 silence compiler warning.
75
76 2004-02-06 Andrew Cagney <cagney@redhat.com>
77
78 * tui/tui-source.h: Do not include "defs.h".
79 (struct tui_win_info): Declare.
80 (tui_set_source_content_nil): Declare.
81 * tui/tui-data.h (struct tui_win_info): Rename _TuiWinInfo.
82 (union tui_line_or_address): Rename _TuiLineOrAddress.
83 * tui/tui-winsource.h: Update copyright. Include "tui-data.h".
84 (tui_update_source_window): Rename tuiUpdateSourceWindow.
85 (tui_update_source_window_as_is): Rename
86 tuiUpdateSourceWindowAsIs.
87 (tui_update_source_windows_with_addr): Rename
88 tuiUpdateSourceWindowsWithAddr.
89 (tui_update_source_windows_with_line): Rename
90 tuiUpdateSourceWindowsWithLine.
91 (tui_clear_source_content): Rename tuiClearSourceContent.
92 (tui_erase_source_content): Rename tuiEraseSourceContent.
93 (tui_set_source_content_nil): Rename tuiSetSourceContentNil.
94 (tui_show_source_content): Rename tuiShowSourceContent.
95 (tui_horizontal_source_scroll): Rename tuiHorizontalSourceScroll.
96 (tui_set_exec_info_content): Rename tuiSetExecInfoContent.
97 (tui_show_exec_info_content): Rename tuiShowExecInfoContent.
98 (tui_erase_exec_info_content): Rename tuiEraseExecInfoContent.
99 (tui_clear_exec_info_content): Rename tuiClearExecInfoContent.
100 (tui_update_exec_info): Rename tuiUpdateExecInfo.
101 (tui_set_is_exec_point_at): Rename tuiSetIsExecPointAt.
102 (tui_alloc_source_buffer): Rename tuiAllocSourceBuffer.
103 (tui_line_is_displayed): Rename tuiLineIsDisplayed.
104 (tui_addr_is_displayed): Rename tuiAddrIsDisplayed.
105 (struct tui_win_info): Declare.
106 * tui/tui-stack.c: Update references.
107 * tui/tui-layout.c, tui/tui-winsource.c: Ditto.
108 * tui/tui-win.c, tui/tui-source.c: Ditto.
109 * tui/tui.c, tui/tui-disasm.c: Ditto.
110
111 2004-02-06 Mark Kettenis <kettenis@gnu.org>
112
113 * i386-linux-tdep.c (i386_linux_sigcontext_addr): Fix calculation
114 of UCONTEXT_ADDR. Fixes PR backtrace/1545.
115
116 2004-02-05 Mark Kettenis <kettenis@gnu.org>
117
118 * infrun.c (handle_inferior_event): Allow for breakpoint
119 instructions to generate a SIGSEGV in addition to SIGTRAP, SIGILL
120 and SIGEMT. Update comments.
121 * NEWS (Revised SPARC target): Mention support for non-executable
122 stack.
123
124 2004-02-04 Mark Kettenis <kettenis@gnu.org>
125
126 * target.h (target_object): Add TARGET_OBJECT_WCOOKIE.
127 * inftarg.c: Update copyright year.
128 (child_xfer_partial): Add support for TARGET_OBJECT_WCOOKIE.
129 * sparc-nat.c: Include "target.h" and "gdb_assert.h".
130 (sparc_xfer_wcookie): New function.
131 * sparc-tdep.c (sparc_fetch_wcookie): New function.
132 * Makefile.in (sparc-nat.o): Update dependencies.
133 * config/sparc/nm-nbsd.h: Include "target.h".
134 (NATIVE_XFER_WCOOKIE): New define.
135 (sparc_xfer_wcookie): New prototype.
136
137 2004-02-04 Andrew Cagney <cagney@redhat.com>
138
139 * m68k-tdep.c (m68k_saved_pc_after_call): Delete #ifdef
140 SYSCALL_TRAP function.
141 (m68k_gdbarch_init): Delete #ifdef SYSCALL_TRAP code.
142
143 2004-02-04 Andrew Cagney <cagney@redhat.com>
144 Daniel Jacobowitz <drow@mvista.com>
145
146 * objfiles.h: Delete comments refering to inside_entry_func and
147 DEPRECATED_FRAME_CHAIN_VALID.
148 * defs.h (inside_entry_func): Update prototype..
149 * blockframe.c (inside_entry_func): Rename to
150 legacy_inside_entry_func. Add new inside_entry_func taking a frame.
151 * frame.c (get_prev_frame): Pass the frame to inside_entry_func.
152
153 2004-02-03 Jeff Johnston <jjohnstn@redhat.com>
154
155 * breakpoint.c (struct captured_parse_breakpoint_args): Move
156 outside of #ifdef SOLIB_ADD region.
157 (do_restore_lang_radix_cleanup): Ditto.
158 (resolve_pending_breakpoint): Ditto.
159
160 2004-02-03 Andrew Cagney <cagney@redhat.com>
161
162 * ia64-tdep.c (read_sigcontext_register): Delete unused function.
163 (process_note_abi_tag_sections): Delete unused function.
164 (ia64_read_fp): Delete unused function.
165 (gdbarch_extract_struct_value_address): Delete declaration.
166
167 2004-02-02 Andrew Cagney <cagney@redhat.com>
168
169 * vax-tdep.c (vax_frame_chain): Delete call to
170 deprecated_inside_entry_file.
171 * ns32k-tdep.c (ns32k_frame_chain): Ditto.
172
173 2004-02-02 Mark Kettenis <kettenis@gnu.org>
174
175 * dwarf2-frame.c (dwarf2_frame_cache): Deal with a return address
176 column that's "empty" or "same value" when eliminating REG_RA
177 rules.
178
179 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
180
181 * NEWS: Add information about new pending breakpoint support.
182
183 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
184
185 * breakpoint.h (struct breakpoint): Add new flag, from_tty,
186 and pending fields for pending breakpoint support.
187 * breakpoint.c (breakpoint_enabled): Add check for not pending.
188 (condition_command): Only parse condition if not a pending
189 breakpoint.
190 (print_one_breakpoint): Add support for pending breakpoints.
191 (describe_other_breakpoints): Add checks to verify we are not
192 dealing with pending breakpoints.
193 (check_duplicates): Don't check pending breakpoints.
194 (set_raw_breakpoint): Initialize pending flag.
195 (do_restore_lang_radix_cleanup): New cleanup routine.
196 (resolve_pending_breakpoint): New function.
197 (re_enable_breakpoints_in_shlibs): Try and resolve any
198 pending breakpoints via resolve_pending_breakpoint.
199 (mention): Add pending breakpoint support.
200 (parse_breakpoint_sals): Add new parameter to pass to
201 decode_line_1 to indicate silent errors when files or functions
202 are not found. Change all callers.
203 (do_captured_parse_breakpoint): New function.
204 (break_command_1): Change prototype to return an rc value and to
205 take an optional pending breakpoint pointer. Support creating
206 a pending breakpoint if a "not found" form of error occurs when
207 parsing the breakpoint. Also support resolving an existing pending
208 breakpoint and be silent if the resolution fails.
209 (create_breakpoints): Change prototype to take pending breakpoint
210 pointer. When resolving a pending breakpoint, use the new pointer
211 to provide a conditional or commands added by the end-user.
212 (delete_breakpoint): Add appropriate check for pending.
213 (breakpoint_re_set_one): Ditto.
214 (do_enable_breakpoint): Ditto.
215
216 2004-02-02 David Carlton <carlton@kealia.com>
217
218 * valops.c (enum oload_classification): New.
219 (find_overload_match): Break implementation into separate
220 functions; delete #if 0'd code; look for symbols within
221 namespaces.
222 (find_oload_champ_namespace,find_oload_champ_namespace_loop)
223 (find_oload_champ,oload_method_static,classify_oload_match): New.
224 * cp-support.h: Add declaration for cp_func_name; update
225 declaration for make_symbol_overload_list.
226 * cp-support.c (cp_func_name): New.
227 (overload_list_add_symbol): Fix comment, use
228 SYMBOL_LINKAGE_NAME and SYMBOL_NATURAL_NAME.
229 (make_symbol_overload_list): Take a function name and a namespace
230 instead of a symbol; change implementation.
231 (make_symbol_overload_list_using): New.
232 (make_symbol_overload_list_qualified, read_in_psymtabs): New.
233
234 2004-02-02 Fred Fish <fnf@redhat.com>
235
236 * main.c (gdb_stdtarg): Move definition to group with other
237 gdb_stdtarg definitions and update copyright years.
238 * remote-sim.c (gdb_os_write_stderr): Write output to
239 gdb_stdtargerr stream instead of gdb_stdtarg stream.
240 (gdb_os_flush_stderr): Flush gdb_stdtargerr steam instead of
241 gdb_stderr stream and update copyright years.
242
243 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
244
245 * Makefile.in (mips-linux-nat.o): Update dependencies.
246 * mips-linux-nat.c: Include mips-tdep.h.
247
248 2004-02-01 Roland McGrath <roland@redhat.com>
249
250 * sol-thread.c (sol_thread_xfer_partial): New function.
251 (init_sol_thread_ops): Use that for to_xfer_partial hook.
252 (init_sol_core_ops): Likewise.
253
254 * procfs.c (procfs_xfer_partial): New function.
255 (init_procfs_ops): Use that for procfs_ops.to_xfer_partial.
256 * Makefile.in (procfs.o): Add $(auxv_h) dep.
257
258 * config/nm-linux.h (NATIVE_XFER_AUXV): New macro, uses auxv.c's
259 procfs_xfer_auxv function.
260
261 * procfs.c (procfs_make_note_section): If we can read
262 TARGET_OBJECT_AUXV data, add an NT_AUXV note containing it.
263 * linux-proc.c (linux_make_note_section): Likewise.
264
265 * auxv.h: New file.
266 * auxv.c: New file.
267 * Makefile.in (auxv_h): New variable.
268 (COMMON_OBS): Add auxv.o here.
269 (auxv.o): New target.
270
271 * corelow.c (core_xfer_partial): New function.
272 (init_core_ops): Use it for core_ops.to_xfer_partial.
273
274 * target.h (enum target_object): Add TARGET_OBJECT_AUXV.
275 * inftarg.c (child_xfer_partial): Support it using NATIVE_XFER_AUXV
276 macro if that is defined.
277
278 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
279
280 * breakpoint.c (bpstat_stop_status): Take a ptid_t argument,
281 and check the specified thread for each breakpoint.
282 * breakpoint.h (bpstat_stop_status): Update prototype.
283 * infrun.c (handle_inferior_event): Update calls to
284 bpstat_stop_status.
285
286 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
287
288 * Makefile.in (cli-cmds.o): Add $(readline_h).
289
290 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
291
292 * cli/cli-cmds.c: Include readline.h.
293 (complete_command): Pass the start of the last word to
294 complete_line.
295
296 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
297
298 * breakpoint.c (bpstat_stop_status): Remove not_a_sw_breakpoint
299 argument, and change first argument to a CORE_ADDR.
300 * breakpoint.h (bpstat_stop_status): Update prototype.
301 * infrun.c (adjust_pc_after_break): Add a new comment.
302 (handle_inferior_event): Update calls to bpstat_stop_status.
303
304 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
305
306 * breakpoint.h: Update copyright years.
307
308 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
309
310 * breakpoint.c (software_breakpoint_inserted_here_p): New function.
311 (bpstat_stop_status): Don't decrement PC.
312 * breakpoint.h (software_breakpoint_inserted_here_p): Add
313 prototype.
314 * infrun.c (adjust_pc_after_break): New function.
315 (handle_inferior_event): Call it, early. Remove later references
316 to DECR_PC_AFTER_BREAK.
317 (normal_stop): Add commentary.
318
319 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
320
321 * breakpoint.c (breakpoint_re_set_one): Add missing chunk of
322 2004-01-27 double-free fix.
323
324 2004-01-31 Mark Kettenis <kettenis@gnu.org>
325
326 * sparc-tdep.c (sparc_fetch_wcookie): New function.
327 (sparc32_frame_prev_register): Handle StackGhost.
328 (sparc_supply_rwindow, sparc_collect_rwindow): Likewise.
329
330 2004-01-29 Roland McGrath <roland@redhat.com>
331
332 * configure.in (NEW_PROC_API): Also match solaris2.9 for this test.
333 * configure: Regenerated.
334
335 * procfs.c: Include gdb_string.h for str* decls, otherwise warnings.
336 * Makefile.in (procfs.o): Add dep.
337
338 2004-01-28 Andrew Cagney <cagney@redhat.com>
339
340 * tui/tui-stack.h: Update copyright.
341 (struct frame_info): Add opaque declaration.
342 (tui_update_locator_filename): Rename tuiUpdateLocatorFilename.
343 (tui_show_locator_content): Rename tuiShowLocatorContent.
344 (tui_show_frame_info): Rename tuiShowFrameInfo.
345 * tui/tui-stack.c: Update copyright. Update references.
346 * tui/tui-winsource.c: Update references.
347 * tui/tui-win.c: Update references.
348 * tui/tui-layout.c: Update references.
349 * tui/tui-hooks.c: Update copyright, update references.
350 * tui/tui.c: Update copyright, update references.
351 * tui/tui-disasm.c: Update references.
352
353 2004-01-28 David Carlton <carlton@kealia.com>
354
355 * dwarf2read.c (add_partial_structure): Use demangled name if
356 namespace equals "".
357
358 2004-01-27 Jim Blandy <jimb@redhat.com>
359
360 Clean up misapplied patch:
361 * dwarf2read.c (determine_prefix): Change one of the two forward
362 declarations for 'determine_prefix_aux' to a declaration for this.
363 (read_func_scope): Use cu->language, not cu_language. Pass 'cu'
364 argument to 'die_specification'.
365
366 * dwarf2read.c (read_func_scope): Re-indent comment.
367
368 2004-01-27 Paul N. Hilfinger <hilfinger@gnat.com>
369
370 * breakpoint.c (breakpoint_re_set_one): Set b->cond, b->val, and
371 b->exp to NULL after freeing so that error during re-parsing or
372 evaluation of expressions associated with breakpoint don't
373 eventually lead to re-freeing of storage.
374 Committed by Andrew Cagney.
375
376 2004-01-27 Andrew Cagney <cagney@redhat.com>
377
378 * source.c (ambiguous_line_spec): Delete undefined declaration.
379 * m32r-rom.c (m32r_set_board_address): Delete unused function.
380 (m32r_set_server_address, m32r_set_download_path): Ditto.
381 * remote-fileio.c (remote_fileio_to_fio_int): Ditto.
382
383 2004-01-27 Daniel Jacobowitz <drow@mvista.com>
384
385 * dwarf2read.c: Update calls to changed and renamed functions, and
386 references to moved variables.
387
388 (struct dwarf2_cu): Add first_fn, last_fn, cached_fn,
389 language, language_defn, list_in_scope, and ftypes members.
390 (cu_first_fn, cu_last_fn, cu_cached_fn, cu_language)
391 (cu_language_defn, list_in_scope, ftypes, cu_header_offset)
392 (baseaddr): Remove globals.
393
394 (dwarf_attr): Renamed to dwarf2_attr. Add CU argument.
395 (set_cu_language, die_is_declaration, die_specification)
396 (determine_prefix, determin_prefix_aux, class_name, namespace_name)
397 (dwarf2_linkage_name, dwarf2_name, dwarf2_extension)
398 (dwarf2_get_ref_die_offset, dwarf2_fundamental_type)
399 (initialize_cu_func_list, add_to_cu_func_list): Add CU argument.
400
401 (dwarf2_build_psymtabs_hard): Add local baseaddr. Initialize
402 cu.list_in_scope. Don't initialize cu_header_offset.
403 (add_partial_symbol): Add local baseaddr.
404 (psymtab_to_symtab_1): Add local baseaddr. Use
405 objfile->section_offsets for consistency. Don't initialize
406 cu_header_offset; do initialize cu.header.offset and
407 cu.list_in_scope.
408 (read_file_scope, read_func_scope, read_lexical_block_scope)
409 (dwarf_decode_lines, new_symbol): Add local baseaddr.
410
411 2004-01-27 Michael Chastain <mec.gnu@mindspring.com>
412
413 * PROBLEMS: Add gdb/1516.
414
415 2003-12-29 Robert Millan <robertmh@gnu.org>
416
417 Patch committed by Andrw Cagney.
418 * configure.host: Match knetbsd*-gnu and kfreebsd*-gnu.
419 * configure.tgt: Match knetbsd*-gnu.
420
421 2004-01-26 Andrew Cagney <cagney@redhat.com>
422
423 * breakpoint.c (catch_command_1): Delete #ifdef code.
424 (catch_fork_command_1): Delete #ifdef wrapper.
425 (catch_exec_command_1): Ditto.
426 (catch_load_command_1): Ditto.
427 (catch_unload_command_1): Ditto.
428
429 * breakpoint.c (watchpoint_check): Delete #if0ed variable.
430 (catch_breakpoint): Delete #if0ed function.
431 (disable_catch_breakpoint): Ditto.
432 (delete_catch_breakpoint, enable_catch_breakpoint): Ditto.
433 (disable_catch, enable_catch, delete_catch): Ditto.
434
435 2004-01-26 Andrew Cagney <cagney@redhat.com>
436
437 * remote.c (echo_check, quit_flag): Delete variables.
438 (cisco_kernel_mode): Delete variable.
439 (minitelnet_return, tty_input, escape_count): Delete variables.
440 (remote_cisco_mode): Delete variable.
441 (remote_cisco_open, remote_cisco_close): Delete function.
442 (remote_cisco_mourn, remote_cisco_wait): Delete function.
443 (init_remote_cisco_ops): Delete function.
444 (_initialize_remote): Do not install "remote cisco" code.
445 (read_frame): Delete cisco specific code.
446 (remote_info_process): Delete function.
447 (remote_wait): Delete cisco specific code.
448 (remote_cisco_section_offsets): Delete function.
449 (remote_cisco_objfile_relocate): Delete function.
450 (remote_async_wait): Delete cisco specific code.
451 (minitelnet, readtty, readsocket): Delete function.
452
453 2004-01-26 Andrew Cagney <cagney@redhat.com>
454
455 * gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS): Deprecate. Add
456 comments mentioning extract_returned_value_address.
457 * infcmd.c (print_return_value): Update. Add comments on
458 extract_returned_value_address.
459 * stack.c (return_command): Add comments on
460 extract_returned_value_address.
461 * values.c: Update comment.
462 * m32r-tdep.c: Update comment.
463 * sparc-tdep.c: Update comment.
464 * ia64-tdep.c (ia64_use_struct_convention): Update comment.
465 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
466 * sh64-tdep.c (sh64_gdbarch_init): Update.
467 * sh-tdep.c (sh_gdbarch_init): Update.
468 * s390-tdep.c (s390_gdbarch_init): Update.
469 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
470 * m68klinux-tdep.c (m68k_linux_init_abi): Update.
471 * m68k-tdep.c (m68k_gdbarch_init): Update.
472 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
473 * m32r-tdep.c (m32r_gdbarch_init): Update.
474 * ia64-tdep.c (ia64_gdbarch_init): Update.
475 * h8300-tdep.c (h8300_gdbarch_init): Update.
476 * frv-tdep.c (frv_gdbarch_init): Update.
477 * arm-tdep.c (arm_gdbarch_init): Update.
478 * alpha-tdep.c (alpha_gdbarch_init): Update.
479
480 2004-01-26 Andrew Cagney <cagney@redhat.com>
481
482 * dwarf2loc.c (dwarf_expr_frame_base): Use SYMBOL_OPS instead of
483 SYMBOL_LOCATION_FUNCS
484 (dwarf2_loclist_funcs, dwarf2_locexpr_funcs): Change type to
485 "struct symbol_ops".
486 * dwarf2loc.h (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Change
487 type to "struct symbol_ops".
488 * symtab.h (struct symbol_ops): Rename "struct location_funcs".
489 (struct symbol): Replace ".aux_value.loc.funcs" and
490 ".aux_value.loc.baton" with ".ops" and ".aux_value.ptr".
491 (SYMBOL_OBJFILE): Delete macro.
492 (SYMBOL_LOCATION_FUNCS): Delete macro.
493 (SYMBOL_LOCATION_BATON): Update.
494 * dwarf2read.c (dwarf2_symbol_mark_computed): Set SYMBOL_OPS
495 intead of SYMBOL_LOCATION_FUNCS.
496 * ax-gdb.c (gen_var_ref): Ditto.
497 * printcmd.c (address_info): Ditto.
498 * findvar.c (read_var_value): Ditto.
499 (symbol_read_needs_frame): Ditto.
500
501 2004-01-26 Andrew Cagney <cagney@redhat.com>
502
503 * dwarf2read.c (read_func_scope): Document frame-base hack.
504
505 2004-01-25 Mark Kettenis <kettenis@gnu.org>
506
507 * infcmd.c (print_return_value): Plug memory leak; delete
508 ui_stream object. Rename argument `structure_return' to
509 `struct_return'.
510
511 2004-01-25 Mark Kettenis <kettenis@gnu.org>
512
513 * infcmd.c (print_return_value): Wrap long lines.
514 (finish_command_continuation, finish_command): Remove unused
515 variable `funcaddr'. Fix some coding-standards problems.
516
517 * sparc-tdep.c (sparc_regset_from_core_section): Check whether
518 SECT_SIZE is large enough, not wheter it's exactly the right size.
519 (sparc32_gdbarch_init): Initialize TDEP->sizeof_gregset and
520 TDEP->fpregset to zero.
521
522 * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Also supply the
523 floating-point registers for traditional NetBSD core files.
524 (sparc32nbsd_init_abi): Initialize TDEP->sizeof_gregset and
525 TDEP->sizeof_fpregset here.
526
527 2004-01-25 Mark Kettenis <kettenis@gnu.org>
528
529 * sparc-tdep.h (sparc32nbsd_sigcontext_saved_regs): New prototype.
530 * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): New
531 function with code split out from
532 sparc32nbsd_sigcontext_frame_cache.
533 (sparc32nbsd_sigcontext_frame_cache): Use
534 sparc32nbsd_sigcontext_saved_regs.
535 (_initialize_sparc32nbsd_tdep): Don't register OS ABI handler for
536 OpenBSD.
537 * sparcobsd-tdep.c: New file.
538 * Makefile.in (ALLDEPFILES): Add sparcobsd-tdep.c.
539 (sparcobsd-tdep.o): New dependency.
540 * configure.tgt (sparc-*-openbsd*): Set gdb_target to obsd.
541 * config/sparc/obsd.mt: New file.
542
543 * sparc-tdep.c (sparc32_gdbarch_init): Don't require
544 TDEP->fpregset to be initialized to enable core file register
545 sets.
546
547 2004-01-24 Mark Kettenis <kettenis@gnu.org>
548
549 * sparc64-tdep.h (struct frame_info, struct trad_frame_saved_reg):
550 Add opaque declarations.
551 (sparc64nbsd_sigcontext_saved_regs): New prototype.
552 * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): New
553 function with code split out from
554 sparc64nbsd_sigcontext_frame_cache.
555 (sparc64nbsd_sigcontext_frame_cache): Use
556 sparc64nbsd_sigcontext_saved_regs.
557 (_initialize_sparc64nbsd_tdep): Don't register OS ABI handler for
558 OpenBSD.
559 * sparc64obsd-tdep.c: New file.
560 * Makefile.in (ALLDEPFILES): Add sparc64obsd-tdep.c.
561 (sparc64obsd-tdep.o): New dependency.
562 * configure.tgt (sparc64-*-openbsd*): Set gdb_target to obsd64 and
563 gdb_osabi to GDB_OSABI_OPENBSD_ELF.
564 * config/sparc/obsd64.mt: New file.
565
566 * sparc-tdep.c (sparc_fetch_instruction): Return zero if we can't
567 read the instruction at PC.
568
569 * sparcnbsd-tdep.c (GDB_OSABI_NETBSD_CORE): Define, based on the
570 value of GDB_OSABI_DEFAULT.
571 (sparcnbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_CORE
572 instead of GDB_OSABI_NETBSD_AOUT.
573
574 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
575
576 * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-cmds.h: Update
577 copyright.
578
579 2004-01-23 Andrew Cagney <cagney@redhat.com>
580
581 * printcmd.c (display_command): Replace tui_set_display call with
582 tui_set_layout_for_display_command.
583 * tui/tui.h (enum tui_win_type): Define.
584 (tui_set_layout): Delete declaration.
585 (tui_set_layout_for_display_command): Rename set_tui_layout.
586 * tui/tui-data.h (enum tui_layout_type): Define.
587 * tui/tui-layout.h: Update copyright. Include "tui-data.h" and
588 "tui.h".
589 (tui_add_win_to_layout): Rename tuiAddWinToLayout.
590 (tui_default_win_height): Rename tuiDefaultWinHeight.
591 (tui_default_win_viewport_height): Rename
592 tuiDefaultWinViewportHeight.
593 (tui_set_layout): RenametuiSetLayout.
594 * tui/tui-layout.c: Update references.
595 * tui/tui.c: Update references.
596 * tui/tui-disasm.c: Update references.
597
598 2004-01-23 David Carlton <carlton@kealia.com>
599
600 Partial workaround for PR c++/1511:
601 * cp-namespace.c: Include frame.h.
602 (cp_lookup_transparent_type): New
603 (cp_lookup_transparent_type_loop): New.
604 * cp-support.h: Declare cp_lookup_transparent_type.
605 * symtab.c (basic_lookup_transparent_type): Renamed from
606 lookup_transparent_type.
607 (lookup_transparent_type): Replace old body by a call to
608 current_language->la_lookup_transparent_type.
609 * symtab.h: Update copyright. Declare
610 basic_lookup_transparent_type.
611 * language.h: Update copyright.
612 (struct language_defn): Add la_lookup_transparent_type.
613 * language.c: Update copyright.
614 (unknown_language_defn): Add basic_lookup_transparent_type.
615 (auto_language_defn): Add basic_lookup_transparent_type.
616 (local_language_defn): Add basic_lookup_transparent_type.
617 * ada-lang.c: Update copyright.
618 (ada_language_defn): Add basic_lookup_transparent_type.
619 * c-lang.c: Update copyright.
620 (c_language_defn): Add basic_lookup_transparent_type.
621 (cplus_language_defn): Add basic_lookup_transparent_type.
622 (asm_language_defn): Add basic_lookup_transparent_type.
623 (minimal_language_defn): Add basic_lookup_transparent_type.
624 * f-lang.c: Update copyright.
625 (f_language_defn): Add basic_lookup_transparent_type.
626 * jv-lang.c: Update copyright.
627 (java_language_defn): Add basic_lookup_transparent_type.
628 * m2-lang.c: Update copyright.
629 (m2_language_defn): Add basic_lookup_transparent_type.
630 * objc-lang.c: Update copyright.
631 (objc_language_defn): Add basic_lookup_transparent_type.
632 * p-lang.c: Update copyright.
633 (p_language_defn): Add basic_lookup_transparent_type.
634 * scm-lang.c: Update copyright.
635 (scm_language_defn): Add basic_lookup_transparent_type.
636 * Makefile.in (cp-namespace.o): Depend on frame.h.
637
638 2004-01-23 David Carlton <carlton@kealia.com>
639
640 Patch for PR c++/1520:
641 * dwarf2read.c (read_func_scope): Set processing_current_prefix
642 properly if we have a specification die.
643 (determine_prefix_aux): Rename from determine_prefix.
644 (determine_prefix): Like the old determine_prefix, but never
645 returns NULL.
646
647 2004-01-23 Theodore A. Roth <troth@openavr.org>
648
649 * avr-tdep.c: Update copyright.
650 (avr_iaddr_p): Delete unused function.
651 (avr_saddr_p): Delete unused function.
652
653 2004-01-23 David Carlton <carlton@kealia.com>
654
655 * symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab.
656 Fix for PR symtab/1534.
657
658 2004-01-23 Mark Kettenis <kettenis@gnu.org>
659
660 * NEWS (New native configurations): Mention OpenBSD/sparc and
661 OpenBSD/sparc64.
662 * configure.tgt: Add sparc-*-openbsd* and sparc64-*-openbsd*.
663 * configure.host: Likewise.
664 * sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Register OS ABI
665 handler for OpenBSD.
666 * sparc64nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Likewise.
667
668 2004-01-22 Mark Kettenis <kettenis@gnu.org>
669
670 * sparcnbsd-tdep.c (sparcnbsd_core_osabi_sniffer): New function.
671 (_initialize_sparnbsd_tdep): Register sparcnbsd_core_osabi_sniffer.
672
673 * ser-pipe.c (pipe_open): Use proper null pointer in execl call.
674 * cli/cli-cmds.c (shell_escape): Likewise.
675
676 * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Recognize
677 OpenBSD .note.openbsd.ident sections.
678
679 2004-01-22 David Carlton <carlton@kealia.com>
680
681 * dwarf2read.c (psymtab_to_symtab_1): Calculate lowpc, highpc via
682 get_scope_pc_bounds.
683 (read_file_scope): Ditto.
684 (get_scope_pc_bounds): New function, produced by extracting code
685 from the above two functions, consolidating it, and adding support
686 for DW_TAG_namespace.
687
688 2004-01-22 Mark Kettenis <kettenis@gnu.org>
689
690 * osabi.c (MAX_NOTESZ): New define.
691 (check_note): New function.
692 (generic_elf_osabi_sniff_abi_tag_sections): Reorganize code using
693 check_note.
694
695 2004-01-21 Roland McGrath <roland@redhat.com>
696
697 * MAINTAINERS (write after approval): Add myself.
698
699 2004-01-21 Eli Zaretskii <eliz@gnu.org>
700
701 * utils.c (init_page_info): Move declarations of `rows' and
702 `cols' before the __GO32__-specific code. Move the closing brace
703 outside the #ifdef __GO32__..#endif block.
704 [__GO32__]: Use `rows' and `cols' to avoid compiler warnings.
705
706 2004-01-21 Paul Brook <paul@codesourcery.com>
707
708 * infrun.c (handle_inferior_event): Check stop_stack_dummy if handling
709 BPSTAT_WHAT_CHECK_SHLIBS.
710
711 2004-01-21 Paul Brook <paul@codesourcery.com>
712
713 * MAINTAINERS: Add myself to write-after-approval.
714
715 2004-01-20 Andrew Cagney <cagney@redhat.com>
716
717 * ax-gdb.c (print_axs_value): Delete unused function.
718 * jv-lang.c (java_lookup_type): Delete unused function.
719 * cli/cli-dump.c (dump_filetype): Delete unused function.
720 * remote-mips.c (remote_mips_insert_hw_breakpoint)
721 (remote_mips_remove_hw_breakpoint): Delete unused functions.
722 (mips_getstring): Delete unused function.
723 (pmon_insert_breakpoint): Delete #if0ed function.
724 (PMON_MAX_BP): Delete #if0ed MACRO.
725 (mips_pmon_bp_info): Delete #if0ed variable.
726 (pmon_remove_breakpoint): Delete #if0ed function.
727 * monitor.c (monitor_write_even_block): Delete unused function.
728 (monitor_write_memory_block): Delete #if0ed code.
729 * dink32-rom.c (dink32_load): Delete unused function.
730 (_initialize_dink32_rom): Delete #if0ed code.
731 * d10v-tdep.c (d10v_daddr_p): Delete unused function.
732
733 * tui/tui-command.c: Update references.
734 * tui/tui-io.c: Update references.
735 * tui/tui-command.h: Update copyright.
736 (tui_dispatch_ctrl_char): Rename tuiDispatchCtrlChar.
737
738 * source.c (ambiguous_line_spec): Delete never-defined function.
739 * remote-rdi.c (arm_rdi_mourn, arm_rdi_send): Ditto.
740 * gdbtypes.c (add_name, add_mangled_type): Ditto.
741 * cli/cli-cmds.c (validate_comname): Ditto.
742
743 * tui/tui-disasm.h: Update copyright. Include "tui.h" and
744 "tui-data.h".
745 (tui_set_disassem_content): Rename tuiSetDisassemContent.
746 (tui_show_disassem): Rename tuiShowDisassem.
747 (tui_show_disassem_and_update_source): Rename
748 tuiVerticalDisassemScroll.
749 (tui_vertical_disassem_scroll): Rename tuiVerticalDisassemScroll.
750 (tui_get_begin_asm_address): Rename tuiGetBeginAsmAddress.
751 * tui/tui.h: Update copyright.
752 (enum tui_status): Define.
753 * tui/tui-data.h (enum tui_scroll_direction): Define.
754 * tui/tui-disasm.c: Update copyright. Update references.
755 * tui/tui-winsource.c: Update copyright. Update references.
756 * tui/tui-win.c: Update references.
757 * tui/tui-layout.c: Update references.
758
759 2004-01-20 Andrew Cagney <cagney@redhat.com>
760
761 * mi/mi-cmd-stack.c (list_args_or_locals): Move declaration of
762 sym2 to start of block.
763
764 2004-01-19 Michael Chastain <mec.gnu@mindspring.com>
765
766 * MAINTAINERS: Delete mmalloc.
767 * Makefile.in: Delete MMALLOC, MMALLOC_CFLAGS, -lmmalloc, mmalloc_h.
768 * NEWS: Mention removal of --with-malloc.
769 * acconfig.h: Delete USE_MMALLOC, MMCHECK_FORCE.
770 * config.in: Regenerate.
771 * configure: Regenerate.
772 * configure.in: Delete MMALLOC_CFLAGS, MMALLOC, --with-mmalloc,
773 USE_MMALLOC, MMCHECK_FORCE.
774 * gdbinit.in: Remove mmalloc.
775 * utils.c: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, malloc_botch.
776 * config/alpha/alpha-linux.mh: Delete MMALLOC, MMALLOC_CFLAGS.
777 * config/i386/go32.mh: Likewise.
778 * config/i386/interix.mh: Likewise.
779 * config/powerpc/xm-linux.h: Delete MMAP_BASE_ADDRESS, MMAP_INCREMENT.
780
781 2004-01-19 Jeff Johnston <jjohnstn@redhat.com>
782
783 * linespec.c (decode_variable, symtab_from_filename): Call
784 error_silent with error message instead of throwing an exception
785 directly.
786 * defs.h (error_silent, error_output_message): Add prototypes.
787 (catch_exceptions_with_msg): Ditto.
788 * utils.c (error_silent, error_output_message): New functions.
789 * top.c (catch_exceptions_with_msg): New function.
790
791 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
792
793 * mi/mi-cmds.h (enum print_values): Add definition.
794
795 * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Print the name,
796 type and value for simple data types and just the name and type
797 for complex ones, if required.
798
799 * mi/mi-cmd-var.c (mi_cmd_var_list_children): Print the values of the
800 children, if required.
801
802 2004-01-19 Kevin Buettner <kevinb@redhat.com>
803
804 * frv-tdep.c (frv_push_arguments, frv_saved_pc_after_call): Delete
805 unused declarations.
806
807 2004-01-19 Andrew Cagney <cagney@redhat.com>
808
809 * top.h (mapped_symbol_files): Delete declaration.
810 * main.c (captured_main): Delete option "m" and "mapped".
811 * objfiles.c (mapped_symbol_files): Delete variable.
812 * symfile.c (symbol_file_command): Delete mmap code.
813 (symbol_file_add_with_addrs_or_offsets): Ditto.
814 (add_symbol_file_command, reread_separate_symbols): Ditto.
815 * objfiles.h (OBJF_MAPPED): Delete.
816 * objfiles.c (allocate_objfile) [USE_MMALLOC]: Delete.
817 (free_objfile) [USE_MMALLOC]: Ditto.
818 (open_existing_mapped_file): Delete function.
819 (open_mapped_file): Delete function.
820 (map_to_file): Delete function.
821
822 2004-01-19 Kevin Buettner <kevinb@redhat.com>
823
824 * infrun.c (step_into_function): Account for possible breakpoint
825 adjustment when computing ``stop_func_start''.
826
827 2004-01-19 Kevin Buettner <kevinb@redhat.com>
828
829 * target.c (default_region_size_ok_for_hw_watchpoint): Compare
830 the region size against the size of a pointer, not the size of
831 a register as given by DEPRECATED_REGISTER_SIZE.
832
833 2004-01-19 Andrew Cagney <cagney@redhat.com>
834
835 * tui/tui-regs.h: Include "tui-data.h".
836 (tuiFirstRegElementNoInLine): Delete declaration.
837 (tui_display_registers_from): Rename tuiDisplayRegistersFrom.
838 (tui_last_regs_line_no): Rename tuiLastRegsLineNo.
839 (tui_line_from_reg_element_no): Rename tuiLineFromRegElementNo.
840 (tui_calculate_regs_column_count): Rename
841 tuiCalculateRegsColumnCount.
842 (tui_check_register_values): Rename tuiCheckRegisterValues.
843 (tui_show_registers): Rename tuiShowRegisters.
844 (tui_display_registers_from_line): Rename
845 tuiDisplayRegistersFromLine.
846 (tui_first_reg_element_inline): Rename tuiFirstRegElementInLine.
847 (tui_toggle_float_regs): Rename tuiToggleFloatRegs.
848 (tui_first_reg_element_no_inline): Rename
849 tuiFirstRegElementNoInLine.
850 * tui/tui-data.h: Update copyright.
851 (enum tui_register_display_type): Rename _TuiRegisterDisplayType.
852 * tui/tui-windata.c: Update copyright, update references.
853 * tui/tui-regs.c: Update copyright, update references.
854 * tui/tui-win.c: Update copyright, update references.
855 * tui/tui-layout.c: Update copyright, update references.
856
857 2004-01-18 Andrew Cagney <cagney@redhat.com>
858
859 * tui/tui-io.c: Update copyright.
860 (key_is_end_sequence, key_is_backspace): New functions.
861 (key_is_command_char, key_is_start_sequence): New function.
862 (tui_getc): Update references.
863 * tui/tui-io.h: Update copyright.
864 (m_tuiStartNewLine): Delete macro.
865 (m_isBackspace, m_isDeleteChar): Delete macros.
866 (m_isDeleteLine, m_isDeleteToEol): Delete macros.
867 (m_isNextPage, m_isPrevPage): Delete macros.
868 (m_isLeftArrow, m_isRightArrow): Delete macros.
869 (m_isXdbStyleCommandChar): Delete macro.
870 (key_is_start_sequence): Declare, replace m_isStartSequence.
871 (key_is_end_sequence): Declare, replace m_isEndSequence.
872 (key_is_backspace): Declare ,replace m_isBackspace.
873 (key_is_command_char): Declare, replace m_isCommandChar.
874 * tui/tui-command.c: Update copyright.
875 (tuiDispatchCtrlChar): Update references.
876
877 * config/djgpp/fnchange.lst: Delete tui/tuiSourceWin.c and
878 tuiSourceWin.h.
879
880 * tui/tui-command.c: Rename tui/tuiCommand.c.
881 * tui/tui-command.h: Rename tui/tuiCommand.h.
882 * tui/tui-data.c: Rename tui/tuiData.c.
883 * tui/tui-data.h: Rename tui/tuiData.h.
884 * tui/tui-disasm.c: Rename tui/tuiDisassem.c.
885 * tui/tui-disasm.h: Rename tui/tuiDisassem.h.
886 * tui/tui-io.c: Rename tui/tuiIO.c.
887 * tui/tui-io.h: Rename tui/tuiIO.h.
888 * tui/tui-layout.c: Rename tui/tuiLayout.c.
889 * tui/tui-layout.h: Rename tui/tuiLayout.h.
890 * tui/tui-regs.c: Rename tui/tuiRegs.c.
891 * tui/tui-regs.h: Rename tui/tuiRegs.h.
892 * tui/tui-source.c: Rename tui/tuiSource.c.
893 * tui/tui-source.h: Rename tui/tuiSource.h.
894 * tui/tui-stack.c: Rename tui/tuiStack.c.
895 * tui/tui-stack.h: Rename tui/tuiStack.h.
896 * tui/tui-win.c: Rename tui/tuiWin.c.
897 * tui/tui-win.h: Rename tui/tuiWin.h.
898 * tui/tui-windata.c: Rename tui/tuiDataWin.c.
899 * tui/tui-windata.h: Rename tui/tuiDataWin.h.
900 * tui/tui-wingeneral.c: Rename tui/tuiGeneralWin.c.
901 * tui/tui-wingeneral.h: Rename tui/tuiGeneralWin.h.
902 * tui/tui-winsource.c: Rename tui/tuiSourceWin.c.
903 * tui/tui-winsource.h: Rename tui/tuiSourceWin.h.
904 * tui/tui-file.c: Update includes.
905 * tui/tui-hooks.c: Update includes.
906 * tui/tui-interp.c: Update includes.
907 * tui/tui.c: Update includes.
908 * Makefile.in: Update all tui/ dependencies.
909 (SUBDIR_TUI_OBS, SUBDIR_TUI_SRCS): Update file names.
910
911 * Makefile.in: Update copyright. Update dependencies.
912
913 * tui/tuiSourceWin.c (tui_update_breakpoint_info): Fix compile
914 problem.
915
916 2004-01-18 Andrew Cagney <cagney@redhat.com>
917
918 * mn10300-tdep.c (_initialize_mn10300_tdep): Call gdbarch_register
919 instead of register_gdbarch_init.
920
921 * remote-sds.c (tohex): Delete unused function. Update copyright.
922 * xstormy16-tdep.c (xstormy16_register_virtual_size): Ditto.
923 * v850-tdep.c (v850_register_virtual_size): Ditto.
924 * target.c (normal_target_post_startup_inferior): Ditto.
925 * source.c (ambiguous_line_spec): Ditto.
926 * remote.c (adapt_remote_get_threadinfo): Ditto.
927 * mi/mi-out.c (out_field_fmt): Ditto.
928 * mi/mi-interp.c (mi_interp_read_one_line_hook): Ditto.
929 (output_control_change_notification): Ditto.
930 * m68k-tdep.c (m68k_register_byte): Ditto.
931 (m68k_remote_breakpoint_from_pc): Ditto.
932 * ui-out.c (init_ui_out_state): Delete unused declaration.
933 * stabsread.c (search_value): Ditto.
934 * mi/mi-cmd-env.c (env_cli_command): Ditto.
935 * maint.c (print_section_table): Ditto.
936 * infrun.c (set_follow_fork_mode_command): Ditto.
937
938 2004-01-18 Mark Kettenis <kettenis@gnu.org>
939
940 * dwarf2-frame.c (execute_cfa_program): Move DWA_CFA_nop before
941 DW_CFA_def_cfa_exporession. Add support for
942 DW_CFA_offset_extendend_sf, DW_CFA_def_cfa_sf and
943 DW_CFA_def_cfa_offset_sf. This should fix PR backtrace/1391.
944
945 2004-01-18 Andrew Cagney <cagney@redhat.com>
946
947 * ocd.c: Update copyright.
948 (bdm_read_register_command): Delete unused function.
949 (_initialize_remote_ocd): Delete commented out reference.
950 (get_quoted_char, reset_packet): Delete #if0ed function.
951 (output_packet, put_quoted_char): Delete #if0ed function.
952 (stu_put_packet, stu_get_packet): Delete #if0ed function.
953 (ocd_start_remote): Delete #if0ed code, remove #if1 wrapper.
954 (BDM_BREAKPOINT): Delete #if0ed macro.
955 (remote_timeout): Delete #if0ed variable.
956
957 2004-01-18 Mark Kettenis <kettenis@gnu.org>
958
959 * Makefile.in (ALLDEPFILES): Remove core-sol2.c.
960 (core-sol2.o): Remove dependency.
961 * core-sol2.c: Remove file.
962
963 2004-01-17 Andrew Cagney <cagney@redhat.com>
964
965 * mdebugread.c (compare_blocks): Make addr_diff a LONGEST.
966 * block.h: Make GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOOCK
967 enums.
968
969 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
970
971 * remote.c: Update copyright years.
972
973 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
974
975 * remote.c (remote_vcont_resume): Use xstrprintf instead of sprintf.
976
977 2004-01-17 Andrew Cagney <cagney@redhat.com>
978
979 * mdebugread.c: Update copyright.
980 (parse_symbol): Replace DEPRECATED_STREQ with strcmp.
981 (parse_type, parse_procedure): Ditto.
982 (parse_partial_symbols, psymtab_to_symtab_1): Ditto.
983
984 * cris-tdep.c (cris_store_struct_return): Put back accidently
985 deleted function.
986
987 * gdbarch.sh: Update copyright year.
988 * gdbarch.h, gdbarch.c: Re-generate.
989
990 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
991
992 Suggested by George Anzinger.
993 * dwarf2expr.c (execute_stack_op): Fetch the second item from the
994 correct stack offset. Include unknown opcode numbers in the error
995 message.
996
997 2004-01-17 Andrew Cagney <cagney@redhat.com>
998
999 * x86-64-tdep.c (x86_64_init_abi): No need to clear
1000 extract_struct_value_address, i386 does not set it.
1001 * sparc64-tdep.c (sparc64_init_abi): Do not set
1002 extract_struct_value_address, never called.
1003 (sparc64_extract_struct_value_address): Delete function.
1004 * m68hc11-tdep.c: Update copyright.
1005 (m68hc11_gdbarch_init): Delete redundant assignment of
1006 extract_struct_value_address.
1007 * i386-tdep.c: Update copyright.
1008 (i386_gdbarch_init): Do not set extract_struct_value_address,
1009 never called.
1010 (i386_extract_struct_value_address): Delete function.
1011 * sparc-tdep.c (sparc32_gdbarch_init): Do not set
1012 extract_struct_value_address, never called.
1013 (sparc32_extract_struct_value_address): #if 0 function. Add
1014 comments explaining its future.
1015
1016 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
1017
1018 * arm-tdep.c (arm_write_pc): New function.
1019 (arm_gdbarch_init): Call set_gdbarch_write_pc.
1020
1021 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
1022
1023 * breakpoint.c (must_shift_inst_regs): Delete.
1024 (bpstat_stop_status): Delete references to DECR_PC_AFTER_HW_BREAK
1025 and SHIFT_INST_REGS.
1026 * infcmd.c (step_1, step_1_continuation): Delete references to
1027 SHIFT_INST_REGS.
1028 * infrun.c (keep_going): Likewise.
1029 * target.h (DECR_PC_AFTER_HW_BREAK): Don't define.
1030 * config/i386/nm-i386.h (DECR_PC_AFTER_HW_BREAK): Likewise.
1031
1032 2004-01-17 Andrew Cagney <cagney@redhat.com>
1033
1034 * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
1035 * gdbarch.h, gdbarch.c: Re-generate.
1036 * infcmd.c (print_return_value): Delete reference to
1037 DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS.
1038
1039 * cris-tdep.c (cris_gdbarch_init): Do not set
1040 deprecated_extract_struct_value_address.
1041
1042 * xstormy16-tdep.c: Update copyright.
1043 (xstormy16_extract_struct_value_address): Update to current
1044 extract struct value address interface.
1045 (xstormy16_gdbarch_init): Set extract_struct_value_address.
1046 * sh64-tdep.c (sh64_extract_struct_value_address): Update to
1047 current extract struct value address interface.
1048 (sh64_gdbarch_init): Set extract_struct_value_address.
1049
1050 * cris-tdep.c: Update copyright.
1051 (cris_extract_struct_value_address): Delete function.
1052 (struct_return_address): Delete variable.
1053 (cris_store_struct_return): Do not set struct_return_address.
1054
1055 * mcore-tdep.c: Update copyright.
1056 (mcore_extract_struct_value_address): Delete function. Update
1057 comments.
1058 (mcore_gdbarch_init): Update.
1059 * mn10300-tdep.c: Update copyright.
1060 (mn10300_extract_struct_value_address): Delete function.
1061 (mn10300_gdbarch_init): Update.
1062 * v850-tdep.c: Update copyright.
1063 (v850_extract_struct_value_address): Delete.
1064 (v850_gdbarch_init): Update.
1065 * ns32k-tdep.c: Update copyright.
1066 (ns32k_extract_struct_value_address): Delete.
1067 (ns32k_gdbarch_init): Update.
1068 * hppa-tdep.c (hppa_extract_struct_value_address): Delete.
1069 (hppa_gdbarch_init): Update.
1070 * vax-tdep.c: Update copyright.
1071 (vax_extract_struct_value_address): Delete.
1072 (vax_gdbarch_init): Update.
1073
1074 * gdbarch.sh (DEPRECATED_NPC_REGNUM): Delete.
1075 * gdbarch.h, gdbarch.c: Re-generate.
1076 * procfs.c (procfs_fetch_registers): Delete reference to
1077 DEPRECATED_NPC_REGNUM.
1078 (procfs_store_registers): Ditto.
1079 * regcache.c (generic_target_write_pc): Simplify.
1080 * lynx-nat.c: Delete #ifdef SPARC code. Not used.
1081
1082 * core-sol2.c (fetch_core_registers): Replace
1083 DEPRECATED_NPC_REGNUM with equivalent tdep value.
1084
1085 * hppa-tdep.c: Update copyright year.
1086 (hppa_target_write_pc): Use PCOQ_TAIL_REGNUM instead of
1087 NPC_REGNUM.
1088 (hppa_gdbarch_init): Do not set deprecated_npc_regnum.
1089
1090 * mips-tdep.c (mips_write_pc): New function.
1091 (mips_gdbarch_init): Set "write_pc" to "mips_write_pc".
1092 (mips_read_pc): Use mips_regnum instead of PC_REGNUM.
1093 (mips_find_saved_regs, mips_software_single_step: Ditto.
1094 (mips_frame_saved_pc, mips_frame_saved_pc): Ditto.
1095 mips_init_extra_frame_info, mips_pop_frame): Ditto.
1096
1097 2004-01-17 Andrew Cagney <cagney@redhat.com>
1098
1099 * mips-tdep.c: Re-indent. Group functions by ABI.
1100
1101 2004-01-17 Andrew Cagney <cagney@redhat.com>
1102
1103 * gdbarch.sh (DECR_PC_AFTER_BREAK): Make zero the default.
1104 * gdbarch.c: Re-generate.
1105 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
1106 DECR_PC_AFTER_BREAK to zero.
1107 * vax-tdep.c (vax_gdbarch_init): Ditto.
1108 * v850-tdep.c (v850_gdbarch_init): Ditto.
1109 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
1110 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
1111 * sh-tdep.c (sh_gdbarch_init): Ditto.
1112 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1113 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
1114 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1115 * mips-tdep.c (mips_gdbarch_init): Ditto.
1116 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1117 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1118 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
1119 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1120 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
1121 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
1122 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1123 * frv-tdep.c (frv_gdbarch_init): Ditto.
1124 * cris-tdep.c (cris_gdbarch_init): Ditto.
1125 * avr-tdep.c (avr_gdbarch_init): Ditto.
1126 * arm-tdep.c (arm_gdbarch_init): Ditto.
1127 * i386-nto-tdep.c (i386nto_init_abi): Add comment.
1128
1129 2004-01-17 J. Brobecker <brobecker@gnat.com>
1130
1131 * dwarf2read.c (dwarf2_non_const_array_bound_ignored_complaint):
1132 Delete, no longer used.
1133 (read_subrange_type): New function, mostly extracted from
1134 read_array_type().
1135 (read_array_type): Replace extracted code by call to
1136 read_subrange_type().
1137 (dwarf2_get_attr_constant_value): New function.
1138 (scan_partial_symbols): Add handling for DW_TAG_subrange_type.
1139 (add_partial_symbol): Likewise.
1140 (process_die): Likewise.
1141 (new_symbol): Likewise.
1142 (read_type_die): Likewise.
1143
1144 2004-01-16 Andrew Cagney <cagney@redhat.com>
1145
1146 * symfile.c: Update copyright year.
1147 (compare_symbols): Delete unused function.
1148 * stabsread.c: Update copyright year.
1149 (lrs_general_complaint): Delete unused function.
1150 (ref_search_value): Ditto.
1151 (get_substring): Delete declaration.
1152 * sh64-tdep.c: Update copyright year.
1153 (sh64_get_gdb_regnum): Delete unused function.
1154 * dwarf2read.c (dwarf2_unsupported_at_frame_base_complaint):
1155 Delete unused function.
1156
1157 2004-01-17 Mark Kettenis <kettenis@gnu.org>
1158
1159 * defs.h (gdb_osabi): Add GDB_OSABI_OPENBSD_ELF.
1160 * osabi.c (gdb_osabi_names): Add "OpenBSD ELF".
1161
1162 2004-01-16 Andrew Cagney <cagney@redhat.com>
1163
1164 Changes from Peter Schauer.
1165 * rs6000-tdep.c: Update copyright year.
1166 (rs6000_push_dummy_call): Update the stack pointer before
1167 accessing the corresponding stack region.
1168 * rs6000-nat.c: Update copyright year.
1169 (set_host_arch): Set "info.abfd" to "exec_bfd".
1170
1171 2004-01-15 Mark Kettenis <kettenis@gnu.org>
1172
1173 * blockframe.c: Update copyright year.
1174 (inside_entry_func): Don't treat a zero PC specially.
1175
1176 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
1177
1178 * gcore.c (gcore_copy_callback): Use paddr_d to print size
1179 variable.
1180 (gcore_create_callback): Ditto. Skip any memory segment that has
1181 no permissions set.
1182
1183 2004-01-14 David Carlton <carlton@kealia.com>
1184
1185 Change symbols for C++ nested types to contain the fully qualified
1186 name, if possible. (At least in the DWARF-2 case.) Partial fix
1187 for PR's c++/57, c++/488, c++/539, c++/573, c++/609, c++/832,
1188 c++/895.
1189 * c-exp.y (qualified_type): Handle types nested within classes.
1190 * cp-namespace.c: Update comments.
1191 (cp_set_block_scope): Delete #if 0.
1192 (cp_lookup_nested_type): Handle types nested within classes.
1193 * dwarf2read.c: (scan_partial_symbols): Call add_partial_structure
1194 when appropriate.
1195 (add_partial_symbol): Add the name of the enclosing namespace to
1196 types.
1197 (pdi_needs_namespace): New.
1198 (add_partial_namespace): Tweak comment.
1199 (add_partial_structure): New.
1200 (psymtab_to_symtab_1): Initialize processing_current_prefix
1201 here...
1202 (process_die): instead of here.
1203 (read_structure_scope): Try to figure out the name of the class or
1204 namespace that the structure might be defined within.
1205 (read_enumeration): Generate fully-qualified names, if possible.
1206 (read_namespace): Don't set name to NULL.
1207 (die_specification): New.
1208 (new_symbol): Generate fully-qualified names for types.
1209 (read_type_die): Determine appropriate prefix.
1210 (determine_prefix): New.
1211 (typename_concat): New.
1212 (class_name): New.
1213 * valops.c (value_aggregate_elt): Pass NOSIDE to
1214 value_struct_elt_for_reference.
1215 (value_struct_elt_for_reference): Make static, add NOSIDE
1216 parameter, call value_maybe_namespace_elt as a last resort.
1217 (value_namespace_elt): Break out code into
1218 value_maybe_namespace_elt.
1219 (value_maybe_namespace_elt): New.
1220
1221 2004-01-12 Andrew Cagney <cagney@redhat.com>
1222
1223 * mips-tdep.c (mips_convert_register_p): Handle both raw and
1224 cooked floating-point registers.
1225 (mips_gdbarch_init): Set convert_register_p, register_to_value,
1226 and value_to_register.
1227
1228 2004-01-13 Andrew Cagney <cagney@redhat.com>
1229
1230 * gdbarch.sh (FUNCTION_START_OFFSET): Make zero the default.
1231 * gdbarch.c: Re-generate.
1232 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
1233 FUNCTION_START_OFFSET.
1234 * v850-tdep.c (v850_gdbarch_init): Ditto.
1235 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
1236 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
1237 * sh-tdep.c (sh_gdbarch_init): Ditto.
1238 * s390-tdep.c (s390_gdbarch_init): Ditto.
1239 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1240 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
1241 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1242 * mips-tdep.c (mips_gdbarch_init): Ditto.
1243 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1244 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
1245 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1246 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
1247 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1248 * i386-tdep.c (i386_gdbarch_init): Ditto.
1249 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
1250 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1251 * frv-tdep.c (frv_gdbarch_init): Ditto.
1252 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
1253 * cris-tdep.c (cris_gdbarch_init): Ditto.
1254 * avr-tdep.c (avr_gdbarch_init): Ditto.
1255 * arm-tdep.c (arm_gdbarch_init): Ditto.
1256 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
1257
1258 2004-01-13 Daniel Jacobowitz <drow@mvista.com>
1259
1260 * infrun.c (follow_fork_mode_ask): Remove.
1261 (follow_fork_mode_kind_names): Remove follow_fork_mode_ask.
1262 (follow_fork): Simplify and remove internal error for
1263 follow_fork_mode_ask.
1264 (_initialize_infrun): Update "set follow-fork-mode" help text.
1265
1266 2004-01-13 Andrew Cagney <cagney@redhat.com>
1267
1268 * configure.in: Update copyright year.
1269 (build_warnings): Add -Wunused-label.
1270 * configure: Re-generate.
1271
1272 2004-01-12 Andrew Cagney <cagney@redhat.com>
1273
1274 * exec.h (exec_ops): Make "extern".
1275
1276 * mips-tdep.c (mips_pseudo_register_read): Don't return a value,
1277 the function is void.
1278 (mips_pseudo_register_write): Ditto.
1279
1280 2004-01-12 Andrew Cagney <cagney@redhat.com>
1281
1282 * stack.c (frame_info): Delete DEPRECATED_PRINT_EXTRA_FRAME_INFO
1283 call. Never defined.
1284 * sparc-tdep.h (struct frame_info): Add opaque declaration.
1285 * sparc64-tdep.h (struct gdbarch): Add opaque declaration.
1286 (struct sparc_gregset, struct regcache): Ditto.
1287 * sparc-nat.c: Update copyright. Specify "GNU/Linux".
1288
1289 2004-01-12 Andrew Cagney <cagney@redhat.com>
1290
1291 * mi/ChangeLog: Delete file. Renamed to ...
1292 * mi/ChangeLog-1999-2003: New file.
1293 * tui/ChangeLog: Delete file. Renamed to ...
1294 * tui/ChangeLog-1998-2003: New file.
1295
1296 2004-01-11 Mark Kettenis <kettenis@gnu.org>
1297
1298 * sparc64nbsd-tdep.c: Include "regset.h".
1299 (sparc64nbsd_sizeof_struct_reg, sparc64nbsd_sizeof_struct_fpreg):
1300 Remove variables.
1301 (fetch_core_registers): Remove function.
1302 (sparc64nbsd_core_fns): Remove variable.
1303 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): New
1304 functions.
1305 (sparc64nbsd_init_abi): Initialize TDEP->gregset,
1306 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
1307 (_initialize_sparc64nbsd_tdep): Remove call to add_core_fns.
1308
1309 * sparc-tdep.c (sparc32_extract_struct_value_address): Rename from
1310 sparc_extract_struct_value_address.
1311 (sparc32_gdbarch_init): Set extract_struct_value_address.
1312 * sparc64-tdep.c (sparc64_extract_struct_value_address): New
1313 function.
1314 (sparc64_init_abi): Set extract_struct_value_address. Don't set
1315 return_value_on_stack.
1316
1317 * NEWS: Mention that %cs and %ss have been added to the AMD64
1318 configurations
1319
1320 * frame.c: Update copyright year.
1321 (get_prev_frame): Improve comment.
1322
1323 * sparc64fbsd-tdep.c: Include "regset.h".
1324 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
1325 Remove variables.
1326 (fetch_core_registers): Remove function.
1327 (sparc64fbsd_core_fns): Remove variable.
1328 (sparc64fbsd_supply_gregset, sparc64fbsd_supply_fpregset): New
1329 functions.
1330 (sparc64fbsd_init_abi): Initialize TDEP->gregset,
1331 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
1332 (_initialize_sparc64fbsd_tdep): Remove call to add_core_fns.
1333
1334 * sparcnbsd-tdep.c: Include "regset.h".
1335 (fetch_core_registers): Remove function.
1336 (sparcnbsd_core_fns, sparcnbsd_elfcore_fns): Remove varaibles.
1337 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): New
1338 functions.
1339 (sparc32nbsd_init_abi): Initialize TDEP->gregset and
1340 TDEP->fpregset.
1341 (_initialize_sparcnbsd_tdep): Remove calls to add_core_fns.
1342
1343 * sparc-tdep.h (struct regset): Provide opaque declaration.
1344 (struct gdbarch_tdep): Add gregset, sizeof_gregset,
1345 fpregset and sizeof_fpregset members.
1346 * sparc-tdep.c (struct regset): Provide opaque declaration.
1347 (sparc_regset_from_core_section): New function.
1348 (sparc32_gdbarch_init): Initialize TDEP->gregset,
1349 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_fpregset.
1350 Set regset_from_core_section when appropriate.
1351
1352 2004-01-10 Mark Kettenis <kettenis@gnu.org>
1353
1354 * x86-64-tdep.c (amd64_non_pod_p): New function.
1355 (amd64_classify_aggregate): Return class memory for non-POD
1356 C++ structure types.
1357
1358 * x86-64-tdep.c (amd64_push_arguments): Add struct_return
1359 argument. Use it to reserve a register if necessary.
1360 (amd64_push_dummy_call): Pass STRUCT_RETURN in call to
1361 amd64_push_arguments.
1362
1363 * x86-64-tdep.c (amd64_classify_aggregate): Ignore static fields.
1364
1365 * x86-64-tdep.c (amd64_register_info): Add %cs and %ss. Adjust
1366 register numbers in comments.
1367 * x86-64-tdep.h: Update copyright year.
1368 (X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM):
1369 Adjust for addition of %cs and %ss.
1370 * amd64fbsd-nat.c: Update copyright year.
1371 (reg_offset): Add register offsets for %cs and %ss.
1372 * amd64fbsd-tdep.c: Update copyright year.
1373 (amd64fbsd_r_reg_offset): Add register offsets for %cs and %ss.
1374 (amd64fbsd_sc_reg_offset): Likewise.
1375 * x86-64-linux-nat.c: Update copyright year.
1376 (x86_64_linux_gregset64_reg_offset): Add register offsets for %cs
1377 and %ss.
1378 * amd64nbsd-nat.c: Update copyright year.
1379 (amd64nbsd32_r_reg_offset): Add register offsets for %cs and %ss.
1380 * amd64nbsd-tdep.c: Update copyright year.
1381 (amd64nbsd_r_reg_offset): Add register offsets for %cs and %ss.
1382 * x86-64-linux-tdep.c: Update copyright year.
1383 (user_to_gdb_regmap): Add mapping for %cs and %ss.
1384 (x86_64_linux_sc_reg_offset): Adjust for addition of %cs and %ss.
1385 * regformats/reg-x86-64.dat: Add %cs and %ss.
1386
1387 * blockframe.c (inside_entry_func): Reformat. Introduce new local
1388 variables to prevent long lines. Update comments to reflect
1389 reality.
1390
1391 2004-01-09 David Carlton <carlton@kealia.com>
1392
1393 Checked in by Elena Zannoni <ezannoni@redhat.com>.
1394 * dwarf2read.c (read_namespace): Pull out name-generating code
1395 into namespace_name. Rename previous_namespace to previous_prefix
1396 and processing_current_namespace to processing_current_prefix..
1397 (namespace_name): New function.
1398 (add_partial_symbol): Substitute uses of pdi->name with
1399 actual_name.
1400 * cp-support.h: Rename processing_current_namespace to
1401 processing_current_prefix.
1402 Update copyright year.
1403 * cp-namespace.c: Rename processing_current_namespace to
1404 processing_current_prefix.
1405 Update copyright year.
1406
1407 2004-01-09 Andrew Cagney <cagney@redhat.com>
1408
1409 * jv-valprint.c, ser-unix.c: Add missing copyright years.
1410
1411 2004-01-09 Mark Kettenis <kettenis@gnu.org>
1412
1413 * dbxread.c (read_dbx_symtab): Ignore N_PATCH stabs instead of
1414 complaining.
1415 (process_one_symbol): Deal with N_PATCH stabs.
1416
1417 2004-01-09 Elena Zannoni <ezannoni@redhat.com>
1418
1419 * dwarf2read.c (read_array_type): Discard FORTRAN_HACK macro and
1420 ifdeffed code.
1421 Update copyright year.
1422
1423 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1424
1425 * config/pa/tm-hppa.h: Update extern declarations for
1426 hppa32_hpux_frame_saved_pc_in_sigtramp,
1427 hppa32_hpux_frame_base_before_sigtramp, and
1428 hppa32_hpux_frame_find_saved_regs_in_sigtramp.
1429
1430 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1431
1432 * config/pa/tm-hppah.h: Update copyright years.
1433
1434 2004-01-08 Andrew Cagney <cagney@redhat.com>
1435
1436 * mips-tdep.c (mips_n32n64_reg_struct_has_addr): Delete function.
1437 (mips_o32_reg_struct_has_addr): Delete function.
1438 (mips_gdbarch_init): Update.
1439 (mips_extract_struct_value_address): Delete function.
1440
1441 2004-01-08 David Mosberger <davidm@hpl.hp.com>
1442
1443 * ia64-linux-tdep.c: Update GATE_AREA_END value to reflect
1444 reality.
1445
1446 2004-01-07 Andrew Cagney <cagney@redhat.com>
1447
1448 * mips-tdep.c (mips_gdbarch_init): Set elf_flags to the previous
1449 architecture's elf flags (when available).
1450
1451 * mips-tdep.c (mips_gdbarch_init): Move code determining the MIPS
1452 FPU to the start, check the MIPS FPU when looking for an old
1453 architecture.
1454 (set_mipsfpu_single_command): Update the architecture.
1455 (set_mipsfpu_double_command, set_mipsfpu_none_command): Ditto.
1456
1457 * mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Delete macro.
1458 (mips_mask_address_p): Add "tdep" parameter.
1459 (show_mask_address, mips_addr_bits_remove): Update.
1460 (mips_dump_tdep): Update.
1461 (MIPS_DEFAULT_STACK_ARGSIZE): Delete macro.
1462 (MIPS_STACK_ARGSIZE): Delete macro.
1463 (mips_stack_argsize, mips_eabi_push_dummy_call): Update.
1464 (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call): Update.
1465 (mips_o64_push_dummy_call, mips_o32_return_value): Update.
1466 (mips_dump_tdep): Update.
1467 (MIPS_SAVED_REGSIZE): Delete macro.
1468 (MIPS_DEFAULT_SAVED_REGSIZE): Delete macro.
1469 (mips_saved_regsize, mips_eabi_use_struct_convention): Update.
1470 (mips_eabi_reg_struct_has_addr, mips_find_saved_regs): Update.
1471 (mips_frame_saved_pc, mips16_heuristic_proc_desc): Update.
1472 (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call): Update.
1473 (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update.
1474 (mips_pop_frame, return_value_location): Update.
1475 (mips_n32n64_return_value, mips_dump_tdep): Update.
1476
1477 * mips-tdep.c (mips_gdbarch_init): Clean up code selecting the
1478 MIPS ABI.
1479
1480 * mips-tdep.c: Update copyright.
1481 (mips_gdbarch_init): Merge two code blocks handling the register
1482 name and number layout.
1483
1484 2004-01-02 Pawel Ostrowski <pasza@zodiac.mimuw.edu.pl>
1485
1486 * tracepoint.c (validate_actionline): Fix segv at EOF
1487
1488 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1489
1490 * hpread.c (hpread_read_struct_type): Call SET_FIELD_PHYSNAME
1491 properly for static fields.
1492
1493 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
1494 Jason Molenda <jmolenda@apple.com>
1495
1496 * disasm.c: Update copyright to include 2004.
1497 (do_mixed_source_and_assembly): For uiout asm list
1498 and tuple cleanups, initialize to null_cleanup instead of
1499 NULL and do so prior to loop. Only reset when we close off
1500 the tuple/list. Move check for whether to close off the
1501 asm tuple/list to after dump_insns call where it will be run
1502 on each loop iteration.
1503
1504 2004-01-05 Andrew Cagney <cagney@redhat.com>
1505
1506 * ser-unix.c (ser_unix_async): Fix tipo, "NOTHING_SECHEDULED"
1507 should be a switch case and not a label.
1508 * mips-tdep.c (mips32_next_pc): Delete unused labels
1509 "greater_equal_branch" and "less_zero_branch".
1510 * jv-valprint.c (java_print_value_fields): Delete unused label
1511 "flush_it".
1512
1513 * target.c (unpush_target): Only close a target that is in the
1514 target stack.
1515
1516 2004-01-05 Mark Kettenis <kettenis@gnu.org>
1517
1518 * sparc-tdep.c (sparc_extract_struct_value_address): Get the
1519 address from [sp + 64] instead of %o2.
1520
1521 * frame.c (get_prev_frame): Don't try to unwind the PC. This
1522 fixes PR backtrace/1476.
1523
1524 2004-01-05 Andrew Cagney <cagney@redhat.com>
1525
1526 * libunwind-frame.h (struct frame_id): Add opaque declaration,
1527 move to start of file.
1528 * i386-tdep.h (struct regcache): Add opaque declaration.
1529 * config/ia64/nm-linux.h (struct target_ops): Add opaque
1530 declaration.
1531 * ia64-tdep.c (ia64_find_proc_info_x): Do not use __FUNCTION__.
1532 (ia64_gdbarch_init): Use "GNU/Linux" in comment.
1533 * win32-nat.c (fake_create_process): Use ISO C style definition.
1534 * stabsread.c (define_symbol): Delete #ifndef
1535 DEPRECATED_USE_REGISTER_NOT_ARG wrapper around
1536 stabs_argument_has_addr call, macro never defined.
1537
1538 2004-01-04 Michael Chastain <mec.gnu@mindspring.com>
1539
1540 * op50-rom.c: Delete.
1541 * w89k-rom.c: Delete.
1542 * Makefile.in: Remove references.
1543
1544 2004-01-04 Mark Kettenis <kettenis@gnu.org>
1545
1546 * x86-64-tdep.c: Update copyright year.
1547 (struct amd64_register_info): Rename from x86_64_register_info.
1548 (amd64_register_info): Rename from x86_64_register_info.
1549 (AMD64_NUM_REGS): Rename from X86_64_NUM_REGS.
1550 (amd64_register_name): Rename from x86_64_register_name.
1551 (amd64_register_type): Rename from x86_64_register_type.
1552 (amd64_dwarf_regmap): Rename from x86_64_dwarf_regmap.
1553 (amd64_dwarf_regmap_len): Rename from x86_64_dwarf_regmap_len.
1554 (amd64_dwarf_reg_to_regnum): Rename from
1555 x86_64_dwarf_reg_to_regnum.
1556 (amd64_convert_register_p): Rename from x86_64_convert_register_p.
1557 (amd64_push_dummy_call): Rename from x86_64_push_dummy_call.
1558 (AMD64_NUM_SAVED_REGS): Rename from X86_64_NUM_SAVED_REGS.
1559 (struct amd64_frame_cache): Renamed from x86_64_frame_cache.
1560 (amd64_alloc_frame_cache): Renamed from x86_64_alloc_frame_cache.
1561 (amd64_analyze_prologue): Rename from x86_64_analyze_prologue.
1562 (amd64_skip_prologue): Rename from x86_64_skip_prologue.
1563 (amd64_frame_cache): Rename from x86_64_frame_cache.
1564 (amd64_frame_this_id): Rename from x86_64_frame_this_id.
1565 (amd64_frame_prev_register): Rename from
1566 x86_64_frame_prev_register.
1567 (amd64_frame_unwind): Rename from x86_64_frame_unwind.
1568 (amd64_frame_sniffer): Rename from x86_64_frame_sniffer.
1569 (amd64_sigtramp_frame_cache): Rename from
1570 x86_64_sigtramp_frame_cache.
1571 (amd64_sigtramp_frame_prev_register): Rename from
1572 x86_64_sigtramp_frame_prev_register.
1573 (amd64_sigtramp_frame_unwind): Rename from
1574 x86_64_sigtramp_frame_unwind.
1575 (amd64_sigtramp_frame_sniffer): Rename from
1576 x86_64_sigtramp_frame_sniffer.
1577 (amd64_frame_base_address): Rename from x86_64_frame_base_address.
1578 (amd64_frame_base): Rename from x86_64_frame_base.
1579 (amd64_unwind_dummy_id): Rename from x86_64_unwind_dummy_id.
1580 (amd64_frame_align): Rename from x86_64_frame_align.
1581 (amd64_supply_fpregset): Rename from x86_64_supply_fpregset.
1582 (amd64_regset_from_core_section): Rename from
1583 x86_64_regset_from_core_section.
1584 (x86_64_init_abi): Update comments.
1585
1586 2004-01-04 Nick Roberts <nick@nick.uklinux.net>
1587
1588 * MAINTAINERS (write after approval): Add myself.
1589
1590 2004-01-04 Mark Kettenis <kettenis@gnu.org>
1591
1592 * sparc64-tdep.c (sparc64_store_arguments): Fix handling of
1593 `float' arguments.
1594
1595 2004-01-04 Mark Kettenis <kettenis@gnu.org>
1596
1597 * sparc64-tdep.c (sparc64_store_floating_fields): Update comment
1598 such that it mentions a specific version of GCC that exhibits this
1599 bug.
1600
1601 2004-01-03 Mark Kettenis <kettenis@gnu.org>
1602
1603 * sparc64-tdep.c (sparc64_store_floating_fields): If TYPE is a
1604 structure that has a single `float' member, store it in %f1 in
1605 addition to %f0.
1606
1607 * sparc-sol2-nat.c: Add missing '\'.
1608
1609 * sparc-tdep.c (sparc32_return_value): New function.
1610 (sparc32_use_struct_convention, sparc32_return_value_on_stack):
1611 Remove functions.
1612 (sparc32_gdbarch_init): Set return_value, don't set
1613 extract_return_value, store_return_value, use_struct_convention
1614 and return_value_on_stack.
1615
1616 * sparc-sol2-nat.c: Add missing ')'.
1617
1618 2004-01-03 J. Brobecker <brobecker@gnat.com>
1619
1620 * infrun.c (handle_step_into_function): New function.
1621 (handle_inferior_event): Extract out some code into the new
1622 function above.
1623
1624 2004-01-03 J. Brobecker <brobecker@gnat.com>
1625
1626 * infrun.c (handle_inferior_event): Move the declaration of
1627 real_stop_pc inside the if blocks where it is used.
1628
1629 2004-01-03 Mark Kettenis <kettenis@gnu.org>
1630
1631 * sparc64-tdep.c (sparc64_16_byte_align_p)
1632 (sparc64_store_floating_fields, sparc64_store_floating_fields):
1633 Use check_typedef to get subtypes of structures and unions.
1634 (sparc64_store_return_value): Fix calculation of the appropriate
1635 offset into VALBUF when storing a structure or union.
1636 (sparc64_return_value): New function.
1637 (sparc64_use_struct_convention): Remove function.
1638 (sparc64_init_abi): Set return_value, don't set
1639 extract_return_value, store_return_value and
1640 use_struct_convention.
1641
1642 2004-01-03 Eli Zaretskii <eliz@elta.co.il>
1643
1644 * config/djgpp/fnchange.lst: Add lines for COPYING.LIBGLOSS,
1645 bfd/doc/ChangeLog-9103, bfd/elf32-m68hc1x.c,
1646 gdb/config/alpha/xm-alphaosf.h,
1647 gdb/config/powerpc/tm-ppcle-eabi.h,
1648 gdb/config/rs6000/tm-rs6000-aix4.h, gdb/gdbtk/ChangeLog-2001,
1649 gdb/gdbtk/ChangeLog-2002, gdb/gdbtk/ChangeLog-2003,
1650 gdb/gdbtk/plugins/intel-pentium/intel-pentium.tcl.in,
1651 gdb/gdbtk/plugins/rhabout/rhabout.tcl.in, gdb/i386-linux-nat.c,
1652 gdb/ia64-aix-nat.c, gdb/ia64-aix-tdep.c, gdb/ia64-linux-nat.c,
1653 gdb/ia64-linux-nat.c, gdb/ppc-linux-tdep.c, gdb/ppc-linux-nat.c,
1654 gdb/sparc64nbsd-nat.c, gdb/sparc64nbsd-tdep.c,
1655 gdb/sparc64-linux-nat.c, gdb/sparc64-linux-tdep.c,
1656 gdb/sparc64-nat.c, gdb/sparc64-tdep.c, gdb/sparc64-sol2-tdep.c,
1657 gdb/sparc-sol2-nat.c, gdb/sparc-sol2-tdep.c,
1658 gdb/testsuite/gdb.gdbtk/, gdb/testsuite/gdb.mi/mi-var-child.exp,
1659 nclude/ChangeLog-9103, include/coff/ChangeLog-9103,
1660 include/elf/ChangeLog-9103, include/opcode/ChangeLog-9103,
1661 opcodes/ChangeLog-0001, opcodes/ChangeLog-0203,
1662 opcodes/openrisc-dis.c, opcodes/openrisc-desc.h,
1663 sim/frv/profile-fr550.c, sim/frv/profile-fr550.h,
1664 sim/sh64/sem-compact-switch.c, sim/sh64/sem-media-switch.c,
1665 sim/testsuite/sim/sh64/compact/ldsl-mach.cgs,
1666 sim/testsuite/sim/sh64/compact/ldsl-macl.cgs,
1667 sim/testsuite/sim/sh64/compact/stsl-mach.cgs, and
1668 sim/testsuite/sim/sh64/compact/stsl-macl.cgs.
1669 Remove lines for .cvsignore files.
1670
1671 2004-01-03 J. Brobecker <brobecker@gnat.com>
1672
1673 * infrun.c: Back out the previous change.
1674
1675 2004-01-03 Mark Kettenis <kettenis@gnu.org>
1676
1677 * NEWS: Mention revised SPARC target. Add sparc-*-lynxos* and
1678 sparc-*-sunos4* to the list of REMOVED configurations.
1679
1680 * configure.tgt: Add back sparc-*-vxworks*.
1681 * remote-vxsparc.c: Remove all includes except for "defs.h",
1682 "regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h".
1683 Include "sparc-tdep.h".
1684 (SPARC_R_G1): New define.
1685 (vxsparc_gregset): New variable.
1686 (ext_format_sparc): Remove extern declaration.
1687 (vx_read_register): Rewrite to use sparc32_supply_gregset and
1688 sparc32_supply_fpregset.
1689 (vx_write_register): Rewrite to use sparc32_collect_gregset,
1690 sparc_collect_rwindow and sparc32_collect_fpregset.
1691 * config/sparc/tm-vxworks.h: New file, based on recently removed
1692 tm-vxsparc.h.
1693 * config/sparc/vxworks.mt: New file, based on recently removed
1694 vxworks.mt.
1695
1696 2004-01-03 J. Brobecker <brobecker@gnat.com>
1697
1698 * infrun.c (handle_step_into_function): New function.
1699 (handle_inferior_event): Extract out some code into the new
1700 function above.
1701
1702 2004-01-02 Mark Kettenis <kettenis@gnu.org>
1703
1704 * Makefile.in (ALLDEPFILES): Remove sparc-linux-nat.c and
1705 sparcl-tdep.c. Add sparc-linux-tdep.c, sparc-sol2-nat.c,
1706 sparc-sol2-tdep.c, sparc-sol2-nat.c, sparc-sol2-tdep.c,
1707 sparc64-linux-nat.c, sparc64-linux-tdep.c, sparc64-nat.c,
1708 sparc64-sol2-tdep.c, sparc64-tdep.c, sparc64fbsd-nat.c,
1709 sparc64fbsd-tdep.c, sparcnbsd-nat.c, sparcnbsd-tdep.c.
1710 (sparc_nat_h): New variable.
1711 (sparcbsd_nat_h, sparcnbsd_tdep_h): Remove variables.
1712 (tm-sun4os4.h): Remove dependency.
1713 (sparcbsd-nat.o, sparc-linux-nat.o): Remove dependencies.
1714 (sparc64fbsd-nat.o, sparc64fbsd-tdep.o, sparc64nbsd-nat.o,
1715 sparc64-tdep.o, sparc-nat.o, sparcnbsd-nat.o, sparcnbsd-tdep.o,
1716 sparc-tdep.o): Update dependencies.
1717 (sparc-linux-tdep.o, sparc-sol2-nat.o, sparc-sol2-tdep.o,
1718 sparc64-linux-nat.o, sparc64-linux-tdep.o, sparc64-nat.o,
1719 sparc64-sol2-tdep.o, sparc64-tdep.o, sparc64nbsd-tdep.o): New
1720 dependencies.
1721 * configure.host: Remove existing sparc-*-lynxos*,
1722 sparc-*-solaris*, sparc-*-sunos4*, sparc-*-sunos5*, sparc-*-*,
1723 ultrasparc-*-freebsd, sparcv9-*-freebsd, sparc64-*-linux*,
1724 sparcv9-*-* and sparc64-*-* triplets. Add new sparc64-*-linux*,
1725 sparc-*-solaris2*, sparcv9-*-solaris2* and sparc64-*-solaris2*
1726 triplets.
1727 * configure.tgt: Remove exitsing sparc-*-aout*, sparc-*-coff*,
1728 sparc-*-elf*, sparc*-lynxos*, sparc-*-solars2*, sparc-*-sunos4*,
1729 sparc-*-sunos5*, sparc-*-vxworks*, sparc64-*linux*, sparc64-*-*,
1730 sparcv9-*-* and commented out sparc64-*-solars2* triplets. Add
1731 new sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*,
1732 sparc64-*-linux, sparc-*-solaris2*, sparcv9-*-solaris*,
1733 sparc64-*-solaris2* and sparc64-*-* triplets.
1734 * sparc64-tdep.c: Update copyright year. Include "inferior.h",
1735 "symtab.h" and "objfiles.h".
1736 (BIAS): Remove define.
1737 (X_OP, X_RD, X_A, X_COND, X_OP2, X_IMM22, X_OP3, X_I, X_DISP22)
1738 (X_DISP19): Remove macros.
1739 (sparc_fetch_instruction): Remove function.
1740 (struct gdbarch_tdep): Remove definition.
1741 (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use ARRAY_SIZE.
1742 (sparc_breakpoint_from_pc): Remove function.
1743 (struct sparc64_frame_cache): Remove definition.
1744 (sparc64_alloc_frame_cache, sparc64_analyze_prologue,
1745 sparc64_unwind_pc): Remove functions.
1746 (sparc64_skip_prologue): Use `struct sparc_frame_cache' instead of
1747 `struct sparc64_frame_cache. Call sparc_analyze_prologue instead
1748 of sparc64_analyze_prologue. Mark constant as ULL instead of UL.
1749 (sparc64_frame_cache): Change return type to `struct
1750 sparc_frame_cache *'. Simply call sparc_frame_cache.
1751 (sparc64_frame_this_id, sparc64_frame_prev_register,
1752 sparc64_frame_base_address): Use `struct sparc_frame_cache'
1753 instead of `struct sparc64_frame_cache.
1754 (sparc_unwind_dummy_id, sparc_extract_struct_value_address,
1755 sparc_analyze_control_transfer, sparc_software_single_step,
1756 sparc64_gdbarch_init, sparc_supply_rwindow, sparc_fill_rwindow,
1757 _initialize_sparc64_tdep): Remove functions.
1758 (TSTATE_CWP, TSTATE_ICC, TSTATE_XCC): New macros.
1759 (PSR_S, PSR_ICC, PSR_VERS, PSR_IMPL, PSR_V8PLUS, PSR_XCC): New
1760 macros.
1761 (sparc64_supply_gregset, sparc64_collect_gregset,
1762 sparc64_supply_fpregset, sparc64_collect_fpregset): New functions.
1763 (sparc64_init_abi): New function.
1764 * sparc64-tdep.h: Update copyright year. Fix typo in multiple
1765 inclusion guard. Include "sparc-tdep.h".
1766 (BIAS): Define.
1767 (r_tstate_offset, r_fprs_offset): New defines.
1768 (enum sparc_regnum): Remove defenition.
1769 (enum sparc64_regnum): Reformat.
1770 (sparc_supply_rwindow, sparc_fill_rwindow): Remove prototypes.
1771 (sparc64_init_abi, sparc64_supply_gregset,
1772 sparc64_collect_gregset, sparc64_supply_fpregset,
1773 sparc64_collect_fpregset): New prototypes.
1774 (sparc64_sol2_gregset, sparc64nbsd_gregset, sparc64fbsd_gregset):
1775 Add extern declarations.
1776 (sparc64_sol2_init_abi): New prototype.
1777 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
1778 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
1779 prototypes.
1780 * sparc64fbsd-nat.c: Include "sparc-nat.h", don't include
1781 "sparnbsd-nat.h".
1782 (sparc64fbsd_reg_supplies_p, sparc64fbsd_fpreg_supplies_p): Remove
1783 functions.
1784 (_initialize_sparc64fbsd_nat): Remove initialization of
1785 sparcbsd_supply_reg, sparcbsd_fill_reg, sparcbsd_supply_fpreg,
1786 sparcbsd_fill_fpreg, sparcbsd_reg_supplies_p,
1787 sparcbsd_fpreg_supplies_p. Initialize sparc_gregset.
1788 * sparc64fbsd-tdep.c: Update copyright year. Include "frame.h",
1789 "frame-unwind.h", "trad-frame.h" and "gdb_assert.h".
1790 (sparc64fbsd_r_global_offset, sparc64fbsd_r_out_offset)
1791 (sparc64fbsd_r_fprs_offset, sparc64fbsd_r_tnpc_offset)
1792 (sparc64fbsd_r_tpc_offset, sparc64fbsd_r_tstate_offset)
1793 (sparc64fbsd_r_y_offset): Remove variables.
1794 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
1795 Make static and const.
1796 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
1797 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
1798 functions.
1799 (sparc64fbsd_gregset): New variable.
1800 (fetch_core_registers): Replace calls to sparc64fbsd_supply_reg
1801 and sparc64fbsd_supply_fpreg with calls to sparc64_supply_gregset
1802 and sparc64_supply_fpregset.
1803 (sparc64fbsd_pc_in_sigtramp, sparc64fbsd_sigtramp_frame_cache)
1804 (sparc64fbsd_sigtramp_frame_this_id)
1805 (sparc64fbsd_sigtramp_frame_prev_register): New functions.
1806 (sparc64fbsd_sigtramp_frame_unwind): New variable.
1807 (sparc64fbsd_sigtramp_frame_sniffer): New function.
1808 (sparc64fbsd_init_abi): Set pc_in_sigtramp, append
1809 sparc64fbsd_sigtramp_frame_sniffer. Call sparc64_init_abi.
1810 * sparcnbsd-tdep.c: Update copyright year. Include
1811 "floatformat.h", "frame.h", "frame-unwind.h", "symtab.h",
1812 "trad-frame.h" and "gdb_assert.h", don't include "target.h",
1813 "value.h" and "sparcnbsd-tdep.h".
1814 (REG32_OFFSET_PSR, REG32_OFFSET_PC, REG32_OFFSET_NPC)
1815 (REG32_OFFSET_Y, REG32_OFFSET_GLOBAL, REG32_OFFSET_OUT)
1816 (REG64_OFFSET_TSTATE, REG64_OFFSET_PC, REG64_OFFSET_NPC)
1817 (REG64_OFFSET_Y, REG64_OFFSET_GLOBAL, REG64_OFFSET_OUT): Remove
1818 defines.
1819 (sparcnbsd_gregset): New variable.
1820 (sparcnbsd_supply_reg32, sparcnbsd_supply_reg64)
1821 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64)
1822 (sparcnbsd_supply_fpreg32, sparcnbsd_supply_fpreg64)
1823 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64): Remove functions.
1824 (sparc32nbsd_sigtramp_start, sparc32nbsd_sigtramp_end): New
1825 variables.
1826 (sparc32nbsd_pc_in_sigtramp, sparc32nbsd_sigcontext_frame_cache)
1827 (sparc32nbsd_sigcontext_frame_this_id)
1828 (sparc32nbsd_sigcontext_frame_prev_register): New functions.
1829 (sparc32nbsd_sigcontext_frame_unwind): New variable.
1830 (sparc32nbsd_sigtramp_frame_sniffer): New function.
1831 (sparcnbsd_get_longjmp_target_32,
1832 sparcnbsd_get_longjmp_target_64): Remove functions.
1833 (sparcnbsd_aout_in_solib_call_trampoline): Rewrite.
1834 (sparcnbsd_init_abi_common, sparcnbsd_init_aout,
1835 sparcnbsd_init_elf): Remove.
1836 (sparcnbsd_init_abi, sparcnbsd_aout_init_abi)
1837 (sparcnbsd_elf_init_abi): New functions.
1838 (_initialize_sparcnbsd_tdep): New prototype.
1839 (_initialize_sparnbsd_tdep): Update.
1840 * config/sparc/fbsd.mh (NATDEPFILES): Remove sparcbsd-nat.o and
1841 corelow.o. Add sparc64-nat.o and sparc-nat.o.
1842 * config/sparc/fbsd.mt (TDEPFILES): Add sparc-tdep.o and corelow.o.
1843 * config/sparc/linux.mh: Update comment.
1844 (XM_FILE, HOST_IPC): Remove variables.
1845 (NATDEPFILES): Add sparc-sol2-nat.o and core-regset.o. Remove
1846 sparc-linux-nat.o.
1847 * config/sparc/linux.mt: Update comment.
1848 (TDEPFILES): Add sparc-sol2-tdep.o and sparc-linux-tdep.o.
1849 * config/sparc/nbsd.mt: Reformat.
1850 * config/sparc/nbsd64.mh: Update comment.
1851 (NATDEPFILES): Add sparc-nat.o.
1852 * config/sparc/nbsd64.mt: Update comment.
1853 (TDEPFILES): Add sparc64-tdep.o and sparc64nbsd-tdep.o.
1854 (TM_FILE): Set to tm-nbsd.h.
1855 * config/sparc/nbsdelf.mh: Update comment.
1856 (NATDEPFILES): Add sparc-nat.o.
1857 (XM_FILE): Delete.
1858 * config/sparc/nbsdaout.mh: Update comment.
1859 (NATDEPFILES): Add sparc-nat.o
1860 (XM_FILE): Delete.
1861 * config/sparc/nm-linux.h: Update copyright year. Don't include
1862 "config/nm-svr4.h" and "solib.h". Add protection against multiple
1863 inclusion.
1864 (KERNEL_U_SIZE): Remove define.
1865 (kernel_u_size): Remove prototype.
1866 (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define.
1867 * config/sparc/nm-nbsd.h: Update copyright. Don't include
1868 "regcache.h".
1869 (CHILD_PREPARE_TO_STORE): Remove define.
1870 * config/sparc/nm-nbsdaout.h: Tweak some comments.
1871 * sparc-nat.c, sparc-tdep.c, sparc-tdep.h, sparc64nbsd-nat.c,
1872 sparcnbsd-nat.c: Rewrite files.
1873 * config/sparc/tm-linux.h, config/sparc/tm-nbsd.h: Rewrite files.
1874 * sparc-linux-nat.c, sparcbsd-nat.c, sparcbsd-nat.h,
1875 sparcnbsd-tdep.h: Remove files.
1876 * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4os4.h,
1877 config/sparc/nm-sun4sol2.h, config/sparc/sp64.mt,
1878 config/sparc/sp64linux.mt, config/sparc/sp64sol2.mt,
1879 config/sparc/sparc-em.mt, config/sparc/sparclynx.mh,
1880 config/sparc/sparclynx.mt, config/sparc/sun4os4.mh,
1881 config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh,
1882 config/sparc/sun4sol2.mt, config/sparc/tm-sp64.h,
1883 config/sparc/tm-sp64linux.h, config/sparc/tm-sparc.h,
1884 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
1885 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
1886 config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt,
1887 config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h: Remove files.
1888 * sparc-linux-tdep.c, sparc-nat.h, sparc-sol2-nat.c,
1889 sparc-sol2-tdep.c, sparc64-linux-nat.c, sparc64-linux-t dep.c,
1890 sparc64-nat.c, sparc64-sol2-tdep.c, sparc64nbsd-tdep.c: New files.
1891 * config/sparc/linux64.mh, config/sparc/linux64.mt,
1892 config/sparc/nm-sol2.h, config/sparc/sol2-64.mt,
1893 config/sparc/sol2.mh, config/sparc/sol2.mt, config/sparc/sparc.mt,
1894 config/sparc/sparc64.mt, config/sparc/tm-sol2.h: New files.
1895
1896 2004-01-02 Andrew Cagney <cagney@redhat.com>
1897
1898 From 2003-12-18 Kazuhiro Inaoka:
1899 * configure.host: Add m32r-linux target.
1900
1901 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
1902
1903 * top.c (print_gdb_version): Update year to 2004.
1904
1905 2004-01-02 Mark Mitchell <mark@codesourcery.com>
1906
1907 * MAINTAINERS: Add myself to the write-after-approval category.
1908
1909 2004-01-02 Daniel Jacobowitz <drow@mvista.com>
1910
1911 From Bernardo Innocenti <bernie@develer.com>:
1912 * configure.tgt: Add uClinux target.
1913
1914 2004-01-02 Andrew Cagney <cagney@redhat.com>
1915
1916 * utils.c (do_my_cleanups): Make static, add forward declaration.
1917 * defs.h (do_my_cleanups): Delete declaration.
1918
1919 2004-01-02 Eli Zaretskii <eliz@elta.co.il>
1920
1921 * config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and
1922 bfd/ChangeLog-0203.
1923
1924 2004-01-02 Mark Kettenis <kettenis@gnu.org>
1925
1926 * configure.in: Check for <machine/reg.h>. Check for `struct reg'
1927 in <machine/reg.h>.
1928 * configure, config.in: Regenerate.
1929
1930 For older changes see ChangeLog-2003, mi/ChangeLog-1999-2003, and
1931 tui/ChangeLog-1998-2003.
1932 \f
1933 Local Variables:
1934 mode: change-log
1935 left-margin: 8
1936 fill-column: 74
1937 version-control: never
1938 End:
This page took 0.075414 seconds and 4 git commands to generate.