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