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