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