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