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