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