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