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