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