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