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