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