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