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