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