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