1 2003-06-04 Michael Snyder <msnyder@redhat.com>
3 * h8300-tdep.c (h8300_gdbarch_init): Add h8300hn, h8300sn.
5 2003-06-04 Mark Kettenis <kettenis@gnu.org>
7 * dwarf2-frame.c (struct comp_unit): Add member `dbase'.
8 (read_encoded_value): Handle DW_EH_PE_datarel encoding.
9 (dwarf2_build_frame_info): Set base for DW_EH_PE_datarel encodings
10 when handling .eh_frame sections.
12 2003-06-04 J. Brobecker <brobecker@gnat.com>
14 * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Use the generic
15 prepare_to_proceed procedure instead of the hppa-specific one.
16 * hppa-tdep.c (hppa_prepare_to_proceed): Remove, no longer used.
18 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
20 * acconfig.h: Add HAVE_TKILL_SYSCALL definition check.
21 * config.in: Regenerated.
22 * configure.in: Add test for syscall function and check for
23 __NR_tkill macro in <syscall.h> to set HAVE_TKILL_SYSCALL.
24 * configure: Regenerated.
25 * lin-lwp.c [HAVE_TKILL_SYSCALL]: Include <unistd.h> and
27 (kill_lwp): New function that uses tkill syscall or
28 uses kill, depending on whether threading model is nptl or not.
29 All callers of kill() changed to use kill_lwp().
30 (lin_lwp_wait): Make special check when WIFEXITED occurs to
31 see if all threads have already exited in the nptl model.
32 (stop_and_resume_callback): New callback function used by the
33 lin_lwp_wait thread exit handling code.
34 (stop_wait_callback): Check for threads already having exited and
35 delete such threads fromt the lwp list when discovered.
36 (stop_callback): Don't assert retcode of kill call.
38 Roland McGrath <roland@redhat.com>
39 * i386-linux-nat.c (ps_get_thread_area): New function needed by
42 2003-06-03 Richard Henderson <rth@redhat.com>
44 * alpha-tdep.c (alpha_next_pc): Use alpha_read_insn.
45 (alpha_sigtramp_frame_this_id): Use get_frame_memory.
46 (alpha_sigtramp_frame_prev_register): Likewise.
47 (alpha_heuristic_frame_prev_register): Likewise.
48 * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise.
50 * alpha-mdebug-tdep.c (alpha_mdebug_after_prologue): Use
51 alpha-specific register id names.
52 (alpha_mdebug_frame_unwind_cache): Likewise.
53 (alpha_mdebug_frame_prev_register): Likewise.
55 2003-06-03 Richard Henderson <rth@redhat.com>
57 * alpha-tdep.c (alpha_dwarf2_init_abi): New.
58 * alpha-tdep.h (alpha_dwarf2_init_abi): Declare it.
59 * alpha-linux-tdep.c (alpha_linux_init_abi): Use it.
60 * alphafbsd-tdep.c (alphafbsd_init_abi): Register dwarf2 and mdebug
62 * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise.
63 * config/alpha/fbsd.mt (TDEPFILES): Add alpha-mdebug-tdep.o.
64 * config/alpha/nbsd.mt (TDEPFILES): Likewise.
66 * alpha-linux-tdep.c: Remove unnecessary includes.
67 * Makefile.in (alpha-linux-tdep.o): Update.
69 2003-06-03 Richard Henderson <rth@redhat.com>
71 * alphabsd-tdep.c (alphabsd_supply_fpreg): Fix typo last change.
72 (alphabsd_fill_fpreg): Likewise.
74 2003-06-03 J. Brobecker <brobecker@gnat.com>
76 * alphanbsd-tdep.c (alphanbsd_sigcontext_addr): Replace
77 references to struct frame_info fields by calls to the equivalent
78 accessors. Necessary now that frame_info is opaque.
80 2003-06-03 J. Brobecker <brobecker@gnat.com>
82 * alphanbsd-tdep.c (alphanbsd_skip_sigtramp_frame): Delete.
83 (alphanbsd_init_abi): Do not set skip_sigtramp_frame in tdep
84 structure, field no longer exists.
86 2003-06-03 J. Brobecker <brobecker@gnat.com>
88 * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-mdebug-tdep.o.
89 * alpha-osf1-tdep.c (alpha_osf1_init_abi): Enable the mdebug module.
91 2003-06-03 J. Brobecker <brobecker@gnat.com>
93 * alpha-osf1-tdep.c (alpha_osf1_sigcontext_addr): Replace
94 references to struct frame_info fields by calls to the equivalent
95 accessors. Necessary now that frame_info is opaque.
97 2003-06-03 J. Brobecker <brobecker@gnat.com>
99 * alpha-osf1-tdep.c (alpha_osf1_skip_sigtramp_frame): Delete.
100 (alpha_osf1_init_abi): Do not set skip_sigtramp_frame in tdep
101 structure, field no longer exists.
103 2003-06-03 Theodore A. Roth <troth@openavr.org>
105 * remote.c (init_remote_state): Compute sizeof_g_packet by
106 accumulation of the size of all registers instead of blindly using
107 DEPRECATED_REGISTER_BYTES.
109 2003-06-03 Michael Snyder <msnyder@redhat.com>
111 * config/h8300/tm-h8300.h (h8300sxmode): Declare.
112 * h8300-tdep.c (h8300_gdbarch_init): Set machine mode
115 2003-06-03 J. Brobecker <brobecker@gnat.com>
117 * alpha-osf1-tdep.c (objfiles.h): #include, needed for symfile_objfile.
118 * Makefile.in (alpha-osf1-tdep.o): Update dependencies.
120 2003-06-03 Andrew Cagney <cagney@redhat.com>
122 * sparc-tdep.c (sparc_convert_to_virtual): Delete function.
123 (sparc_convert_to_raw): Delete function.
124 (sparc_gdbarch_init): Do not set register_convert_to_raw or
125 register_convert_to_virtual.
127 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
129 * thread-db.c (thread_db_mourn_inferior): Unpush thread target
130 layer if not dealing with a statically-linked threaded program.
132 2003-06-03 Kris Warkentin <kewarken@qnx.com>
134 * solib.c (solib_open): Update comment to reflect actual search order.
136 2003-06-03 Andrew Cagney <cagney@redhat.com>
138 * frame.c (get_frame_memory_signed): New function.
139 (get_frame_memory, get_frame_memory_unsigned): New function.
140 (get_frame_arch): New function.
141 * frame.h (get_frame_signed_memory, get_frame_arch): Declare.
142 (get_frame_memory, get_frame_unsigned_memory): Declare.
143 * d10v-tdep.c (d10v_frame_unwind_cache): Use
144 get_frame_memory_unsigned and get_frame_arch.
145 (d10v_frame_unwind_cache, saved_regs_unwinder): Ditto.
147 2003-06-03 Raoul Gough <RaoulGough@yahoo.co.uk>
149 * MAINTAINERS (write after approval): Add myself.
151 2003-06-03 Jim Blandy <jimb@redhat.com>
153 * s390-nat.c (supply_gregset, fill_gregset): On the s390x, the
154 elements of gregset_t are 64 bits each, but access registers
155 are still 32 bits, so they're packed two per gregset_t
156 element. Unpack/pack them properly.
158 2003-06-02 David Carlton <carlton@bactrian.org>
160 * linespec.c (find_methods): Break out code into
161 add_matching_methods and add_constructors.
162 (add_matching_methods): New.
163 (add_constructors): Ditto.
165 2003-06-02 Andrew Cagney <cagney@redhat.com>
167 * alpha-tdep.c (alpha_gdbarch_init): Set convert_register_p,
168 register_to_value, and value_to_register, instead of
169 register_convertible, register_convert_to_raw, and
170 register_convert_to_virtual.
171 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
172 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
173 * i386-tdep.c (i386_gdbarch_init): Ditto.
174 * sparc-tdep.c (sparc_print_registers): Delete call to
175 REGISTER_CONVERTIBLE.
176 (sparc_gdbarch_init): Do not set register_convertible.
177 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
178 * frv-tdep.c (frv_gdbarch_init): Ditto.
179 * cris-tdep.c (cris_gdbarch_init): Ditto.
181 2003-06-02 Elena Zannoni <ezannoni@redhat.com>
183 * target.h (TARGET_SYMFILE_POSTREAD): Delete unused macro.
184 * symfile.c (reread_symbols): Delete call to TARGET_SYMFILE_POSTREAD.
185 (syms_from_objfile): Ditto.
187 2003-06-03 Andreas Schwab <schwab@suse.de>
189 * m68k-tdep.c (m68k_gdbarch_init): Use set_gdbarch_print_insn ...
190 (_initialize_m68k_tdep): ... instead of deprecated_tm_print_insn.
192 2003-06-02 Richard Henderson <rth@redhat.com>
194 * alpha-tdep.c (alpha_register_reggroup_p): Zero is only
195 a member of all_reggroup.
197 2003-06-02 Richard Henderson <rth@redhat.com>
199 * alpha-tdep.c (alpha_register_type): Change from _virtual_type.
200 (alpha_convert_flt_dbl, alpha_convert_dbl_flt): Remove.
201 (alpha_lds, alpha_sts): New.
202 (alpha_convert_register_p): Change from _register_convertible.
203 (alpha_register_to_value): Change from _convert_to_virtual;
204 restructure and fail for type sizes other than 4 or 8.
205 (alpha_value_to_register): Similarly.
206 (alpha_extract_return_value): Use alpha_sts.
207 (alpha_store_return_value): Use alpha_lds.
208 (alpha_gdbarch_init): Update hooks.
210 2003-06-02 Richard Henderson <rth@redhat.com>
212 * alpha-tdep.c (alpha_register_virtual_type): Use alpha-specific
214 (alpha_sigtramp_register_address): Likewise.
216 2003-06-02 Richard Henderson <rth@redhat.com>
218 * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs): New.
219 (alpha_supply_fp_regs, alpha_fill_fp_regs): New.
220 * alpha-tdep.h: Declare them.
222 * alpha-nat.c (fetch_osf_core_registers): Constify core_reg_mapping.
223 Remove zerobuf. Don't error on UNIQUE.
224 (fetch_elf_core_registers): Use alpha_supply_{int,fp}_regs.
225 (ALPHA_REGSET_UNIQUE): Provide default.
226 (supply_gregset): Use alpha_supply_int_regs.
227 (fill_gregset): Use alpha_fill_int_regs.
228 (supply_fpregset): Use alpha_supply_fp_regs.
229 (fill_fpregset): Use alpha_fill_fp_regs.
230 * alphabsd-tdep.c (NUM_GREGS, NUM_FPREGS): Remove.
231 (alphabsd_supply_reg): Use alpha_supply_int_regs.
232 (alphabsd_fill_reg): Use alpha_fill_int_regs.
233 (alphabsd_supply_fpreg): Use alpha_supply_fp_regs.
234 (alphabsd_fill_fpreg): Use alpha_fill_fp_regs.
235 * config/alpha/nm-linux.h (ALPHA_REGSET_UNIQUE): New.
237 2003-06-02 Richard Henderson <rth@redhat.com>
239 * alpha-tdep.c (alpha_store_return_value): Avoid switch fallthru.
241 * alpha-tdep.c (alpha_extract_return_value): Use internal_error.
242 (alpha_store_return_value): Likewise.
244 2003-06-02 David Carlton <carlton@math.stanford.edu>
246 * block.c (contained_in): Add 'const' to arguments.
247 (block_function): Ditto.
248 * block.h: Update declarations for block_function and
251 2003-06-02 David Carlton <carlton@math.stanford.edu>
253 * objc-lang.c (find_imps): Delete unneeded variable 'sym_symtab'.
254 * c-valprint.c (c_val_print): Delete unneeded variable 's'.
255 * p-valprint.c (pascal_val_print): Ditto.
256 * ada-lang.c (standard_lookup): Delete unneded variable 'symtab'.
258 2003-06-02 Richard Henderson <rth@redhat.com>
260 * alpha-tdep.c (alpha_push_dummy_call): Use
261 builtin_type_ieee_double_little instead of builtin_type_double.
263 * alpha-tdep.c (alpha_push_dummy_call): Handle ABI mandated
264 sign-extension of 32-bit values.
265 (alpha_store_return_value): Similarly.
267 * alpha-tdep.c (alpha_push_dummy_call): Handle COMPLEX types.
268 (alpha_extract_return_value): Likewise.
269 (alpha_store_return_value): Likewise.
271 * alpha-tdep.c (alpha_extract_return_value): Handle IEEE Quad floats.
272 (alpha_store_return_value): Error on IEEE Quad floats.
274 * alpha-tdep.c (alpha_extract_return_value): Convert to regcache.
275 (alpha_extract_struct_value_address): Likewise.
276 (alpha_store_return_value): Likewise.
277 (alpha_store_struct_return): Remove.
278 (alpha_gdbarch_init): Update hook registration to match.
280 * alpha-tdep.c (alpha_register_convert_to_virtual): Tidy use of
281 deprecated interfaces; use ALPHA_REGISTER_SIZE instead of gdbarch
282 macros where appropriate.
283 (alpha_register_convert_to_raw): Similarly. Use unpack_long.
284 (alpha_convert_flt_dbl, alpha_convert_dbl_flt): New.
286 * alpha-tdep.c (alpha_register_virtual_type): Use void_data_ptr
287 for SP, GP; void_func_ptr for PC; non-language-specific types
289 * alpha-tdep.h (ALPHA_GP_REGNUM): New.
291 2003-06-02 Richard Henderson <rth@redhat.com>
293 * top.h (lim_at_start): Declare.
294 * main.c (captured_main): Set it.
295 * top.c (lim_at_start): Define.
296 (command_loop): Use it instead of &environ.
297 * event-top.c (command_handler): Likewise.
299 2003-06-01 Jason Thorpe <thorpej@wasabisystems.com>
301 * mipsnbsd-tdep.c: Update copyright years.
302 (fetch_core_registers): Correct arguments to mipsnbsd_supply_fpreg.
304 2003-06-01 Richard Henderson <rth@redhat.com>
306 * Makefile.in (ALLDEPFILES): Add alpha-mdebug-tdep.c.
307 (alpha-linux-tdep.o): Update dependencies.
308 (alpha-nat.o, alpha-tdep.o, alpha-mdebug-tdep.o): Likewise.
309 * alpha-mdebug-tdep.c: Remove unneeded includes.
311 2003-06-01 Richard Henderson <rth@redhat.com>
313 * alpha-tdep.c (alpha_register_reggroup_p): New.
314 (alpha_gdbarch_init): Register it.
316 2003-06-02 Andrew Cagney <cagney@redhat.com>
318 * dwarfread.c: Eliminate "register"
319 (decode_die_type): Eliminate assignment within "if".
320 (struct_type, decode_array_element_type): Ditto.
321 (dwarf_read_array_type, read_tag_pointer_type): Ditto.
322 (read_subroutine_type, enum_type, add_enum_psymbol): Ditto.
323 (decode_modified_type, completedieinfo): Ditto.
324 * block.c: Eliminate "register".
325 (blockvector_for_pc_sect): Eliminate assignment within "if".
326 * cp-support.h (struct symbol): Opaque declaration.
327 * breakpoint.c (handle_gnu_v3_exceptions): Use xfree, not free.
329 2003-06-01 Richard Henderson <rth@redhat.com>
331 * alpha-tdep.c (alpha_gdbarch_init): Use set_gdbarch_print_insn ...
332 (_initialize_alpha_tdep): ... not deprecated_tm_print_insn.
334 2003-06-01 Adam Fedor <fedor@gnu.org>
336 * gdbarch.sh (function_list): Add FETCH_POINTER_ARGUMENT.
337 * gdbarch.[ch]: Regenerate.
338 * hppa-tdep.c (hppa_fetch_pointer_argument): New function.
339 (hppa_gdbarch_init): Set it in the gdbarch vector.
340 * i386-tdep.c (i386_fetch_pointer_argument): New
341 (i386_gdbarch_init): Set it into gdbarch.
342 * rs6000-tdep.c (rs6000_fetch_pointer_argument): New.
343 (rs6000_gdbarch_init): Set it in gdbarch.
344 * sparc-tdep.c (sparc_fetch_pointer_argument): New
345 (sparc_gdbarch_init): Set it in gdbarch.
347 2003-06-01 Andrew Cagney <cagney@redhat.com>
349 * defs.h (extract_address): Delete declaration.
350 * findvar.c (extract_address): Delete function.
351 * xstormy16-tdep.c (xstormy16_extract_return_value): Replace
352 extract_address with the inline equivalent,
353 extract_unsigned_integer.
354 (xstormy16_extract_struct_value_address): Ditto.
355 (xstormy16_pointer_to_address): Ditto.
356 * vax-tdep.c (vax_extract_struct_value_address): Ditto.
357 * v850-tdep.c (v850_push_arguments): Ditto.
358 (v850_extract_return_value): Ditto.
359 (v850_extract_struct_value_address): Ditto.
360 * sparcnbsd-tdep.c (sparcnbsd_get_longjmp_target_32): Ditto.
361 (sparcnbsd_get_longjmp_target_64): Ditto.
362 * sparc-tdep.c (sparc_frame_saved_pc): Ditto.
363 (get_longjmp_target): Ditto.
364 * sh-tdep.c (sh_extract_struct_value_address): Ditto.
365 (sh64_extract_struct_value_address): Ditto.
366 (sh_push_arguments): Ditto.
367 (sh64_push_arguments): Ditto.
368 * remote-vxsparc.c (vx_read_register): Ditto.
369 * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Ditto.
370 * ns32k-tdep.c (ns32k_extract_struct_value_address): Ditto.
371 * mn10300-tdep.c (mn10300_extract_struct_value_address): Ditto.
372 * mipsv4-nat.c (get_longjmp_target): Ditto.
373 * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Ditto.
374 * mips-nat.c (get_longjmp_target): Ditto.
375 * mips-linux-tdep.c (mips_linux_get_longjmp_target): Ditto.
376 * mcore-tdep.c (mcore_extract_struct_value_address): Ditto.
377 * m68k-tdep.c (m68k_get_longjmp_target): Ditto.
378 * m68hc11-tdep.c (m68hc11_extract_struct_value_address): Ditto.
379 * irix5-nat.c (get_longjmp_target): Ditto.
380 * irix4-nat.c (get_longjmp_target): Ditto.
381 * ia64-tdep.c (generic_elf_find_global_pointer): Ditto.
382 (ia64_push_arguments): Ditto.
383 * hpux-thread.c (hpux_thread_store_registers): Ditto.
384 * h8300-tdep.c (h8300_push_arguments): Ditto.
385 (h8300_store_return_value): Ditto.
386 (h8300_extract_struct_value_address): Ditto.
387 * frv-tdep.c (frv_extract_struct_value_address): Ditto.
388 (frv_push_arguments): Ditto.
389 * avr-tdep.c (avr_pointer_to_address): Ditto.
390 (avr_push_arguments): Ditto.
391 * arm-tdep.c (arm_push_dummy_call): Ditto.
392 (arm_get_longjmp_target): Ditto.
393 * arm-linux-tdep.c (arm_linux_push_arguments): Ditto.
394 * alpha-tdep.c (alpha_extract_struct_value_address): Ditto.
395 (alpha_get_longjmp_target): Ditto.
397 * solib-irix.c (extract_mips_address): Inline extract_address,
398 replacing it with extract_signed_integer.
399 * solib-svr4.c (SOLIB_EXTRACT_ADDRESS): Ditto.
400 (LM_NAME, IGNORE_FIRST_LINK_MAP_ENTRY): Ditto.
401 (first_link_map_member, open_symbol_file_object): Ditto.
402 (svr4_fetch_objfile_link_map, svr4_fetch_objfile_link_map): Ditto.
403 * solib-sunos.c (SOLIB_EXTRACT_ADDRESS): Ditto.
404 (LM_NEXT, LM_NAME): Ditto.
406 2003-06-01 Richard Henderson <rth@redhat.com>
408 * alpha-tdep.h (ALPHA_FP_REGNUM): Remove.
409 * alpha-tdep.c (alpha_register_name): Remove vfp entry.
410 (alpha_cannot_fetch_register): Remove ALPHA_FP_REGNUM.
411 (alpha_cannot_store_register): Likewise.
412 * alphabsd-nat.c (fetch_inferior_registers): Don't set FP_REGNUM.
413 * alpha-nat.c (supply_gregset): Likewise.
414 * alphanbsd-tdep.c (fetch_core_registers): Likewise.
416 2003-06-01 Andrew Cagney <cagney@redhat.com>
418 * infcall.c (call_function_by_hand): Update comment on
419 DEPRECATED_DUMMY_WRITE_SP.
421 * mips-tdep.c (mips_gdbarch_init): Do not set
422 deprecated_dummy_write_sp.
423 (mips_eabi_push_dummy_call): Set the SP register.
424 (mips_o64_push_dummy_call): Set the SP register.
425 (mips_o32_push_dummy_call): Set the SP register.
426 (mips_n32n64_push_dummy_call): Set the SP register.
428 2003-06-01 Richard Henderson <rth@redhat.com>
430 * alpha-nat.c (fetch_osf_core_registers): Use ALPHA_REGISTER_SIZE
431 instead of ALPHA_MAX_REGISTER_RAW_SIZE.
432 (supply_gregset): Likewise.
433 * alpha-tdep.c (alpha_store_return_value): Likewise.
434 (alpha_get_longjmp_target): Likewise.
435 (alpha_register_name): Constify array.
436 (alpha_gdbarch_init): Remove deprecated_fp_regnum,
437 deprecated_register_size, deprecated_register_bytes,
438 deprecated_max_register_raw_size, deprecated_max_register_virtual_size.
439 * alpha-tdep.h (ALPHA_MAX_REGISTER_RAW_SIZE): Remove.
440 (ALPHA_MAX_REGISTER_VIRTUAL_SIZE): Remove.
442 2003-06-01 Richard Henderson <rth@redhat.com>
444 * alpha-tdep.c (alpha_push_dummy_call): Store sp. Tidy copies
445 from arg_reg_buffer to regcache to avoid double conversion.
447 2003-06-01 Mark Kettenis <kettenis@gnu.org>
449 * i386-linux-nat.c (child_resume): Use I386_ESP_REGNUM instead of
451 * i386-linux-tdep.c (i386_linux_sigcontext_addr): Likewise.
452 * i386bsd-tdep.c (i386bsd_sigcontext_addr): Likewise.
454 2003-06-01 Richard Henderson <rth@redhat.com>
456 * dwarf2-frame.c (struct dwarf2_cie): Add saw_z_augmentation.
457 (decode_frame_entry): Set it. Skip FDE augmentation.
459 2003-06-01 Richard Henderson <rth@redhat.com>
461 * dwarf2-frame.c (dwarf2_frame_cache): Handle retaddr_column
462 not overlapping PC_REGNUM.
464 2003-06-01 Richard Henderson <rth@redhat.com>
466 * alpha-tdep.c (alpha_push_dummy_call): Transmography from
467 alpha_push_arguments. Don't dump argument register data to
468 the target stack. Fix float and 128-bit long double semantics.
469 Store $t12 and $ra as specified by the ABI. Use regcache everywhere.
470 (alpha_fix_call_dummy): Remove.
471 (alpha_call_dummy_words): Remove.
472 (alpha_gdbarch_init): Kill deprecated call hooks; add push_dummy_call.
474 2003-06-01 Richard Henderson <rth@redhat.com>
476 * alpha-linux-tdep.c (alpha_linux_init_abi): Install dwarf2 unwinder.
478 2003-06-01 Andrew Cagney <cagney@redhat.com>
480 * mips-tdep.c (is_mips16_addr): New function.
481 (make_mips16_addr, unmake_mips16_addr): New functions.
482 (pc_is_mips16, mips_fetch_instruction): Use.
483 (gdb_print_insn_mips, mips_breakpoint_from_pc): Use.
484 (gdb_print_insn_mips): Eliminate TM_PRINT_INSN_MACH.
485 (mips_dump_tdep): Delete print of TM_PRINT_INSN_MACH,
486 UNMAKE_MIPS16_ADDR, MAKE_MIPS16_ADDR, IS_MIPS16_ADDR and
488 * config/mips/tm-mips.h: Update copyright.
489 (TARGET_MIPS, TM_PRINT_INSN_MACH): Delete.
490 (DEPRECATED_REGISTER_SIZE, DEPRECATED_REGISTER_BYTES): Delete.
491 (IS_MIPS16_ADDR, MAKE_MIPS16_ADDR, UNMAKE_MIPS16_ADDR): Delete.
492 * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Delete.
493 (TM_PRINT_INSN_MACH): Delete.
494 * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Delete.
496 * configure.tgt: Replace mips64*vr4xxx*el-*-elf*,
497 mips64*vr4xxx*-*-elf*, mips64*vr4300*el-*-elf*,
498 mips64*vr4300*-*-elf*, mips64*vr4100*el-*-elf*,
499 mips64*vr4100*-*-elf*, mips64*vr5000*el-*-elf*, and
500 mips64*vr5000*-*-elf* with mips64 mips64*vr*-*-elf*. Delete
501 mips*tx39*el*-elf*. Map mips*-sony-* and mips64*-big-* onto
502 mips64. Map mips*-dec-*, mips*-big-*, mips*-little-*,
503 mips*-*-riscos* and mips*-*-sysv* onto mips.
504 * config/mips/mips64.mt: New file.
505 * config/mips/mips.mt: New file.
506 * config/mips/littlemips.mt: Delete file.
507 * config/mips/decstation.mt: Delete file.
508 * config/mips/vr4300el.mt: Delete file.
509 * config/mips/vr5000el.mt: Delete file.
510 * config/mips/vr5000.mt: Delete file.
511 * config/mips/vr4100.mt: Delete file.
512 * config/mips/vr4xxxel.mt: Delete file.
513 * config/mips/vr4300.mt: Delete file.
514 * config/mips/vr4xxx.mt: Delete file.
515 * config/mips/bigmips.mt: Delete file.
516 * config/mips/bigmips64.mt: Delete file.
517 * config/mips/tx39l.mt (TM_FILE): Set to "tm-tx39.h".
518 * config/mips/embedl64.mt (TM_FILE): Set to "tm-mips64.h".
519 * config/mips/embed64.mt (TM_FILE): Set to "tm-mips64.h"
520 * config/mips/embedl.mt (TM_FILE): Set to "tm-mips.h".
521 * config/mips/tm-tx39.h: Include "tm-mips.h" instead of
523 * config/mips/tm-irix3.h: Ditto.
524 * config/mips/tm-mipsv4.h: Ditto.
525 * config/mips/tm-embed.h: Ditto.
526 * config/mips/tm-irix6.h: Include "tm-mips64.h" instead of
528 * config/mips/tm-vr5000el.h: Delete file.
529 * config/mips/tm-tx39l.h: Delete file.
530 * config/mips/tm-vr4300el.h: Delete file.
531 * config/mips/tm-vr4xxxel.h: Delete file.
532 * config/mips/tm-vr4300.h: Delete file.
533 * config/mips/tm-vr4100.h: Delete file.
534 * config/mips/tm-vr4xxx.h: Delete file.
535 * config/mips/tm-vr5000.h: Delete file.
536 * config/mips/tm-embedl64.h: Delete file.
537 * config/mips/tm-embedl.h: Delete file.
538 * config/mips/tm-embed64.h: Delete file.
539 * config/mips/tm-bigmips64.h: Delete file.
540 * config/mips/tm-bigmips.h: Delete file.
542 2003-06-01 Mark Kettenis <kettenis@gnu.org>
545 * shnbsd-nat.c: Include "sh-tdep.h".
547 From Richard Henderson <rth@redhat.com>:
548 * dwarf2-frame.c (dwarf2_frame_state_alloc_regs): Fix ptr arithmetic.
550 2003-05-31 Andrew Cagney <cagney@redhat.com>
552 * mips-tdep.c (set_reg_offset): Add saved_regs parameter. Add
554 (mips16_heuristic_proc_desc): Pass temp_saved_regs.
555 (mips16_heuristic_proc_desc): Pass temp_saved_regs.
556 (mips_find_saved_regs): Use set_reg_offset.
557 (mips_frame_init_saved_regs): Delete function.
558 (mips_pop_frame): Call mips_find_saved_regs instead of
559 DEPRECATED_FRAME_INIT_SAVED_REGS.
561 2003-05-31 Andrew Cagney <cagney@redhat.com>
563 * mips-tdep.c (mips_gdbarch_init): Do not set
564 deprecated_max_register_raw_size, register_virtual_size, and
565 deprecated_max_register_virtual_size.
567 2003-05-31 Mark Kettenis <kettenis@gnu.org>
569 * i386-tdep.c: Include "dwarf2-frame.h".
570 (i386_gdbarch_init): Hook in the DWARF CFI frame unwinder.
571 * Makefile.in (i386-tdep.o): Update dependencies.
573 * dwarf2-frame.c, dwarf2-frame.h: New files.
574 * Makefile.in (SFILES): Add dwarf2-frame.c.
575 (dwarf2_frame_h): Define.
576 (COMMON_OBS): Add dwarf2-frame.o.
577 (dwarf2-frame.o): Add dependencies.
579 2003-05-31 Andreas Jaeger <aj@suse.de>
581 * x86-64-linux-nat.c: Fix comment.
583 2003-05-31 Mark Kettenis <kettenis@gnu.org>
585 * x86-64-tdep.c (x86_64_push_dummy_call): Adjust for changed
588 * i386-tdep.c (i386_sigtramp_frame_p): Only handle frames if we
589 have a sigcontext_addr handler.
590 * x86-64-tdep.c (x86_64_sigtramp_frame_p): Assert that we have a
591 sigcontext_addr handler.
593 2003-05-31 Andrew Cagney <cagney@redhat.com>
595 * mips-tdep.c (print_gp_register_row): Replace do_gp_register_row.
596 (print_fp_register_row): Replace do_fp_register_row.
597 (mips_print_fp_register): Add "file" and "frame" parameters.
598 (mips_print_register): Add "file" and "frame" parameters.
599 (mips_print_registers_info): Replace mips_do_registers_info.
600 (mips_gdbarch_init): Set print_registers_info instead of
601 deprecated_do_registers_info.
602 (mips_read_fp_register_single): Add "frame" parameter.
603 (mips_read_fp_register_double): Add "frame" parameter.
605 2003-05-31 Mark Kettenis <kettenis@gnu.org>
607 * i386-tdep.c (i386_register_name): Check for MMX registers first.
608 Fixes a bug where GDB would print the wrong register names for
611 * x86-64-tdep.c (X86_64_NUM_SAVED_REGS): Set to X86_64_NUM_GREGS.
612 (x86_64_sigtramp_frame_cache): Use `sc_reg_offset' to find saved
615 * x86-64-linux-tdep.c (x86_64_linux_sc_reg_offset): New variable.
616 (x86_64_linux_init_abi): Initialize TDEP->sc_reg_offset and
617 TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
620 From Michal Ludvig <mludvig@suse.cz>:
621 * i386-tdep.h (struct gdbarch_tdep): Add members `sc_reg_offset'
623 (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM,
624 I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM,
625 I386_ST0_REGNUM): Move here from...
626 * i386-tdep.c: ... here.
627 (I386_NUM_SAVED_REGS): Define to I386_NUM_REGS.
628 (i386_sigtramp_frame_cache): Use `sc_reg_offset' to find saved
629 registers if possible.
630 (i386_gdbarch_init): Initialize TDEP->sc_reg_offset.
631 * i386bsd-tdep.c (i386bsd_sc_pc_offset, i386bsd_sc_sp_offset):
633 (i386bsd_sc_reg_offset): New variable.
634 (i386bsd_init_abi): Initialize TDEP->sc_reg_offset and
635 TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
637 (i386fbsd_sc_reg_offset): New variable.
638 (i386fbsdaout_init_abi): Initialize TDEP->sc_reg_offset and
640 (i386fbsd4_sc_pc_offset, i386fbsd4_sc_sp_offset): Remove
642 (i386fbsd4_sc_reg_offset): New variable.
643 (i3864bsd4_init_abi): Initialize TDEP->sc_reg_offset and
644 TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
646 * i386-linux-tdep.c (i386_linux_sc_reg_offset): New variable.
647 (i386_linux_init_abi): Set TDEP->sc_reg_offset and TDEP->sc_num_regs.
648 * i386nbsd-tdep.c (i386nbsd_sc_pc_offset, i386nbsd_sc_sp_offset):
650 (i386nbsd_sc_reg_offset): New variable.
651 (i386nbsd_init_abi): Initialize TDEP->sc_reg_offset and
652 TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
654 * i386obsd-tdep.c (i386obsd_sc_pc_offset, i386obsd_sc_sp_offset):
656 (i386obsd_sc_reg_offset): New variable.
657 (i386obsd_init_abi): Initialize TDEP->sc_reg_offset and
658 TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
660 * i386bsd-nat.c (_initialize_i386bsd_nat): Adjust for changes in
661 i386bsd-tdep.c, i386nbsd-tdep.c and i386obsd-tdep.c. Add check
662 for frame pointer offset in `struct sigcontext'.
664 2003-05-31 Andrew Cagney <cagney@redhat.com>
666 * mips-tdep.c (mips_gdbarch_init): Do not set the deprecated
667 architecture methods call_dummy_words, sizeof_call_dummy_words,
668 push_return_address, store_struct_return, and fix_call_dummy. Set
669 push_dummy_call instead of deprecated_push_arguments.
670 (mips_store_struct_return): Delete function.
671 (mips_fix_call_dummy): Delete function.
672 (mips_push_return_address): Delete function.
673 (mips_eabi_push_dummy_call): Replace mips_eabi_push_arguments, set
674 RA_REGNUM and T9_REGNUM.
675 (mips_n32n64_push_dummy_call): Ditto for
676 mips_n32n64_push_arguments.
677 (mips_o32_push_dummy_call): Ditto for mips_o32_push_arguments.
678 (mips_o64_push_dummy_call): Ditto for mips_o64_push_arguments.
680 2003-05-31 Andrew Cagney <cagney@redhat.com>
682 * gdbarch.sh (PUSH_DUMMY_CALL): Add "func_addr" parameter. Rename
683 "dummy_addr" to "bp_addr".
684 * infcall.c (call_function_by_hand): Pass "funaddr" to
685 gdbarch_push_dummy_call.
686 * gdbarch.h, gdbarch.c: Re-generate.
687 * i386-tdep.c (i386_push_dummy_call): Update.
688 * arm-tdep.c (arm_push_dummy_call): Update.
689 * d10v-tdep.c (d10v_push_dummy_call): Update.
691 2003-05-31 Mark Kettenis <kettenis@gnu.org>
693 * x86-64-tdep.h (x86_64_num_regs, x86_64_num_gregs): Remove
694 variable declarations.
695 (x86_64_register_number, x86_64_register_name): Remove prototypes.
696 (x86_64_linux_frame_saved_pc, x86_64_linux+saved_pc_after_call,
697 x86_64_linux_in_sigtramp, x86_64_linux_frame_chain,
698 x86_64_init_frame_pc, x86_64_init_frame_pc,
699 x86_64_function_has_prologue): Remove prototypes.
700 (X86_64_NUM_GREGS): New define.
701 (x86_64_supply_fxsave, x86_64_fill_fxsave): New prototypes.
702 * x86-64-tdep.c: Don't include "dwarf2cfi.h". Include
703 "dummy_frame.h", "frame.h", "frame-base.h", "frame-unwind.h".
704 (RAX_REGNUM, RDX_REGNUM, RDI_REGNUM, EFLAGS_REGNUM, ST0_REGNUM,
705 XMM1_REGNUM): Remove defines.
706 (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM,
707 X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM,
708 X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM,
709 X86_64_XMM1_REGNUM): New defines.
710 (struct x86_64_register_info): Renamed from `struct
711 register_info'. Remove `size' member.
712 (x86_64_register_info_table): Remove variable.
713 (x86_64_register_info): New variable.
714 (X86_64_NUM_REGS): New define.
715 (X86_64_NUM_GREGS): Remove define.
716 (x86_64_num_regs, x86_64_num_gregs): Remove variables.
717 (x86_64_dwarf2gdb_regno_map, x86_64_dwarf2gdb_regno_map_length):
719 (x86_54_dwarf2_reg_to_regnum): Remove function.
720 (x86_64_dwarf_regmap, x86_64_dwarf_regmap_len): New variables.
721 (x86_64_dwarf_reg_to_regnum): New function.
722 (x86_64_register_name): Rewrite.
723 (x86_64_register_raw_size): Remove function.
724 (x86_64_register_byte_table): Remove variable.
725 (x86_64_register_byte): Remove function.
726 (x86_64_register_virtual_type): Remove function.
727 (x86_64_register_type): New function.
728 (x86_64_register_convertible, x86_64_register_convert_to_virtual,
729 x86_64_register_convert_to_raw): Remove functions.
730 (x86_64_push_return_address, x86_64_pop_frame): Remove functon.
731 (x86_64_use_struct_convention): Make static. Adjust for renamed
733 (x86_64_frame_init_saved_regs): Remove function.
734 (x86_64_push_arguments): Make static. Change to accept a regcache
736 (x86_64_store_return_value, x86_64_extract_return_value): Make
737 static. Rewrite based on i386 counterparts.
738 (x86_64_push_dummy_call): New function.
739 (X86_64_NUM_SAVED_REGS): New define.
740 (x86_64_register_number): Remove function.
741 (x86_64_store_struct_return): Remove function.
742 (x86_64_frameless_function_invocation,
743 x86_64_function_has_prologue): Remove functions.
744 (PROLOG_BUFSIZE): Remove define.
745 (struct x86_64_frame_cache): New structure.
746 (x86_64_alloc_frame_cache, x86_64_analyze_prologue,
747 x86_64_frame_cache, x86_64_frame_this_id,
748 x86_64_frame_prev_register, x86_64_frame_p,
749 x86_64_sigtramp_frame_cache, x86_64_sigtramp_frame_this_id,
750 x86_64_sigtramp_frame_prev_register, x86_sigtramp_frame_p): New
752 (x86_64_frame_unwind, x86_64_sigtramp_frame_unwind): New
754 (x86_64_skip_prologue): Rewrite in terms of
755 x86_64_analyze_prologue.
756 (x86_64_frame_base_address): New function.
757 (x86_64_frame_base): New variable.
758 (x86_64_save_dummy_frame_tos, x86_64_unwind_dummy_id): Rewrite.
759 (x86_64_init_abi): Set register_type and push_dummy_call. Don't
760 set deprecated_fp_regnum, deprecated_register_size,
761 deprecated_register_bytes, register_raw_size, register_byte,
762 register_virtual_type, register_convertiable,
763 register_convert_to_virtual, convert_to_raw,
764 deprecated_get_saved_register, deprecated_target_read_fp,
765 deprecated_push_arguments, deprecated_push_return_address,
766 deprecated_pop_frame, deprecated_store_struct_return,
767 deprecated_frame_init_saved_regs, deprecated_frame_chain,
768 frameless_function_invocation, deprecated_frame_saved_pc,
769 deprecated_saved_pc_after_call, frame_num_args, pc_in_sigtramp,
770 dwarf2_build_frame_info, deprecated_init_extra_frame_info,
771 deprecated_init_frame_pc and virtual_frame_pointer. Call
772 frame_unwind_append_predicate to register x86_64_sigtramp_frame_p
773 and x86_64_frame_p. Call frame_base_set_default to register
775 (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): New defines.
776 (x86_64_supply_fxsave, x86_64_fill_fxsave): New functions.
777 (_initialize_x86_64_tdep): Remove function.
778 * x86-64-linux-tdep.c: Don't include "dwarf2cfi.h".
779 (LINUX_SIGINFO_SIZE, LINUX_UCONTEXT_SIGCONTEXT_OFFSET,
780 LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_FP_OFFSET): Don't
782 (X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Define.
783 (x86_64_linux_sigcontext_addr): Rewrite.
784 (x86_64_linux_sigtramp_saved_pc, x86_64_linux_saved_pc_after_call,
785 x86_64_linux_frame_saved_pc): Remove functions.
786 (x86_64_linux_pc_in_sigtramp): Renamed from
787 x86_64_linux_in_sigtramp. Try harder to recognize a signal
789 (x86_64_linux_frame_chain, x86_64_init_frame_pc):
791 (x86_64_linux_init_abi): Set pc_in_sigtramp. Initialize
792 TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset.
793 * x86-64-linux-nat.c: Sync with i386-linux-tdep.c.
794 (x86_64_regmap): Rename to regmap.
795 (GETREGS_SUPPLIES): Use X86_64_NUM_GREGS instead of
797 (supply_gregset, fill_gregset): Likewise. Use regmap instead of
799 (x86_64_fxsave_offset): Remove function.
800 (supply_fpregset): Simply call x86_64_supply_fxsave.
801 (fill_fpregset): Simply call x86_64_fill_fxsave.
802 (fetch_inferior_registers, store_inferior_registers): Avoid
803 asignment in if-statement.
804 (LINUX_SYSCALL_LEN, LINUX_SYSCALL_REGNUM, SYS_Sigreturn,
805 SYS_rt_sigreturn, LINUX_SIGCONTEXT_EFLAGS_OFFSET,
806 LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Remove defines.
807 (fetch_core_registers): Remove function.
808 (linux_elf_core_fns): Remove.
809 (offsetoff): Don't define.
810 (_initialize_x86_64_linux_nat, kernel_u_size): Remove functions.
811 * config/i386/x86-64linux.mt (TDEPFILES): Add i386-linux-tdep.o.
812 * config/i386/x86-64linux.mh (NATDEPFILES): Remove core-aout.o,
814 * config/i386/nm-x86-64linux.h: Use NM_X86_64_LINUX_H for
815 protection against multiple includes instead of NM_X86_64_h. Add
816 various comments. Include "config/nm-linux.h". Don't include
818 (REGISTER_U_ADDR, KERNEL_U_SIZE, U_REGS_OFFSET, KERN_U_ADDR,
819 GET_THREAD_SIGNALS): Remove defines.
820 (x86_64_register_u_addr, kernel_u_size,
821 lin_thread_get_thread_signals): Remove prototypes.
822 (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define to `long'.
823 [HAVE_LINK_H]: Don't include "solib.h".
824 [HAVE_LINK_H] (SVR4_SHARED_LIBS): Remove define.
825 * config/i386/tm-x86-64linux.h: Fix comments.
826 * Makefile.in (x86-64-linux-nat.o, x86_64-linux-tdep.o,
827 x86-64-tdep.o): Update dependencies.
829 2003-05-30 Andrew Cagney <cagney@redhat.com>
831 * config/sparc/tm-sparc.h (sparc_extract_struct_value_address):
832 Change parameter type to a "struct regcache *".
834 * gdbarch.sh: Regardless of the multi-arch level, always define
835 the macro when not already defined.
836 * gdbarch.h, gdbarch.c: Re-generate.
838 2003-05-30 Richard Henderson <rth@redhat.com>
840 * alpha-mdebug-tdep.c (alpha_mdebug_frame_p): Reject prologues.
841 (alpha_mdebug_frame_unwind_cache): Don't call the heuristic unwinder.
842 (alpha_mdebug_frame_this_id): Likewise.
843 (alpha_mdebug_frame_prev_register): Likewise.
844 (alpha_mdebug_frame_base_address): Likewise.
845 (alpha_mdebug_frame_locals_address): Likewise.
846 (alpha_mdebug_frame_args_address): Likewise.
847 (struct alpha_mdebug_unwind_cache): Remove in_prologue_cache.
848 * alpha-tdep.c (alpha_heuristic_proc_start): Use get_pc_function_start.
849 (alpha_heuristic_frame_unwind_cache): Make static; add missing
851 (alpha_heuristic_frame_this_id): Make static.
852 (alpha_heuristic_frame_prev_register): Likewise.
853 (alpha_heuristic_frame_base_address): Likewise.
854 * alpha-tdep.h: Update.
856 2003-05-30 Mark Kettenis <kettenis@gnu.org>
858 * i386-tdep.h (i386bsd_sigcontext_addr): Remove prototype.
859 (I386_SIZEOF_GREGS, I386_SIZEOF_FREGS, I386_SIZEOF_XREGS): Remove
861 (IS_FP_REGNUM, IS_SSE_REGNUM): Remove definitions.
862 * i386-tdep.c: Mark functions that are 64-bit safe as such.
863 (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM,
864 I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM,
865 I386_ST0_REGNUM): New defines.
866 (CODESTREAM_BUFSIZ, codestream_tell, codestream_peek,
867 codestream_get): Remove define.
868 (codestream_next_addr, condestream_addr, condestream_buf,
869 codestream_off, codestream_cnt): Remove variables.
870 (codestream_fill, codestream_seek, codestream_read): Remove
872 (i386_follow_jump): Rewrite to avoid usage of removed codestream
874 (i386_get_frame_setup, i386_frameless_signal_p, i386_frame_chain,
875 i386_sigtramp_saved_pc, i386_sigtramp_saved_sp,
876 i386_frame_saved_pc, i386_saved_pc_after_call,
877 i386_frame_num_args, i386_frame_init_saved_regs,
878 i386_push_return_address, i386_do_pop_frame, i386_pop_frame,
879 i386_push_arguments): Remove functions.
880 (i386_skip_prologue): Rewrite to avoid usage of removed codestream
881 functionality. Use i386_analyze_prologue instead of
882 i386_get_frame_setup.
883 (I386_NUM_SAVED_REGS): New define.
884 (struct i386_frame_cache): New structure.
885 (i386_alloc_frame_cache, i386_analyze_struct_return,
886 i386_skip_probe, i386_analyze_frame_setup,
887 i386_analyze_register_saves, i386_analyze_prologue,
888 i386_unwind_pc, i386_frame_cache, i386_frame_this_id,
889 i386_frame_prev_register, i386_sigtramp_frame_cache,
890 i386_sigtramp_frame_this_id, i386_sigtramp_frame_prev_register,
891 i386_frame_p, i386_sigtramp_frame_p, i386_frame_base_address,
892 i386_unwind_dummy_id, i386_save_dummy_tos, i386_push_dummy_call):
894 (i386_frame_unwind, i386_sigtramp_frame_unwind, i386_frame_base):
896 (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): Define in terms of
897 I386_EAX_REGNUM and I386_EDX_REGNUM.
898 (i386_extract_return_value, i386_store_return_value): Use
899 I386_ST0_REGNUM where appropriate.
900 (i386_extract_struct_value_address): Rewrite to use extract_address.
901 (i386_svr4_pc_in_sigtramp): Add comment.
902 (i386_svr4_sigcontext_addr): Rewrite.
903 (i386_svr4_init_abi): Adjust TDEP->sc_pc_offset and
905 (i386_gdbarch_init): Don't set deprecated_init_frame_pc. Set
906 sp_regnum, fp_regnum, pc_regnum, ps_regnum and fp0_regnum in terms
907 of new defines. Set push_dummy_call, don't set
908 deprecated_push_arguments, deprecated_push_return_address,
909 deprecated_pop_frame. Don't set parm_boundary. Don't set
910 deprecated_frame_chain, deprecated_frame_saved_pc,
911 deprecated_saved_pc_after_call. Set unwind_dummy_id,
912 save_dummy_frame_tos, unwind_pc. Call
913 frame_unwind_append_predicate and frame_base_set_default. Don't
914 set deprecated_dummy_write_pc. Don't set deprecated_fp_regnum.
915 Don't set frameless_function_invocation. Don't set
916 deprecated_register_bytes, deprecated_register_size,
917 deprecated_call_dummy_words and deprecated_sizeof_call_dummy.
918 * i386-linux-tdep.c: Fix formatting in some comments.
919 (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0,
920 LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1,
921 LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2,
922 LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
923 LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): Drop
924 redundant parentheses.
925 (I386_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): New define.
926 (i386_linux_sigcontext_addr): Use it. Rewrite.
927 (find_minsym_and_objfile): Change name of second argument.
928 (skip_gnu_resolver): Renamed from skip_hurd_resolver. All callers
929 changed. Use frame_pc_unwind instead of
930 DEPRECATED_SAVED_PC_AFTER_CALL.
931 (i386_linux_init_abi): Don't set deprecated_register_bytes.
932 * i386bsd-tdep.c (i386bsd_sigcontext_addr): Rewrite.
933 * i386-nto-tdep.c (i386nto_sigcontext_addr): Adapt for new frame
935 * i386-cygwin-tdep.c: Don't include "gdbcore.h", "frame.h" and
937 (i386_cygwin_frame_chain_valid, i386_cygwin_frame_chain): Removed.
938 (_initialize_i386_cygwin_tdep): New prototype.
939 (i386_cygwin_init_abi): Don't set deprecated_frame_chain and
940 deprecated_frame_chain_valid.
941 * i386-sol2-tdep.c (i386_sol2_init_abi): Don't set
942 TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset.
943 Rely on the SVR4 defaults.
944 * config/i386/i386sol2.mt (TDEPFILES): Remove i386bsd-tdep.o.
945 * Makefile.in (i386-tdep.o, i386-cygwin-tdep.o): Update dependencies.
947 2003-05-30 Andrew Cagney <cagney@redhat.com>
949 * infcall.c (call_function_by_hand): Always call
950 DEPRECATED_FIX_CALL_DUMMY, even for AT_ENTRY_POINT case.
952 2003-05-30 Richard Henderson <rth@redhat.com>
954 * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Fix loop
957 2003-05-29 Jim Blandy <jimb@redhat.com>
959 Use gdbarch methods for solib stuff on PowerPC Linux.
960 * config/powerpc/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE,
961 SKIP_TRAMPOLINE_CODE): #undef these, so the gdbarch methods will
963 * ppc-linux-tdep.c (ppc_linux_init_abi): Register
964 IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE methods here,
965 giving the same effect as the #definitions above.
967 2003-05-29 Adam Fedor <fedor@gnu.org>
969 * objc-lang.c (CONVERT_FUNCPTR): Remove macro
970 (find_implementation_from_class): Replace it with the standard
971 case i.e. do nothing.
973 2003-05-29 Richard Henderson <rth@redhat.com>
975 * alpha-linux-tdep.c (alpha_linux_sigtramp_offset_1): New.
976 (alpha_linux_sigtramp_offset): Use it. Make static.
977 (alpha_linux_sigcontext_addr): Handle __NR_rt_sigreturn;
978 update for new frame model.
979 * alpha-mdebug-tdep.c: New file.
980 * alpha-osf1-tdep.c (alpha_call_dummy_address): Move from alpha-tdep.c.
981 (alpha_osf1_init_abi): Install it.
982 * alpha-tdep.c (PROC_*): Move to alpha-mdebug-tdep.c.
983 (linked_proc_desc_table): Remove.
984 (alpha_frame_past_sigtramp_frame): Remove.
985 (alpha_dynamic_sigtramp_offset): Remove.
986 (ALPHA_PROC_SIGTRAMP_MAGIC): Remove.
987 (alpha_proc_desc_is_dyn_sigtramp): Remove.
988 (alpha_set_proc_desc_is_dyn_sigtramp): Remove.
989 (push_sigtramp_desc): Remove.
990 (alpha_cannot_fetch_register): Use ALPHA_FP_REGNUM.
991 (alpha_cannot_store_register): Likewise.
992 (alpha_sigcontext_addr): Remove.
993 (alpha_find_saved_regs): Remove.
994 (alpha_frame_init_saved_regs): Remove.
995 (alpha_init_frame_pc_first): Remove.
996 (read_next_frame_reg): Remove.
997 (alpha_frame_saved_pc): Remove.
998 (alpha_saved_pc_after_call): Remove.
999 (temp_proc_desc, temp_saved_regs): Remove.
1000 (alpha_about_to_return): Remove.
1001 (cached_proc_desc): Remove.
1002 (alpha_frame_chain): Remove.
1003 (alpha_print_extra_frame_info): Remove.
1004 (alpha_init_extra_frame_info): Remove.
1005 (alpha_frame_locals_address): Remove.
1006 (alpha_frame_args_address): Remove.
1007 (alpha_push_arguments): Use ALPHA_REGISTER_BYTES not sizeof CORE_ADDR.
1008 (alpha_push_dummy_frame): Remove.
1009 (alpha_pop_frame): Remove.
1010 (alpha_after_prologue): Rename from after_prologue; remove mdebug bits.
1011 (alpha_read_insn): New.
1012 (alpha_skip_prologue): Merge alpha_skip_prologue_internal; adjust
1013 for different insn encodings.
1014 (alpha_in_lenient_prologue): Remove.
1015 (struct alpha_sigtramp_unwind_cache): New.
1016 (alpha_sigtramp_frame_unwind_cache): New.
1017 (alpha_sigtramp_register_address): New.
1018 (alpha_sigtramp_frame_this_id): New.
1019 (alpha_sigtramp_frame_prev_register): New.
1020 (alpha_sigtramp_frame_unwind): New.
1021 (alpha_sigtramp_frame_p): New.
1022 (struct alpha_heuristic_unwind_cache): New.
1023 (alpha_heuristic_proc_start): Rename from heuristic_proc_start;
1024 don't count nop insns that occur between functions.
1025 (alpha_heuristic_frame_unwind_cache): New; incorporate much of
1026 heuristic_proc_desc, but without the mdebug wrapping.
1027 (alpha_heuristic_frame_this_id): New.
1028 (alpha_heuristic_frame_prev_register): New.
1029 (alpha_heuristic_frame_unwind): New.
1030 (alpha_heuristic_frame_p): New.
1031 (alpha_heuristic_frame_base_address): New.
1032 (alpha_heuristic_frame_base): New.
1033 (alpha_unwind_dummy_id): New.
1034 (alpha_unwind_pc): New.
1035 (alpha_gdbarch_init): Don't set skip_sigtramp_frame. Kill use of
1036 frame related deprecated initializations; install replacements.
1037 (alpha_dump_tdep): Remove.
1038 * alpha-tdep.h (struct gdbarch_tdep): Remove skip_sigtramp_frame.
1039 (alpha_read_insn, alpha_after_prologue,
1040 alpha_heuristic_frame_unwind_cache, alpha_heuristic_frame_this_id,
1041 alpha_heuristic_frame_prev_register,
1042 alpha_heuristic_frame_base_address, alpha_mdebug_init_abi): Declare.
1043 * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-mdebug-tdep.o.
1044 * config/alpha/tm-alpha.h (PRINT_EXTRA_FRAME_INFO): Remove.
1045 * config/alpha/tm-alphalinux.h (SIGTRAMP_START, SIGTRAMP_END): Remove.
1047 2003-05-29 Andrew Cagney <cagney@redhat.com>
1049 * gdb_assert.h (gdb_assert_fail): Provide different definitions
1050 dependant on the availability of ASSERT_FUNCTION.
1051 (ASSERT_FUNCTION): Do not define when there is no function name.
1053 2003-05-29 Kevin Buettner <kevinb@redhat.com>
1055 From Jimi X <jimix@watson.ibm.com>:
1056 * rs6000-tdep.c (skip_prologue): Improve support for 64-bit code.
1058 2003-05-28 Jim Blandy <jimb@redhat.com>
1060 * ppc-linux-nat.c (store_altivec_registers): Don't cast fourth
1061 argument to ptrace to int; the system headers should give it the
1062 right type, and pointers don't fit in ints on powerpc64-*-*.
1064 2003-05-28 H.J. Lu <hongjiu.lu@intel.com>
1066 * dwarf2read.c (process_die): Handle DW_TAG_try_block and
1069 2003-05-26 Elena Zannoni <ezannoni@redhat.com>
1071 * stabsread.c (dbx_lookup_type): Make static.
1073 (add_undefined_type): Ditto.
1074 * stabsread.h (dbx_lookup_type, read_type, add_undefined_type): Do
1077 2003-05-26 Elena Zannoni <ezannoni@redhat.com>
1079 * hpread.c (hpread_has_name): Make static.
1080 (hpread_psymtab_to_symtab): Ditto.
1081 (file_exists): Ditto.
1082 (hpread_call_pxdb): Ditto.
1083 (hpread_pxdb_needed): Ditto.
1084 (hpread_quick_traverse): Ditto.
1085 (hpread_get_header): Ditto.
1086 (hpread_get_lntt): Ditto.
1087 (hpread_get_slt): Ditto.
1090 2003-05-25 Andreas Schwab <schwab@suse.de>
1092 * m68k-tdep.c (m68k_gdbarch_init): Set parm_boundary instead of
1093 stack_align and deprecated_extra_stack_alignment_needed.
1094 (m68k_stack_align): Delete.
1096 * m68k-tdep.c (m68k_register_raw_size): Remove cast.
1097 (m68k_register_virtual_size): Likewise.
1098 (altos_skip_prologue): Remove obsolete function.
1099 (isi_frame_num_args): Likewise.
1100 (news_frame_num_args): Likewise.
1101 (m68k_fix_call_dummy): Make static.
1102 (m68k_push_dummy_frame): Likewise.
1103 (m68k_pop_frame): Likewise.
1104 (m68k_skip_prologue): Likewise.
1105 (m68k_frame_init_saved_regs): Likewise.
1106 (m68k_saved_pc_after_call): Likewise.
1107 (m68k_get_longjmp_target): Make multi-arch.
1108 (m68k_gdbarch_init): Allocate and initialize gdbarch_tdep
1109 structure. Register m68k_get_longjmp_target if enabled.
1110 * m68k-tdep.h (struct gdbarch_tdep): Define.
1111 * config/m68k/tm-m68k.h: Don't include "regcache.h".
1113 * Makefile.in (config.status): Also depend on configure.tgt
1115 (m68klinux-tdep.o): Update dependencies.
1116 * configure.tgt (m68*-*-linux*): Set gdb_multi_arch to 1.
1117 * m68klinux-tdep.c (M68K_LINUX_JB_ELEMENT_SIZE): Define.
1118 (M68K_LINUX_JB_PC): Define.
1119 (m68k_linux_pc_in_sigtramp): Renamed from m68k_linux_in_sigtramp
1120 and take additional parameter.
1121 (m68k_linux_sigtramp_saved_pc): Update.
1122 (m68k_linux_init_abi): Set jb_pc and jb_elt_size. Register
1123 m68k_linux_pc_in_sigtramp, in_plt_section,
1124 find_solib_trampoline_target.
1125 * config/m68k/tm-linux.h: Don't include any tm headers.
1126 (START_INFERIOR_TRAPS_EXPECTED): Remove definition.
1127 (JB_ELEMENT_SIZE): Likewise.
1129 (GET_LONGJMP_TARGET): Likewise.
1130 (IN_SIGTRAMP): Likewise.
1131 (SVR4_SHARED_LIBS): Define this and include "solib.h".
1133 2003-05-25 Mark Kettenis <kettenis@gnu.org>
1135 * sparc-tdep.c (sparc32_do_push_arguments): New function.
1136 (sparc32_push_arguments): Re-implement by calling
1137 sparc32_do_push_arguments.
1139 2003-05-25 Mark Kettenis <kettenis@gnu.org>
1141 * sparc-tdep.c (SPARC_F0_REGNUM, SPARC_F1_REGNUM, SPARC_O0_REGNUM,
1142 SPARC_O1_REGNUM): New defines.
1143 (sparc32_extract_return_value): Rewrite to operate on a regcache.
1144 (sparc32_store_return_value): New function.
1145 (sparc_extract_struct_value_address): Rewrite to operate on a
1147 (sparc_gdbarch_init): Don't set
1148 deprecated_extract_struct_value_address. Set
1149 extract_struct_value_address instead. Don't set
1150 deprecated_extract_return_value and deprecated_store_return_value
1151 for 32-bit targets. Set extract_return_value and
1152 store_return_value instead.
1153 * config/sparc/tm-sparc.h (DEPRECATED_STORE_RETURN_VALUE,
1154 DEPRECTAED_EXTRACT_RETURN_VALUE,
1155 DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Don't define these.
1156 (STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE,
1157 EXTRACT_STRUCT_VALUE_ADDRESS): Define these instead.
1158 (sparc_store_return_value): Remove prototype.
1159 (sparc32_store_return_value): New prototype.
1160 (sparc32_extract_return_value, sparc_extract_struct_value_address):
1163 2003-05-24 Mark Kettenis <kettenis@gnu.org>
1165 * sparcnbsd-tdep.c: Include "gdb_string.h".
1167 2003-05-23 Andrew Cagney <cagney@redhat.com>
1169 * p-valprint.c (pascal_val_print): Replace extract_address with
1170 the inline equivalent extract_unsigned_integer.
1171 * jv-valprint.c (java_value_print): Ditto.
1172 * ada-valprint.c (ada_val_print_1): Ditto.
1173 * ada-lang.h (EXTRACT_ADDRESS): Ditto.
1175 2003-05-23 Theodore A. Roth <troth@openavr.org>
1177 * blockframe.c (frameless_look_for_prologue): Remove unused
1178 after_prologue variable.
1180 2003-05-23 Mark Kettenis <kettenis@gnu.org>
1182 * blockframe.c (get_pc_function_start): Rewrite to avoid
1183 asignments in if-statements.
1185 2003-05-23 Raoul Gough <RaoulGough@yahoo.co.uk>
1187 Committed by Elena Zannoni <ezannoni@redhat.com>.
1188 * coffread.c(coff_symtab_read): Do relocate static symbols from PE
1189 files, don't relocate absolute symbols (and do use mst_abs).
1191 2003-05-23 Andrew Cagney <cagney@redhat.com>
1193 * objc-lang.c: Include "gdb_assert.h".
1194 (objc_op_print_tab): Use OP_NULL and PREC_NULL instead of 0.
1195 (CHECK, CHECK_FATAL, __CHECK_FUNCTION): Delete macros.
1196 (gdb_check, gdb_check_fatal): Delete functions.
1197 (read_objc_methlist_method): Replace CHECK and CHECK_FATAL with
1199 (parse_selector, parse_method, find_methods, find_imps): Ditto.
1200 * Makefile.in (objc-lang.o): Update dependencies.
1202 2003-05-22 Ian Lance Taylor <ian@airs.com>
1204 * disasm.c (gdb_disassemble_info): Initialize disassemble_info
1205 with fprintf_filtered, not fprintf_unfiltered.
1207 2003-05-22 Andrew Cagney <cagney@redhat.com>
1209 * stack.c (frame_info): Inline extract_address, replacing it with
1210 extract_unsigned_integer.
1211 * findvar.c (unsigned_pointer_to_address): Ditto.
1212 * dwarf2loc.c (dwarf_expr_read_reg): Ditto.
1213 * dwarf2expr.c (dwarf2_read_address): Ditto.
1214 * frame.c (frame_pc_unwind): Update comment.
1215 * dummy-frame.c (deprecated_read_register_dummy): Update comment.
1217 2003-05-22 Jeff Johnston <jjohnstn@redhat.com>
1219 * infptrace.c (detach): Call print_sys_errmsg rather than
1220 perror_with_name to issue warning message when errno is non-zero
1221 after calling ptrace detach.
1223 2003-05-21 J. Brobecker <brobecker@gnat.com>
1225 * config/pa/tm-hppa.h: Delete some unused macros. Move some
1226 macro definitions from here...
1227 * hppa-tdep.c: ...to there.
1229 2003-05-20 Kevin Buettner <kevinb@redhat.com>
1231 * mips-nat.c (REGISTER_PTRACE_ADDR): Convert macro to function
1232 register_ptrace_addr(). Fix all callers.
1234 2003-05-21 Andreas Schwab <schwab@suse.de>
1236 * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update
1238 * m68k-tdep.c (m68k_gdbarch_init): Call gdbarch_init_osabi at the
1240 * m68klinux-tdep.c (m68k_linux_init_abi): New function.
1241 (_initialize_m68k_linux_tdep): New function.
1242 (m68k_linux_frame_saved_pc): Make static.
1243 (m68k_linux_extract_return_value): Likewise.
1244 (m68k_linux_store_return_value): Likewise.
1245 (m68k_linux_extract_struct_value_address): Likewise.
1246 * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE):
1248 (DEPRECATED_STORE_RETURN_VALUE): Remove.
1249 (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove.
1250 (DEPRECATED_FRAME_SAVED_PC): Remove.
1252 2003-05-20 Kris Warkentin <kewarken@qnx.com>
1254 * nto-tdep.c (fetch_core_registers): Match gdb's idea of
1255 regset numbering rather than our own.
1257 2003-05-19 David Carlton <carlton@bactrian.org>
1259 * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/rtti*.
1261 2003-05-19 David Carlton <carlton@bactrian.org>
1263 Partial fix for PR c++/827.
1264 * cp-support.h: Include symtab.h.
1265 Declare cp_lookup_symbol_nonlocal, cp_lookup_symbol_namespace.
1266 * cp-namespace.c: Update contributors.
1267 (cp_lookup_symbol_nonlocal): New.
1268 (lookup_namespace_scope, cp_lookup_symbol_namespace)
1269 (lookup_symbol_file): Ditto.
1270 * c-lang.c (cplus_language_defn): Use cp_lookup_symbol_nonlocal.
1271 * block.h: Declare block_scope, block_using, block_global_block.
1272 * block.c (block_scope): New.
1273 (block_using, block_global_block): Ditto.
1274 * Makefile.in (cp_support_h): Depend on symtab_h.
1275 * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/namespace1.cc.
1277 2003-05-19 David Carlton <carlton@bactrian.org>
1279 * language.h (struct language_defn): Add 'la_value_of_this'
1280 and 'la_lookup_symbol_nonlocal' members.
1281 * symtab.h: Declare basic_lookup_symbol_nonlocal,
1282 lookup_symbol_static, lookup_symbol_global,
1283 lookup_symbol_aux_block.
1284 * symtab.c (lookup_symbol_aux): Call language hooks to determine
1285 if we should search fields of this and how to do static/global
1287 (lookup_symbol_aux_block): Make extern.
1288 (basic_lookup_symbol_nonlocal): New.
1289 (lookup_symbol_static, lookup_symbol_global): Ditto.
1290 * ada-lang.c (ada_language_defn): Set 'la_value_of_this' and
1291 'la_lookup_symbol_nonlocal' members.
1292 * c-lang.c (c_language_defn, cplus_language_defn)
1293 (asm_language_defn, minimal_language_defn): Ditto.
1294 * jv-lang.c (java_language_defn): Ditto.
1295 * language.c (unknown_language_defn, auto_language_defn)
1296 (local_language_defn): Ditto.
1297 * m2-lang.c (m2_language_defn): Ditto.
1298 * objc-lang.c (objc_language_defn): Ditto.
1299 * scm-lang.c (scm_language_defn): Ditto.
1300 * f-lang.c (f_language_defn): Ditto, and include value.h as well.
1301 * p-lang.c (pascal_language_defn): Ditto for both.
1302 * Makefile.in (f-lang.o): Depend on value_h.
1305 2003-05-19 David Carlton <carlton@bactrian.org>
1307 * block.h: Declare block_static_block.
1308 * block.c (block_static_block): New.
1309 * symtab.c (lookup_symbol_aux): Remove 'static_block' argument to
1310 lookup_symbol_aux_local, calling block_static_block instead.
1311 (lookup_symbol_aux_local): Delete 'static_block' argument.
1313 2003-05-19 David Carlton <carlton@bactrian.org>
1315 * symtab.c (lookup_symbol_aux): Delete #if 0 hunk.
1317 2003-05-19 Michal Ludvig <mludvig@suse.cz>
1319 * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map): Fix
1320 register numbers mapping.
1322 2003-05-18 Adam Fedor <fedor@gnu.org>
1324 * symtab.c (completion_list_objc_symbol): New function.
1325 (make_symbol_completion_list): Use it to add ObjC symbols
1326 when looking though the list.
1327 (language_search_unquoted_string): New function.
1328 (make_file_symbol_completion_list): Use it.
1330 2003-05-18 Andreas Schwab <schwab@suse.de>
1332 * Makefile (m68klinux-nat.o, m68klinux-tdep.o): Update
1334 * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): Define
1335 as m68k_linux_extract_return_value.
1336 (DEPRECATED_STORE_RETURN_VALUE): Define as
1337 m68k_linux_store_return_value.
1338 (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Define as
1339 m68k_linux_extract_struct_value_address.
1340 * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Use
1341 get_next_frame, get_frame_base, get_frame_pc.
1342 (m68k_linux_frame_saved_pc): Use get_frame_base.
1343 (m68k_linux_extract_return_value): New function.
1344 (m68k_linux_store_return_value): New function.
1345 (m68k_linux_extract_struct_value_address): New function.
1346 * config/m68k/tm-m68k.h: Declare m68k_get_longjmp_target.
1348 * c-exp.y (typebase): Remove duplicate occurence of
1349 `SIGNED_KEYWORD LONG LONG'. Use builtin_type_long_long instead
1350 of lookup_signed_typename.
1352 2003-05-18 Mark Kettenis <kettenis@gnu.org>
1354 * dwarf2loc.c (find_location_expression): Change type of second
1355 argument to `size_t *'.
1356 (loclist_read_variable, loclist_tracepoint_var_ref): Use size_t
1359 2003-05-18 David Carlton <carlton@bactrian.org>
1361 * symtab.c (lookup_symbol_aux): Rename 'mangled_name' argument to
1362 'linkage_name'. Add comment.
1363 (lookup_symbol_aux_local): Rename 'mangled_name' argument to
1365 (lookup_symbol_aux_block, lookup_symbol_aux_symtabs)
1366 (lookup_symbol_aux_psymtabs, lookup_symbol_aux_minsyms)
1367 (lookup_block_symbol): Ditto.
1369 2003-05-16 Andrew Cagney <cagney@redhat.com>
1371 * gdbarch.sh (DEPRECATED_REGISTER_BYTES): Rename REGISTER_BYTES.
1372 * gdbarch.h, gdbarch.c: Re-generate.
1373 * arm-linux-tdep.c (arm_linux_extract_return_value): Delete reference.
1374 * TODO (REGISTER_BYTES): Delete reference.
1375 * alpha-tdep.c (alpha_gdbarch_init): Update.
1376 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1377 * x86-64-tdep.c (x86_64_init_abi): Update.
1378 * vax-tdep.c (vax_gdbarch_init): Update.
1379 * v850-tdep.c (v850_gdbarch_init): Update.
1380 * sparc-tdep.c (sparc_gdbarch_init): Update.
1381 * sh-tdep.c (sh_gdbarch_init): Update.
1382 * s390-tdep.c (s390_gdbarch_init): Update.
1383 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1384 * ns32k-tdep.c (ns32k_gdbarch_init_32082): Update.
1385 (ns32k_gdbarch_init_32382): Update.
1386 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1387 * mcore-tdep.c (mcore_gdbarch_init): Update.
1388 * m68k-tdep.c (m68k_gdbarch_init): Update.
1389 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1390 * ia64-tdep.c (ia64_gdbarch_init): Update.
1391 * i386-tdep.c (i386_gdbarch_init): Update.
1392 * i386-linux-tdep.c (i386_linux_init_abi): Update.
1393 * hppa-tdep.c (hppa_gdbarch_init): Update.
1394 * h8300-tdep.c (h8300_gdbarch_init): Update.
1395 * frv-tdep.c (frv_gdbarch_init): Update.
1396 * cris-tdep.c (cris_gdbarch_init): Update.
1397 * avr-tdep.c (avr_gdbarch_init): Update.
1398 * arm-tdep.c (arm_gdbarch_init): Update.
1399 * sparc-tdep.c (sparc_pop_frame): Update.
1400 * rs6000-tdep.c (rs6000_pop_frame): Update.
1401 * remote.c (init_remote_state): Update.
1402 (remote_prepare_to_store): Update.
1403 * remote-vx.c (vx_prepare_to_store): Update.
1404 * remote-sds.c (sds_fetch_registers): Update.
1405 (sds_prepare_to_store): Update.
1406 * remote-array.c: Update.
1407 * regcache.c (init_legacy_regcache_descr): Update.
1408 (init_regcache_descr): Update.
1409 * mips-tdep.c (mips_eabi_extract_return_value): Update.
1410 (mips_o64_extract_return_value): Update.
1411 * irix5-nat.c (fetch_core_registers): Update.
1412 * irix4-nat.c (fetch_core_registers): Update.
1413 * i386-tdep.h: Update.
1414 * hppa-tdep.c (pa_do_registers_info): Update.
1415 (pa_do_strcat_registers_info): Update.
1416 * cris-tdep.c (cris_register_bytes_ok): Update.
1417 * config/nm-gnu.h (CHILD_PREPARE_TO_STORE): Update.
1418 * config/sparc/tm-sparc.h (DEPRECATED_REGISTER_BYTES): Update.
1419 * config/sparc/nm-sun4sol2.h (CHILD_PREPARE_TO_STORE): Update.
1420 * config/sparc/nm-sun4os4.h (CHILD_PREPARE_TO_STORE): Update.
1421 * config/sparc/nm-nbsd.h (CHILD_PREPARE_TO_STORE): Update.
1422 * config/sparc/tm-sp64.h (DEPRECATED_REGISTER_BYTES): Update.
1423 * config/s390/tm-s390.h (DEPRECATED_REGISTER_BYTES): Update.
1424 * config/pa/tm-hppa64.h (DEPRECATED_REGISTER_BYTES): Update.
1425 * config/mips/tm-mips.h (DEPRECATED_REGISTER_BYTES): Update.
1426 * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Update.
1427 * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Update.
1428 * config/m68k/tm-sun3.h (DEPRECATED_REGISTER_BYTES): Update.
1429 (REGISTER_BYTES_OK): Update.
1430 * config/m68k/nm-sun3.h (CHILD_PREPARE_TO_STORE): Update.
1431 * config/ia64/tm-ia64.h (DEPRECATED_REGISTER_BYTES): Update.
1433 2003-05-16 Ian Lance Taylor <ian@airs.com>
1435 * vax-tdep.c (INVALID_FLOAT, MAXLEN, NOPCODES): Don't define.
1436 (vax_print_insn, print_insn_arg): Remove static functions.
1437 (vax_gdbarch_init): Call set_gdbarch_print_insn with
1438 print_insn_vax from opcodes library.
1439 (_initialize_vax_tdep): Don't set deprecated_tm_print_insn.
1441 2003-05-15 Andrew Cagney <cagney@redhat.com>
1443 * arch-utils.h (legacy_breakpoint_from_pc): Delete declaration.
1444 * target.h (memory_breakpoint_from_pc): Delete declaration.
1445 * mem-break.c (memory_breakpoint_from_pc): Delete function.
1446 * arch-utils.c (legacy_breakpoint_from_pc): Delete function.
1447 * monitor.c (monitor_insert_breakpoint): Use
1448 gdbarch_breakpoint_from_pc instead of memory_breakpoint_from_pc.
1449 * gdbarch.sh (BREAKPOINT_FROM_PC): Do not provide a default.
1450 * gdbarch.h, gdbarch.c: Re-generate.
1451 * sparc-tdep.c (sparc_breakpoint_from_pc): New function.
1452 (sparc_gdbarch_init): Set breakpoint_from_pc to
1453 sparc_breakpoint_from_pc.
1454 * config/sparc/tm-sparc.h (BREAKPOINT): Delete macro.
1455 (BREAKPOINT_FROM_PC): Define.
1456 (sparc_breakpoint_from_pc): Declare.
1457 * hppa-tdep.c (hppa_breakpoint_from_pc): New function.
1458 * config/pa/tm-hppa.h (hppa_breakpoint_from_pc): Declare.
1459 (BREAKPOINT_FROM_PC): Define.
1460 (BREAKPOINT): Delete macro.
1461 * target.h: Update comment.
1462 * s390-tdep.c (s390_gdbarch_init): Update comments.
1463 * remote.c: Update comments.
1464 * remote-mips.c: Update comments.
1465 * proc-api.c (write_with_trace): Do not check for a breakpoint.
1466 * mem-break.c: Update comment.
1467 * ia64-tdep.c (IA64_BREAKPOINT): Rename BREAKPOINT.
1468 (ia64_memory_insert_breakpoint): Update.
1469 * config/sparc/tm-sparc.h: Update comment.
1470 * config/pa/tm-hppa64.h: Update comment.
1471 * rs6000-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro.
1472 (rs6000_breakpoint_from_pc): Update.
1473 * mips-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro.
1474 (PMON_BIG_BREAKPOINT, PMON_LITTLE_BREAKPOINT): Delete macro.
1475 (IDT_LITTLE_BREAKPOINT, IDT_LITTLE_BREAKPOINT): Delete macro.
1476 (MIPS16_LITTLE_BREAKPOINT, MIPS16_BIG_BREAKPOINT): Delete macro.
1477 (mips_breakpoint_from_pc): Update.
1478 (mips_dump_tdep): Update.
1480 * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Delete macro.
1481 * minsyms.c (lookup_minimal_symbol): Inline
1482 DEPRECATED_SYMBOL_MATCHES_NAME. Replace STREQ with strcmp.
1484 * c-lang.c (c_printstr): Delete "extern inspect_it" declaration.
1485 * p-valprint.c (pascal_object_print_value_fields): Ditto.
1486 * p-lang.c (pascal_printstr): Ditto.
1487 * objc-lang.c (objc_printstr): Ditto.
1488 * m2-lang.c (m2_printstr): Ditto.
1489 * jv-valprint.c (java_print_value_fields): Ditto.
1490 * f-lang.c (f_printstr): Ditto.
1491 * cp-valprint.c (cp_print_value_fields): Ditto. Include "valprint.h".
1492 * ada-valprint.c (inspect_it, repeat_count_threshold): Ditto, and
1493 for repeat_count_threshold.
1494 * Makefile.in (cp-valprint.o): Update dependencies.
1496 2003-05-15 Jeff Johnston <jjohnstn@redhat.com>
1498 * ia64-tdep.c: Increase max_skip_non_prologue_insns to 40.
1499 (examine_prologue): Support looking through leaf functions, knowing
1500 they start with mov r2,r12. Support skipping over indirect stores
1501 of the input registers. Upon hitting a non-nop branch instruction
1502 or predicated instruction, bail out by setting lim_pc to the current
1503 pc value in the loop. At the end, if the lim_pc value is still
1504 beyond our calculated value and we have trust_limit set,
1505 use the lim_pc value.
1507 2003-05-15 Andrew Cagney <cagney@redhat.com>
1509 * dummy-frame.h (deprecated_find_dummy_frame_regcache): Rename
1510 generic_find_dummy_frame.
1511 * dummy-frame.c (deprecated_find_dummy_frame_regcache): Update.
1512 (deprecated_generic_find_dummy_frame): Update.
1513 (deprecated_read_register_dummy): Update.
1514 * frame.c (deprecated_generic_get_saved_register): Update.
1516 2003-05-15 Theodore A. Roth <troth@openavr.org>
1518 * avr-tdep.c (avr_breakpoint_from_pc): New function.
1519 (avr_gdbarch_init): Set breakpoint_from_pc method.
1521 2003-05-15 Andrew Cagney <cagney@redhat.com>
1523 * regcache.c (build_regcache): Set deprecated_register_valid
1525 (deprecated_grub_regcache_for_register_valid): Delete function.
1526 * regcache.h (deprecated_grub_regcache_for_register_valid): Delete
1529 2003-05-15 David Carlton <carlton@bactrian.org>
1531 Committed by Elena Zannoni <ezannoni@redhat.com>
1532 * symtab.c (lookup_symbol_aux): Delete calls to
1533 lookup_symbol_aux_minsyms.
1534 (lookup_symbol_aux_minsyms): Comment out function and
1535 prototype. Delete lookup by mangled name.
1537 2003-05-14 Kevin Buettner <kevinb@redhat.com>
1539 * dwarf2expr.c (new_dwarf_expr_context): Set ``stack_len'' to
1540 correctly indicate an empty stack and ``stack_allocated'' to the
1541 indicate the number of elements initially allocated.
1542 (dwarf_expr_grow_stack): Simplify method for computing new
1543 stack size. Don't loop infinitely if ``stack_len'' is zero.
1544 (execute_stack_op): Move ``ctx->in_reg'' initialization
1545 out of loop. Allow DW_OP_reg0 ... DW_OP_reg31 and DW_OP_regx to
1546 be used in conjuction with DW_OP_piece. Revise error message
1549 2003-05-14 Theodore A. Roth <troth@openavr.org>
1551 * MAINTAINERS: Update my email address.
1552 * avr-tdep.c: Ditto.
1554 2003-05-14 Elena Zannoni <ezannoni@redhat.com>
1556 * symtab.h (enum domain_enum): Rename from namespace_enum.
1557 (UNDEF_DOMAIN, VAR_DOMAIN, STRUCT_DOMAIN, LABEL_DOMAIN,
1558 VARIABLES_DOMAIN, FUNCTIONS_DOMAIN, TYPES_DOMAIN, METHODS_DOMAIN):
1559 Rename from UNDEF_NAMESPACE, VAR_NAMESPACE, STRUCT_NAMESPACE,
1560 LABEL_NAMESPACE, VARIABLES_NAMESPACE, FUNCTIONS_NAMESPACE,
1561 TYPES_NAMESPACE, METHODS_NAMESPACE.
1562 (SYMBOL_NAMESPACE): Rename to SYMBOL_DOMAIN.
1563 (struct symbol, struct partial_symbol): Rename field
1564 'namespace_enum namespace' to 'domain_enum domain'.
1565 (PSYMBOL_NAMESPACE): Rename to PSYMBOL_DOMAIN.
1566 Delete old define kludge for namespace.
1568 * ada-exp.y, ada-lang.c, ada-lang.h, alpha-tdep.c, arm-tdep.c,
1569 blockframe.c, c-exp.y, c-valprint.c, coffread.c, dbxread.c,
1570 dwarf2read.c, dwarfread.c, f-exp.y, gdbtypes.c, gdbtypes.h,
1571 gnu-v3-abi.c, hppa-tdep.c, hpread.c, jv-exp.y, jv-lang.c,
1572 language.c, linespec.c, m2-exp.y, m3-nat.c, mdebugread.c,
1573 mips-tdep.c, nlmread.c, objc-exp.y, objc-lang.c, objfiles.c,
1574 p-exp.y, p-valprint.c, parse.c, printcmd.c, scm-lang.c, source.c,
1575 stabsread.c, stack.c, symfile.c, symfile.h, symmisc.c, symtab.c,
1576 valops.c, values.c, xcoffread.c, xstormy16-tdep.c: Replace all
1577 occurrences of the above.
1579 2003-05-14 Ian Lance Taylor <ian@airs.com>
1581 * Makefile.in (install-only): Use $(SHELL) when running
1584 2003-05-13 Ian Lance Taylor <ian@airs.com>
1586 * MAINTAINERS (write after approval): Add myself.
1588 * ser-pipe.c (_initialize_ser_pipe): Correct call to memset--swap
1589 second and third arguments.
1590 * ser-tcp.c (_initialize_ser_tcp): Likewise.
1591 * ser-unix.c (_initialize_ser_hardwire): Likewise.
1593 2003-05-13 Andrew Cagney <cagney@redhat.com>
1595 * defs.h (store_address): Delete declaration.
1596 findvar.c (store_address): Delete function.
1597 * arm-tdep.c (arm_push_dummy_call): Replace store_address with
1598 store_unsigned_integer.
1599 * xstormy16-tdep.c (xstormy16_address_to_pointer): Ditto.
1600 * v850-tdep.c (v850_push_arguments): Ditto.
1601 * sparc-tdep.c (sparc_get_saved_register): Ditto.
1602 * sh-tdep.c (sh64_get_saved_register): Ditto.
1603 * rs6000-tdep.c (rs6000_push_arguments): Ditto.
1604 * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Ditto.
1605 * mips-tdep.c (mips_eabi_push_arguments): Ditto.
1606 (mips_get_saved_register): Ditto.
1607 * ia64-tdep.c (ia64_get_saved_register): Ditto.
1608 (find_func_descr, ia64_push_arguments): Ditto.
1609 * i386-tdep.c (i386_push_arguments): Ditto.
1610 * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
1611 * frv-tdep.c (frv_push_arguments): Ditto.
1612 * frame.c (legacy_saved_regs_prev_register): Ditto.
1613 (deprecated_generic_get_saved_register): Ditto.
1614 * findvar.c (unsigned_address_to_pointer): Ditto.
1615 * dwarf2read.c (dwarf2_const_value): Ditto.
1616 * arm-linux-tdep.c (arm_linux_push_arguments): Ditto.
1617 * alpha-tdep.c (alpha_push_arguments): Ditto.
1619 2003-05-12 J. Brobecker <brobecker@gnat.com>
1621 * NEWS: Mention that the hppa-hpux port has been partially
1622 multiarched (32bit ABIT only, so far).
1624 2003-05-11 Andrew Cagney <cagney@redhat.com>
1626 * Makefile.in (mi-symbol-cmds.o): Rename mi-cmd-symbol.
1627 * config/djgpp/fnchange.lst: Rename include/xtensa-isa-internal.h,
1628 include/xtensa-isa.h, sim/testsuite/sim/arm/misaligned1.ms,
1629 sim/testsuite/sim/arm/misaligned2.ms, and
1630 sim/testsuite/sim/arm/misaligned3.ms.
1631 * disasm.h (struct ui_file): Add opaque struct declaration.
1632 * config/pa/tm-hppa64.h (struct type, struct frame_info): Ditto.
1633 * frame.h (struct ui_file): Ditto.
1635 2003-05-11 Mark Kettenis <kettenis@gnu.org>
1637 * value.h: Pretty print.
1639 2003-05-10 Mark Kettenis <kettenis@gnu.org>
1641 * config/i386/tm-linux.h (I386_GNULINUX_TARGET): Remove define.
1643 2003-05-08 Andrew Cagney <cagney@redhat.com>
1645 * regcache.h (max_register_size): Delete declaration.
1646 * regcache.c (max_register_size): Delete function.
1647 (struct regcache_descr): Delete field "max_register_size".
1648 (init_regcache_descr, init_legacy_regcache_descr): Assert that all
1649 registers fit in MAX_REGISTER_SIZE.
1650 (regcache_save): Replace max_register_size with MAX_REGISTER_SIZE.
1651 (regcache_restore, regcache_xfer_part, regcache_dump): Ditto.
1652 * thread-db.c: Replace max_register_size with MAX_REGISTER_SIZE.
1653 * sh-tdep.c, rom68k-rom.c, remote-sim.c, remote-mips.c: Ditto.
1654 * remote-e7000.c, monitor.c, mipsv4-nat.c, mips-nat.c: Ditto.
1655 * m68klinux-nat.c, lynx-nat.c, irix4-nat.c: Ditto.
1656 * hpux-thread.c, hppah-nat.c, hppab-nat.c, hppa-tdep.c: Ditto.
1657 * dve3900-rom.c, hppa-tdep.c: Ditto.
1659 2003-05-08 David Carlton <carlton@math.stanford.edu>
1661 * valops.c (push_word): Fix typo.
1663 2003-05-08 Andrew Cagney <cagney@redhat.com>
1665 * gdbarch.sh: Delete references to MAX_REGISTER_RAW_SIZE.
1666 * gdbarch.h: Re-generate.
1667 * defs.h (MAX_REGISTER_RAW_SIZE): Delete macro.
1668 (legacy_max_register_raw_size): Delete declaration.
1669 * regcache.c (legacy_max_register_raw_size): Delete function.
1670 * valops.c: Replace MAX_REGISTER_RAW_SIZE with MAX_REGISTER_SIZE.
1671 * target.c, stack.c, sparc-tdep.c, sh-tdep.c: Ditto.
1672 * rs6000-tdep.c, rs6000-nat.c, remote.c, remote-sim.c: Ditto.
1673 * remote-rdp.c, remote-array.c, regcache.c: Ditto.
1674 * ppc-linux-nat.c, monitor.c, mn10300-tdep.c: Ditto.
1675 * mips-tdep.c, mips-linux-tdep.c, m68klinux-nat.c: Ditto.
1676 * infptrace.c, ia64-tdep.c, i386-tdep.c, frame.c: Ditto.
1677 * findvar.c, dwarf2cfi.c: Ditto.
1679 2003-05-08 Andrew Cagney <cagney@redhat.com>
1681 * mips-tdep.c (read_signed_register): New function, moved to here
1683 (read_signed_register_pid): Ditto.
1684 * regcache.c (read_signed_register_pid): Delete function, moved to
1686 (read_signed_register): Ditto.
1687 * regcache.h (read_signed_register): Delete declaration.
1688 (read_signed_register_pid): Delete declaration.
1690 2003-05-08 Andrew Cagney <cagney@redhat.com>
1692 * gdbarch.sh: Add comments on MAX_REGISTER_SIZE.
1693 * gdbarch.h: Re-generate.
1694 * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Delete macro.
1695 (legacy_max_register_virtual_size): Delete declaration.
1696 * infcmd.c (default_print_registers_info): Use MAX_REGISTER_SIZE.
1697 * d10v-tdep.c (d10v_print_registers_info): Ditto.
1698 * tracepoint.c (memrange_sortmerge): Ditto.
1699 * sparc-tdep.c (sparc_print_registers): Ditto.
1700 * regcache.c (legacy_max_register_virtual_size): Delete function.
1702 2002-05-08 J. Brobecker <brobecker@gnat.com>
1704 * fork-child.c (escape_bang_in_quoted_argument): New function.
1705 (fork_inferior): Escape '!' characters in quoted arguments
1708 2003-05-08 J. Brobecker <brobecker@gnat.com>
1710 * dwarf2read.c (set_cu_language): Set the language to "minimal" if
1711 the language of the CU is not currently supported by GDB.
1713 2003-05-08 J. Brobecker <brobecker@gnat.com>
1715 * defs.h (language): Add language_minimal enum value.
1716 * c-lang.c (minimal_language_defn): New language definition.
1717 (_initialize_c_language): Add the new minimal language to the list
1718 of languages known to GDB.
1720 2003-05-08 Kevin Buettner <kevinb@redhat.com>
1722 * frame.c (get_frame_type): Don't attempt to lazily initialize
1723 frame's unwinder for legacy frames.
1725 2003-05-07 Andrew Cagney <cagney@redhat.com>
1727 * ia64-tdep.c (ia64_remote_translate_xfer_address): Add "gdbarch"
1728 and "regcache" parameters.
1729 * avr-tdep.c (avr_remote_translate_xfer_address): Ditto.
1731 2003-05-07 Jeff Johnston <jjohnstn@redhat.com>
1733 * dwarf2read.c (dwarf_decode_lines): Only use output of
1734 check_cu_functions() when calling record_line(). Do not update
1735 the current address.
1737 2003-05-07 Andrew Cagney <cagney@redhat.com>
1739 * fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR
1742 2003-05-07 Jim Blandy <jimb@redhat.com>
1744 Rename commands 'maint list symtabs' and 'maint list psymtabs' to
1745 'maint info symtabs' and 'maint info psymtabs'.
1746 * symmisc.c (maintenance_info_symtabs, maintenance_info_psymtabs):
1747 Renamed from maintenance_list_symtabs and maintenance_list_psymtabs.
1748 * symtab.h (maintenance_info_symtabs, maintenance_info_psymtabs):
1749 Declarations updated.
1750 * maint.c (maintenance_list_command): Delete.
1751 (_initialize_maint_cmds): Update calls to add_cmd.
1752 * gdbcmd.h (maintenancelistlist): Delete declaration.
1753 * cli/cli-cmds.c (maintenancelistlist): Delete.
1754 (init_cmd_lists): Don't initialize it.
1755 * cli/cli-cmds.h (maintenancelistlist): Delete declaration.
1757 2003-05-07 Andrew Cagney <cagney@redhat.com>
1759 * d10v-tdep.c (remote_d10v_translate_xfer_address): Add
1761 (d10v_print_registers_info): Update.
1762 (d10v_dmap_register, d10v_imap_register): Delete functions.
1763 (struct gdbarch_tdep): Add "regcache" parameter to "dmap_register"
1764 and "imap_register".
1765 (d10v_ts2_dmap_register, d10v_ts2_imap_register): Add "regcache".
1766 (d10v_ts3_dmap_register, d10v_ts3_imap_register): Add "regcache".
1767 * arch-utils.c (generic_remote_translate_xfer_address): Add
1768 "regcache" and "gdbarch" parameters.
1769 * gdbarch.sh (REMOTE_TRANSLATE_XFER_ADDRESS): Add "regcache"
1770 parameter. Change class to multi-arch.
1771 * gdbarch.h, gdbarch.c: Re-generate.
1772 * remote.c (remote_xfer_memory): Use
1773 gdbarch_remote_translate_xfer_address.
1775 2003-05-07 Jeff Johnston <jjohnstn@redhat.com>
1777 * infrun.c (prev_pc): Move declaration ahead of proceed().
1778 (proceed): Refresh prev_pc value before resuming.
1779 (stop_stepping): Remove code to refresh prev_pc.
1781 2003-05-06 Kris Warkentin <kewarken@qnx.com>
1783 * nto-tdep.c: Removed stray comment.
1785 2003-05-06 Kris Warkentin <kewarken@qnx.com>
1787 * i386-nto-tdep.c: Fix old K&R function definitions.
1788 * nto-tdep.c: Likewise and change stat.h include to gdb_stat.h.
1789 Also change add_show_from_set() call to add_setshow_cmd().
1790 * nto-tdep.h: Remove PARAMS and grep ^func ARI hits.
1792 2003-05-05 Andrew Cagney <cagney@redhat.com>
1794 * dummy-frame.c: Include "command.h" and "gdbcmd.h".
1795 (fprint_dummy_frames): New function.
1796 (maintenance_print_dummy_frames): New function.
1797 (_initialize_dummy_frame): Add command "maint print dummy-frames".
1798 * frame.c (fprint_frame_id): Make global.
1799 * frame.h (fprint_frame_id): Declare.
1800 * Makefile.in (dummy-frame.o): Update dependencies.
1802 2003-05-05 Andrew Cagney <cagney@redhat.com>
1804 * gdbarch.sh (DEPRECATED_REGISTER_SIZE): Rename REGISTER_SIZE.
1805 (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Rename
1806 SIZEOF_CALL_DUMMY_WORDS.
1807 (DEPRECATED_CALL_DUMMY_WORDS): Rename CALL_DUMMY_WORDS.
1808 (DEPRECATED_FIX_CALL_DUMMY): Rename FIX_CALL_DUMMY.
1809 (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET): Rename
1810 CALL_DUMMY_BREAKPOINT_OFFSET.
1811 (DEPRECATED_CALL_DUMMY_START_OFFSET): Rename
1812 CALL_DUMMY_START_OFFSET.
1813 (DEPRECATED_CALL_DUMMY_LENGTH): Rename CALL_DUMMY_LENGTH.
1814 * gdbarch.h, gdbarch.c: Re-generate.
1815 * alpha-tdep.c, alphafbsd-tdep.c, arm-linux-tdep.c: Update.
1816 * arm-tdep.c, avr-tdep.c, breakpoint.c, cris-tdep.c: Update.
1817 * dummy-frame.c, dummy-frame.h, frv-tdep.c, gdbarch.c: Update.
1818 * gdbarch.h, gdbarch.sh, h8300-tdep.c, hppa-tdep.c: Update.
1819 * i386-tdep.c, ia64-tdep.c, infcall.c, inferior.h: Update.
1820 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Update.
1821 * mips-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Update.
1822 * rs6000-tdep.c, s390-tdep.c, sh-tdep.c, sol-thread.c: Update.
1823 * sparc-tdep.c, target.c, v850-tdep.c, valops.c: Update.
1824 * vax-tdep.c, x86-64-tdep.c, xstormy16-tdep.c: Update.
1825 * config/ia64/tm-ia64.h, config/m68k/tm-vx68.h: Update.
1826 * config/mips/tm-mips.h, config/pa/nm-hppah.h: Update.
1827 * config/pa/tm-hppa.h, config/pa/tm-hppa64.h: Update.
1828 * config/s390/tm-s390.h, config/sparc/tm-sp64.h: Update.
1829 * config/sparc/tm-sparc.h: Update.
1831 2003-05-05 Kris Warkentin <kewarken@qnx.com>
1833 * configure.tgt: Add i[3456]86-*-nto*.
1834 * i386-nto-tdep.c: New file. i386 specific support for QNX Neutrino.
1835 * nto-tdep.c: New file. Neutrino target support routines.
1836 * nto-tdep.h: New file. Neutrino target header.
1837 * config/tm-qnxnto.h: New file.
1838 * config/i386/i386nto.mt: New file.
1839 * config/i386/tm-i386nto.h: New file.
1841 2003-05-04 Andrew Cagney <cagney@redhat.com>
1843 * gdbthread.h (save_infrun_state): Drop prev_func_name parameter.
1844 (load_infrun_state): Ditto.
1845 (struct thread_info): Drop "prev_func_name" field.
1846 * thread.c (load_infrun_state): Update.
1847 (save_infrun_state): Update.
1848 * infrun.c (prev_func_name): Delete variable.
1849 (init_wait_for_inferior): Do not clear prev_func_name.
1850 (stop_stepping, keep_going, context_switch): Do not swap
1852 (handle_inferior_event, check_sigtramp2): Use pc_in_sigtramp
1853 instead of PC_IN_SIGTRAMP.
1855 2003-05-04 Andrew Cagney <cagney@redhat.com>
1857 * sentinel-frame.c (sentinel_frame_prev_register): Replace
1858 REGISTER_BYTE with register_offset_hack.
1859 * regcache.c (init_regcache_descr): When REGISTER_BYTE_P, check
1860 that REGISTER_BYTE is consistent with the regcache.
1861 * gdbarch.sh (REGISTER_BYTE): Add a predicate.
1862 * gdbarch.h, gdbarch.c: Regenerate.
1864 2003-05-04 Mark Kettenis <kettenis@gnu.org>
1866 * i387-tdep.c (fxsave_offset): Add entries for %xmm8-%xmm15.
1867 (FXSAVE_ADDR, i387_supply_fxsave): Add support for %xmm8-%xmm15.
1869 * i386-linux-nat.c (supply_gregset): Remove unnecessary casts.
1871 2003-05-03 J. Brobecker <brobecker@gnat.com>
1873 From Thierry Schneider <tpschneider1@yahoo.com>
1874 * Makfile.in (SUBDIR_MI_OBS): Add dependency on mi-cmd-symbol.o.
1875 (SUBDIR_MI_SRCS): Add mi-cmd-symbol.c.
1876 (mi-cmd-symbol.o): Add rule.
1878 2003-05-03 Andrew Cagney <cagney@redhat.com>
1880 * gdbarch.sh (PUSH_DUMMY_CODE): New architecture method, add
1881 comments noteing that it replaces the old FIX_CALL_DUMMY code.
1882 * gdbarch.h, gdbarch.c: Re-generate.
1883 * d10v-tdep.c (d10v_push_dummy_code): New function.
1884 (d10v_gdbarch_init): Set push_dummy_code.
1885 * infcall.c (legacy_push_dummy_code): New function.
1886 (generic_push_dummy_code): New function.
1887 (push_dummy_code): New function.
1888 (call_function_by_hand): Call push_dummy_code. Pass bp_addr,
1889 instead of dummy_addr, to push_dummy_call. Move call to
1890 generic_save_call_dummy_addr to outside of CALL_DUMMY_LOCATION
1892 * sparc-tdep.c (sparc_gdbarch_init): Mention push_dummy_code.
1894 2003-05-03 Andrew Cagney <cagney@redhat.com>
1896 * disasm.h (print_insn): Declare.
1897 * disasm.c (init_gdb_disassemble_info): New function.
1898 (gdb_disassembly): Call init_gdb_disassemble_info.
1899 (gdb_print_insn): New function.
1900 * v850-tdep.c (v850_scan_prologue): Call gdb_print_insn, instead
1901 of TARGET_PRINT_INSN. Send debug info to "gdb_stdlog".
1902 * mcore-tdep.c: Include "disasm.h"
1903 (mcore_dump_insn): Call gdb_print_insn, instead of TARGET_PRINT_INSN.
1904 * d10v-tdep.c: Include "disasm.h".
1905 (display_trace): Call gdb_print_insn, instead of print_insn.
1906 (print_insn): Delete function.
1907 * printcmd.c: Include "disasm.h".
1908 (print_insn): Delete function.
1909 (print_formatted): Call gdb_print_insn, instead of print_insn.
1910 * Makefile.in (printcmd.o): Update dependencies.
1911 (mcore-tdep.o, d10v-tdep.o): Ditto.
1913 2003-05-02 Andrew Cagney <cagney@redhat.com>
1915 * std-regs.c (value_of_builtin_frame_pc_reg): Delete #ifdef
1916 PC_REGNUM, re-indent.
1917 * stack.c (frame_info): Use "pc" for the name of get_frame_pc when
1918 PC_REGNUM isn't set.
1920 * gdbarch.sh (REGISTER_SIZE, REGISTER_BYTES): Make optional.
1921 * gdbarch.h, gdbarch.c: Re-generate.
1922 * d10v-tdep.c (d10v_gdbarch_init): Do not set register_size,
1923 register_virtual_size, pc_regnum, or register_bytes.
1924 (D10V_PC_REGNUM): Rename _PC_REGNUM.
1925 (d10v_register_type): Use D10V_PC_REGNUM.
1926 (d10v_print_registers_info, d10v_read_pc): Ditto.
1927 (d10v_write_pc, d10v_eva_prepare_to_trace): Ditto.
1928 (d10v_unwind_pc, d10v_frame_prev_register): Ditto.
1930 2003-05-02 David Carlton <carlton@bactrian.org>
1932 * objfiles.c (allocate_objfile): For anonymous objfiles, allocate
1933 the name with mstrsave.
1935 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
1937 * charset.c (GDB_DEFAULT_TARGET_CHARSET,
1938 GDB_DEFAULT_HOST_CHARSET): Move to earlier in the file.
1939 (host_charset_name, target_charset_name): New vars for use by
1941 (host_charset_enum, target_charset_enum): New enums for set/show
1943 (set_charset_sfunc, set_host_charset_sfunc,
1944 set_target_charset_sfunc): New functions.
1945 (set_host_charset, set_target_charset): Make static.
1946 (list_charsets, set_host_charset_command,
1947 set_target_charset_command): Delete functions.
1948 (show_charset_command): Rewrite as....
1949 (show_charset): Hook this up with the set/show command mechanism.
1950 (_initialize_charset): Change names of charsets to match the
1951 set/show enums. Use host_charset_name and target_charset_name.
1952 Use set/show mechanism for charset, host-charset, target-charset
1953 commands. Do not make 'show host-charset' and 'show
1954 target-charset' be aliases of 'show charset'.
1956 * charset.h (set_host_charset, set_target_charset): Don't export,
1957 they are not used outside the file.
1959 2003-05-01 Andrew Cagney <cagney@redhat.com>
1961 * disasm.c (gdb_disassemble_from_exec): Delete global variable.
1962 (gdb_disassembly): Make "di" non static, always initialize and
1963 cleanup. Always use dis_asm_read_memory.
1964 (gdb_dis_asm_read_memory): Delete function.
1966 2003-05-01 Andrew Cagney <cagney@redhat.com>
1968 * d10v-tdep.c (d10v_frame_align): Replace d10v_stack_align.
1969 (d10v_gdbarch_init): Set frame_align instead of stack_align.
1971 2003-04-30 Andrew Cagney <cagney@redhat.com>
1973 * gdbarch.sh (deprecated_tm_print_insn_info): Rename
1974 "tm_print_insn_info".
1975 (TARGET_PRINT_INSN_INFO): Delete macro.
1976 (dis_asm_read_memory): Delete function declaration.
1977 (dis_asm_memory_error, dis_asm_print_address): Ditto.
1978 (tm_print_insn_info): Delete variable definition.
1979 (_initialize_gdbarch): Do not initialize "tm_print_insn_info".
1980 * gdbarch.h, gdbarch.c: Re-generate.
1981 * d10v-tdep.c (display_trace): Replace "tm_print_insn_info" with
1982 "deprecated_tm_print_insn_info".
1983 * mcore-tdep.c (mcore_dump_insn): Ditto.
1984 * mips-tdep.c (mips_gdbarch_init): Ditto.
1985 * sparc-tdep.c (_initialize_sparc_tdep): Ditto.
1986 * v850-tdep.c (v850_scan_prologue, v850_gdbarch_init): Ditto.
1987 * ia64-tdep.c (_initialize_ia64_tdep): Ditto.
1988 * printcmd.c (print_insn): Use "deprecated_tm_print_insn_info"
1989 instead of TARGET_PRINT_INSN_INFO, add comment.
1990 * s390-tdep.c (s390_get_frame_info): Instead of
1991 "dis_asm_read_memory", use "deprecated_tm_print_insn_info".
1992 (s390_check_function_end, s390_is_sigreturn): Ditto.
1993 * corefile.c (dis_asm_read_memory): Move to "disasm.c".
1994 (dis_asm_memory_error, dis_asm_print_address): Ditto.
1995 * disasm.c: Include "gdbcore.h".
1996 (_initialize_disasm): New function, initialize
1997 "deprecated_tm_print_insn_info".
1998 (deprecated_tm_print_insn_info): New variable.
1999 (dis_asm_read_memory): Moved from "corefile.c", made static.
2000 (dis_asm_print_address, dis_asm_memory_error): Ditto.
2001 * Makefile.in (disasm.o): Update dependencies.
2003 2003-04-30 Andrew Cagney <cagney@redhat.com>
2005 * sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1.
2007 2003-04-29 Adam Fedor <fedor@gnu.org>
2009 * eval.c (evaluate_subexp_standard): Handle ObjC ops.
2010 * infcall.c (find_function_addr): Make non-static.
2011 * infcall.h (find_function_addr): Declare.
2012 * Makefile.in (eval.o): Update dependencies.
2014 2003-04-28 Adam Fedor <fedor@gnu.org>
2016 * symtab.c (symbol_find_demangled_name): Check for and demangle
2018 (symbol_init_demangled_name): Init for language_objc as well.
2020 2003-04-28 Andrew Cagney <cagney@redhat.com>
2022 * gdbarch.sh (DEPRECATED_TARGET_READ_FP): Replace TARGET_READ_FP.
2023 (DEPRECATED_FP_REGNUM): Replace FP_REGNUM.
2024 * gdbarch.h, gdbarch.c: Re-generate.
2025 * infcall.c (call_function_by_hand): Use DEPRECATED_FP_REGNUM,
2026 DEPRECATED_TARGET_READ_FP, or "sp" to create the dummy frame ID.
2027 * inferior.h (deprecated_read_fp): Rename read_fp.
2028 (generic_target_read_fp): Delete declaration.
2029 * regcache.c (generic_target_read_fp): Delete function.
2030 (deprecated_read_fp): Replace read_fp, use
2031 DEPRECATED_TARGET_READ_FP or DEPRECATED_FP_REGNUM.
2032 * d10v-tdep.c (d10v_read_fp): Delete function.
2033 (d10v_gdbarch_init): Do not set deprecated_read_fp.
2035 * sparc-tdep.c (sparc_gdbarch_init): Do not set
2036 deprecated_target_read_fp to generic_target_read_fp.
2037 * sh-tdep.c (sh_gdbarch_init): Ditto.
2038 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
2039 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2040 * frv-tdep.c (frv_gdbarch_init): Ditto.
2042 * xstormy16-tdep.c (xstormy16_gdbarch_init): Set
2043 deprecated_fp_regnum.
2044 * x86-64-tdep.c (x86_64_init_abi): Ditto.
2045 * vax-tdep.c (vax_gdbarch_init): Ditto.
2046 * v850-tdep.c (v850_gdbarch_init): Ditto.
2047 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
2048 * sh-tdep.c (sh_gdbarch_init): Ditto.
2049 * s390-tdep.c (s390_gdbarch_init): Ditto.
2050 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
2051 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
2052 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
2053 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
2054 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2055 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
2056 * i386-tdep.c (i386_gdbarch_init): Ditto.
2057 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
2058 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
2059 * frv-tdep.c (frv_gdbarch_init): Ditto.
2060 * cris-tdep.c (cris_gdbarch_init): Ditto.
2061 * avr-tdep.c (avr_gdbarch_init): Ditto.
2062 * arm-tdep.c (arm_gdbarch_init): Ditto.
2063 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
2065 * x86-64-tdep.c (x86_64_init_abi): Set deprecated_target_read_fp.
2066 * v850-tdep.c (v850_gdbarch_init): Ditto.
2067 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
2068 * sh-tdep.c (sh_gdbarch_init): Ditto.
2069 * s390-tdep.c (s390_gdbarch_init): Ditto.
2070 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
2071 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
2072 * mips-tdep.c (mips_gdbarch_init): Ditto.
2073 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2074 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
2075 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
2076 * frv-tdep.c (frv_gdbarch_init): Ditto.
2077 * avr-tdep.c (avr_gdbarch_init): Ditto.
2078 * arm-tdep.c (arm_gdbarch_init): Ditto.
2080 * vax-tdep.c (vax_frame_init_saved_regs): Replace FP_REGNUM with
2081 DEPRECATED_FP_REGNUM.
2082 (vax_push_dummy_frame, vax_pop_frame): Ditto.
2083 * std-regs.c (value_of_builtin_frame_fp_reg): Ditto.
2084 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
2085 (sparc_push_dummy_frame, sparc64_read_fp): Ditto.
2086 (sparc32_register_virtual_type): Ditto.
2087 * sh-tdep.c (sh64_frame_chain): Ditto.
2088 (sh64_get_saved_register, sh64_pop_frame): Ditto.
2089 (sh_nofp_frame_init_saved_regs): Ditto.
2090 (sh64_nofp_frame_init_saved_regs): Ditto.
2091 (sh_fp_frame_init_saved_regs): Ditto.
2092 * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
2093 * remote-e7000.c (fetch_regs_from_dump): Ditto.
2094 * procfs.c (procfs_fetch_registers): Ditto.
2095 (procfs_store_registers): Ditto.
2096 * ns32knbsd-nat.c (fetch_inferior_registers): Ditto.
2097 (store_inferior_registers, fetch_core_registers): Ditto.
2098 (fetch_kcore_registers, clear_regs): Ditto.
2099 * ns32k-tdep.c (ns32k_frame_init_saved_regs): Ditto.
2100 (ns32k_push_dummy_frame, ns32k_pop_frame): Ditto.
2101 * nlm/i386.h (DEPRECATED_FP_REGNUM): Ditto.
2102 * nlm/i386.c (do_status): Ditto.
2103 * mipsv4-nat.c (supply_gregset): Ditto.
2104 * mips-tdep.c: Ditto for comments.
2105 * mips-nat.c (fetch_inferior_registers): Ditto.
2106 (store_inferior_registers, fetch_core_registers): Ditto.
2107 * m68k-tdep.c (m68k_push_dummy_frame): Ditto.
2108 (m68k_pop_frame, m68k_frame_init_saved_regs): Ditto.
2109 * i386-tdep.c (i386_frame_init_saved_regs): Ditto.
2110 (i386_do_pop_frame, i386_register_type): Ditto.
2111 * hppa-tdep.c (hppa_frame_chain): Ditto.
2112 (hppa_push_dummy_frame, find_dummy_frame_regs): Ditto.
2113 (hppa_pop_frame, hppa_read_fp): Ditto.
2114 (skip_prologue_hard_way, hppa_frame_find_saved_regs): Ditto.
2115 * cris-tdep.c (cris_examine, cris_pop_frame): Ditto.
2116 * config/vax/nm-vax.h (REGISTER_U_ADDR): Ditto.
2117 * config/sparc/tm-sparc.h (DEPRECATED_FP_REGNUM): Ditto.
2118 * config/sparc/tm-sp64.h (DEPRECATED_FP_REGNUM): Ditto.
2119 * config/s390/tm-s390.h (DEPRECATED_FP_REGNUM): Ditto.
2120 * config/pa/tm-hppa64.h (DEPRECATED_FP_REGNUM): Ditto.
2121 * config/ia64/tm-ia64.h (DEPRECATED_FP_REGNUM): Ditto.
2122 * blockframe.c: Ditto for comments.
2123 * arch-utils.h: Ditto for comments.
2124 * arch-utils.c (legacy_virtual_frame_pointer): Ditto.
2125 * alphanbsd-tdep.c (fetch_core_registers): Ditto.
2126 * alphabsd-nat.c (fetch_inferior_registers): Ditto.
2127 * alpha-tdep.h: Ditto for comments.
2128 * alpha-tdep.c (alpha_cannot_fetch_register): Ditto.
2129 (alpha_cannot_store_register): Ditto.
2130 (alpha_push_dummy_frame): Ditto.
2131 * alpha-nat.c (supply_gregset): Ditto.
2133 * config/sparc/tm-sp64.h (DEPRECATED_TARGET_READ_FP): Update.
2134 * config/pa/tm-hppa64.h (DEPRECATED_TARGET_READ_FP): Update.
2135 * config/sparc/tm-sparc.h: Update comment.
2137 * hppa-tdep.c (hppa_init_extra_frame_info): Use
2138 deprecated_read_fp instead of TARGET_READ_FP.
2139 (hppa_init_extra_frame_info, hppa_frame_chain): Ditto.
2140 (hppa_push_dummy_frame, hppa_read_fp): Ditto.
2141 * sparc-tdep.c (sparc_init_extra_frame_info): Use
2142 deprecated_read_fp instead of read_fp.
2143 * s390-tdep.c (s390_push_arguments): Ditto.
2144 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
2145 * frame.h: Ditto in comments.
2146 * frame.c (legacy_get_prev_frame): Ditto.
2147 * dummy-frame.c (dummy_frame_this_id): Ditto.
2148 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
2150 2003-04-28 Andrew Cagney <cagney@redhat.com>
2152 * gdbarch.sh (deprecated_tm_print_insn): Rename tm_print_insn.
2153 * gdbarch.h, gdbarch.c: Re-generate.
2154 * xstormy16-tdep.c (_initialize_xstormy16_tdep): Update.
2155 * vax-tdep.c (_initialize_vax_tdep): Update.
2156 * v850-tdep.c (_initialize_v850_tdep): Update.
2157 * sparc-tdep.c (_initialize_sparc_tdep): Update.
2158 * s390-tdep.c (_initialize_s390_tdep): Update.
2159 * ns32k-tdep.c (_initialize_ns32k_tdep): Update.
2160 * mn10300-tdep.c (_initialize_mn10300_tdep): Update.
2161 * mips-tdep.c (_initialize_mips_tdep): Update.
2162 * mcore-tdep.c (_initialize_mcore_tdep): Update.
2163 * m68k-tdep.c (_initialize_m68k_tdep): Update.
2164 * ia64-tdep.c (_initialize_ia64_tdep): Update.
2165 * hppa-tdep.c (_initialize_hppa_tdep): Update.
2166 * h8300-tdep.c (_initialize_h8300_tdep): Update.
2167 * frv-tdep.c (_initialize_frv_tdep): Update.
2168 * cris-tdep.c (cris_delayed_get_disassembler): Update.
2169 (_initialize_cris_tdep): Update.
2170 * arch-utils.c (legacy_print_insn): Update.
2171 * alpha-tdep.c (_initialize_alpha_tdep): Update.
2173 2003-04-26 Adam Fedor <fedor@gnu.org>
2175 * linespec.c (decode_objc): New function to decode ObjC calls
2176 (decode_line_1): Check for ObjC calls (using decode_objc)
2177 * Makefile (linespec.o): Update dependencies.
2179 2003-04-26 Daniel Jacobowitz <drow@mvista.com>
2181 * breakpoint.h (struct breakpoint_ops): New.
2182 (struct breakpoint): Add ops member.
2184 * breakpoint.c (print_bp_stop_message, print_one_breakpoint)
2185 (mention): Use new breakpoint ops member.
2186 (set_raw_breakpoint): Initialize ops field to NULL.
2187 (print_exception_catchpoint, print_one_exception_catchpoint)
2188 (print_mention_exception_catchpoint, handle_gnu_v3_exceptions): New.
2189 (gnu_v3_exception_catchpoint_ops): New.
2190 (catch_exception_command_1): Call handle_gnu_v3_exceptions.
2192 2003-04-25 Adam Fedor <fedor@gnu.org>
2194 * Makefile.in (COMMON_OBS): Add objc-lang.o
2196 2003-04-25 Andrew Cagney <cagney@redhat.com>
2198 * d10v-tdep.c (print_insn): Delete function.
2199 (display_trace): Use TARGET_PRINT_INSN.
2200 (_initialize_d10v_tdep): Do not set tm_print_insn.
2201 (d10v_gdbarch_init): Set print_insn.
2203 2003-04-25 Andrew Cagney <cagney@redhat.com>
2205 * d10v-tdep.c (d10v_extract_return_value): Delete call to printf.
2206 (_initialize_d10v_tdep): Use add_setshow_boolean_cmd.
2207 (d10v_frame_unwind_cache): Use FRAME_OBSTACK_CALLOC.
2208 (NR_DMAP_REGS, A0_REGNUM): Delete, replaced by ...
2209 (nr_dmap_regs, a0_regnum): ... new functions.
2210 (d10v_print_registers_info): Use a0_regnum, use register_size.
2211 (d10v_register_byte): Delete function.
2212 (d10v_register_raw_size): Delete function.
2213 (d10v_register_type): Use a0_regnum.
2214 (d10v_print_registers_info): Use a0_regnum.
2215 (D10V_SP_REGNUM): Rename _SP_REGNUM, replace it and SP_REGNUM.
2216 (d10v_gdbarch_init): Do not set register_byte or
2217 register_raw_size, use D10V_SP_REGNUM to set sp_regnum.
2218 (d10v_pointer_to_address): Use extract_unsigned_integer instead of
2220 (trace_command): Use XCALLOC.
2221 (print_insn): Delete reference to tm_print_insn.
2222 (saved_regs_unwinder): Use store_unsigned_integer instead of
2224 * frame.h (FRAME_OBSTACK_CALLOC): Define
2226 2003-04-25 David Carlton <carlton@bactrian.org>
2228 * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/maint.exp.
2230 2003-04-24 Adam Fedor <fedor@gnu.org>
2232 * objc-lang.c: Include "valprint.h"
2233 * Makefile.in (objc-lang.o): Update dependencies.
2235 2003-04-24 Adam Fedor <fedor@gnu.org>
2237 * objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): Remove
2238 architecture dependant compilation and mark as unimplemented
2239 (until they get put in the gdbarch vector).
2241 2003-04-23 David Carlton <carlton@bactrian.org>
2243 * cp-support.c (cp_find_first_component): Accept 'operator' in
2246 2003-04-23 Andrew Cagney <cagney@redhat.com>
2248 * infcall.c (call_function_by_hand): Eliminate redundant
2249 indentation. Move "saved_async" and "old_cleanups" to where they
2252 2003-04-23 Andrew Cagney <cagney@redhat.com>
2254 * infcall.c (call_function_by_hand): Eliminate the variables "rc"
2255 and "buffer". Move the "name" code to where it is needed.
2257 2003-04-23 Andrew Cagney <cagney@redhat.com>
2259 * infcall.c (call_function_by_hand): Move variables "start_sp",
2260 "dummy", "sizeof_dummy1" and "dummy1" and corresponding dummy call
2261 code to ON_STACK switch branch.
2263 2003-04-23 Andrew Cagney <cagney@redhat.com>
2265 * infcall.c (call_function_by_hand): Make declaration of "i",
2266 "sal", "bpt" and "old_sp" more local to their use. Delete #if
2269 2003-04-23 Andrew Cagney <cagney@redhat.com>
2271 * infcall.c (call_function_by_hand): Delete variable
2272 "n_method_args". Localize "param_type"'s declaration to the loop
2273 that it is used. Reinstate code assigning to said variable -
2274 deleted on 2002-06-14. Rationalize calls to value_args_coerce.
2275 Rationalize code using "param_type".
2277 2003-04-22 Andrew Cagney <cagney@redhat.com>
2279 * infcall.c (call_function_by_hand): Use new variable "bp_addr" to
2280 compute the breakpoint address. Only call FIX_CALL_DUMMY when
2281 ON_STACK. Eliminate the variable "addr". Do not pass "real_pc"
2282 to DEPRECATED_PUSH_RETURN_ADDRESS.
2284 2003-04-22 Kevin Buettner <kevinb@redhat.com>
2286 * dwarf2loc.c (dwarf2_evaluate_loc_desc): Invoke DWARF2_REG_TO_REGNUM
2287 on the DWARF2 register number prior to fetching a register.
2289 2003-04-22 J. Brobecker <brobecker@gnat.com>
2291 * config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro.
2292 Update all the tests using SOFT_FLOAT considering the fact that
2293 this macro was always set to 0.
2294 * config/pa/tm-hppa64.h: Update all the tests using SOFT_FLOAT
2295 considering the fact that this macro was always set to 0.
2296 * hppa-tdep.h (hppa_store_return_value): Likewise.
2297 (hppa_extract_return_value): Likewise.
2299 2003-04-22 J. Brobecker <brobecker@gnat.com>
2301 * config/pa/tm-hppa.h: Remove obsolete code, was used by
2302 the hppa-pro target only.
2304 2003-04-21 J. Brobecker <brobecker@gnat.com>
2306 Ongoing multi-arch conversion effort for HP/UX:
2307 * config/pa/tm-hppa.h: Move all macro that are no longer
2308 defined now that GDB_MULTI_ARCH is now set to 1 from here...
2309 * config/pa/tm-hppa64.h: ... to here (hppa64 is not multiarch'ed yet).
2311 2003-04-21 J. Brobecker <brobecker@gnat.com>
2313 * config/pa/tm-hppa.h: Obsolete a section that was only used
2316 2003-04-21 J. Brobecker <brobecker@gnat.com>
2318 Ongoing multi-arch conversion for HP/UX.
2319 * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Set to 1. Do not define
2320 if already defined (allows hppa64 to stay non-multiarched for now).
2321 * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Define.
2323 2003-04-21 Andrew Cagney <cagney@redhat.com>
2325 * frame.c (frame_id_eq): Fail when the code_addr's do not match.
2327 2003-04-21 Andrew Cagney <cagney@redhat.com>
2329 * i386-tdep.c (i386_gdbarch_init): Replace "mmx_num_regs" with
2330 "i386_num_mmx_regs".
2332 2003-04-21 Andrew Cagney <cagney@redhat.com>
2334 * infcall.c: New file.
2335 * infcall.h: New file.
2336 * valarith.c: Include "infcall.h".
2337 * scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto.
2338 * eval.c, ada-valprint.c, ada-lang.c: Ditto.
2339 * Makefile.in (valarith.o, scm-lang.o): Update dependencies.
2340 (objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies.
2341 (eval.o, ada-valprint.o, ada-lang.o): Update dependencies.
2342 (SFILES): Add "infcall.c"
2343 (COMMON_OBS): Add "infcall.o".
2344 (infcall.o): Specify dependencies.
2345 * value.h (call_function_by_hand): Delete declaration.
2346 * inferior.h (run_stack_dummy): Delete declaration.
2347 * infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c".
2348 (run_stack_dummy): Move to "infcall.c", merged into
2349 call_function_by_hand.
2350 * valops.c (call_function_by_hand): Moved to "infcall.c".
2351 (find_function_addr, value_arg_coerce): Ditto.
2352 (unwindonsignal_p, coerce_float_to_double): Ditto.
2353 (_initialize_valops): Move "set/show coerce-float-to-double", and
2354 "set/show unwindonsignal" commands to "infcall.c".
2355 * v850-tdep.c, target.h: Update comments.
2356 * sparc-tdep.c (sparc_fix_call_dummy): Update comments.
2357 * sh-tdep.c (sh_init_extra_frame_info): Update comments.
2358 (sh64_init_extra_frame_info): Update comments.
2359 * mn10300-tdep.c: Update comments.
2360 * mcore-tdep.c (mcore_init_extra_frame_info): Update comments.
2361 * config/sparc/tm-sparc.h: Update comments.
2362 * breakpoint.h: Update comments.
2363 * avr-tdep.c (avr_init_extra_frame_info): Update comments.
2364 * arm-tdep.c: Update comment.
2366 2003-04-19 Mark Kettenis <kettenis@gnu.org>
2368 * i386-tdep.c (i386_num_register_names): New variable.
2369 (i386_num_mmx_regs): Renamed from mmx_num_regs.
2370 (MM0_REGNUM): Remove redundant parentheses in define.
2371 (i386_mmx_regnum_p): Use i386_mmx_regnum instead of mmx_num_regs.
2372 (i386_fp_regnum_p, i386_fpc_regnum_p, i386_sse_regnum_p,
2373 i386_mxcsr_regnum_p): Remove redundant parentheses.
2374 (i386_register_name): Use i386_num_register_names.
2376 * i386-tdep.c (i386_extract_return_value,
2377 i386_store_return_value): Correct check for availability of
2378 floating-point registers.
2380 * i386-tdep.c (i386_frame_num_args): Remove function.
2381 (i386_gdbarch_init): Set frame_num_args to frame_num_args_unknown.
2383 * i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Renamed from
2384 mmx_regnum_to_fp_regnum. Adjust all callers.
2386 * i386-tdep.c (i386_get_longjmp_target): Use
2387 TYPE_LENGTH(builtin_type_void_func_ptr) instead of TARGET_PTR_BIT
2388 and TARGET_CHAR_BIT. Use extract_typed_address instead of
2391 2003-04-19 Mark Kettenis <kettenis@gnu.org>
2393 * core-regset.c: Update comments to reflect reality. Re-order
2395 (fetch_core_registers): Use switch instead of if. Remove
2396 redundant prototype.
2398 2003-04-18 Jim Blandy <jimb@redhat.com>
2400 * s390-tdep.c (s390_frame_align): New function.
2401 (s390_gdbarch_init): Register it with the gdbarch object.
2403 2003-04-17 Richard Henderson <rth@redhat.com>
2405 * remote.c (minitelnet): Don't redeclare escape_count, echo_check.
2407 2003-04-17 Michael Snyder <msnyder@redhat.com>
2408 Karen Bennet <bennet@redhat.com>
2410 Committed by Elena Zannoni <ezannoni@redhat.com>
2411 * gdb_gcore.sh: New script to create a core dump of a process.
2413 2003-04-17 Elena Zannoni <ezannoni@redhat.com>
2415 * values.c (value_being_returned): Don't fetch the return
2416 value if the return type is void.
2418 2003-04-17 Jeff Johnston <jjohnstn@redhat.com>
2420 * thread-db.c: Reindented.
2422 2003-04-17 Jeff Johnston <jjohnstn@redhat.com>
2424 * gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t,
2425 td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t
2452 2003-04-16 Kevin Buettner <kevinb@redhat.com>
2454 * rs6000-tdep.c (rs6000_gdbarch_init): For the SysV ABI, set
2455 the size of ``long double'' to 16, instead of 8.
2457 2003-04-16 Mark Kettenis <kettenis@gnu.org>
2459 * i386-linux-nat.c: Add some whitespace to make things more
2461 (fetch_register, store_register, fetch_inferior_registers,
2462 store_inferior_registers): Get rid of assignment in if-statement.
2463 (store_register): Fix typo in error message.
2465 2003-04-16 Andrew Cagney <cagney@redhat.com>
2467 * utils.c (xmmalloc): Always allocate something, matches
2468 libiberty/xmalloc's semantics.
2469 (xmrealloc, xmcalloc): Ditto.
2471 2003-04-16 Andrew Cagney <cagney@redhat.com>
2473 * frame.c (get_prev_frame): Do not initialize "unwind" or "type",
2475 (get_frame_type): Initialize unwind and type when needed.
2476 (get_frame_id, frame_register_unwind): Ditto.
2478 2003-04-16 Andrew Cagney <cagney@redhat.com>
2480 * NEWS: Mention that sparclet-*-* and sparclite-*-* have been made
2482 * sparc-tdep.c: Obsolete SPARCLET and SPARCLITE code.
2483 * sparcl-stub.c: Obsolete file.
2484 * config/sparc/tm-sparclet.h: Obsolete file.
2485 * sparclet-stub.c: Obsolete file.
2486 * sparclet-rom.c: Obsolete file.
2487 * sparcl-tdep.c: Obsolete file.
2488 * config/sparc/tm-sparclite.h: Obsolete file.
2489 * config/sparc/sparclite.mt: Obsolete file.
2490 * config/sparc/sparclet.mt: Obsolete file.
2491 * configure.tgt: Make sparclet-*-*, sparclite-*-*, and
2492 sparc86x-*-* obsolete.
2494 2003-04-15 David Carlton <carlton@math.stanford.edu>
2496 * Makefile.in (SFILES): Add cp-namespace.c.
2497 (COMMON_OBS): Add cp-namespace.o.
2498 (block.o): Depend on gdb_obstack_h and cp_support_h.
2499 (buildsym.o): Depend on cp_support_h.
2500 (cp-namespace.o): New.
2501 (cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h,
2502 gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h.
2503 (dwarf2read.o): Depend on cp_support_h.
2504 * jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE.
2505 * dwarf2read.c (process_die): Set processing_has_namespace_info,
2506 processing_current_namespace.
2507 (read_namespace): Update processing_current_namespace; check for
2508 anonymous namespaces.
2509 (dwarf2_name): New function.
2510 (dwarf2_extension): Ditto.
2511 * cp-support.h: Update copyright, contributors.
2512 Add inclusion guards.
2513 Add opaque declaration for structs obstack, block, symbol.
2514 (struct using_direct): New struct.
2515 Add declarations for cp_find_first_component,
2516 cp_entire_prefix_len, processing_has_namespace_info,
2517 processing_current_namespace, cp_is_anonymous,
2518 cp_add_using_directive, cp_initialize_namespace,
2519 cp_finalize_namespace, cp_set_block_scope,
2520 cp_scan_for_anonymous_namespaces.
2521 * cp-namespace.c: New file.
2522 * cp-support.c: Update copyright.
2523 Include ctype.h, gdb_assert.h, gdbcmd.h.
2524 New variable maint_cplus_cmd_list.
2525 (cp_find_first_component): New function.
2526 (cp_entire_prefix_len, maint_cplus_command)
2527 (first_component_command, _initialize_cp_support): Ditto.
2528 * buildsym.c: Include cp-support.h.
2529 New variable using_list.
2530 (add_symbol_to_list): Check for anonymous namespaces.
2531 (finish_block): Set block's scope.
2532 (start_symtab): Initialize C++ namespace support.
2533 (end_symtab): Finalize C++ namespace support.
2534 * block.h: Add opaque declarations for structs
2535 block_namespace_info, using_direct, and obstack.
2536 Add declarations for block_set_scope and block_set_using.
2537 (struct block): Add 'language_specific' member.
2538 (BLOCK_NAMESPACE): New macro.
2539 * block.c: Include gdb_obstack.h and cp-support.h.
2540 (struct block_namespace_info): New struct.
2541 (block_set_scope): New function.
2542 (block_set_using, block_initialize_namespace): Ditto.
2544 2003-04-14 Kevin Buettner <kevinb@redhat.com>
2546 * solib-svr4.c (svr4_have_link_map_offsets): New function.
2547 (locate_base): Return early if there aren't any link map offsets.
2548 (svr4_solib_create_inferior_hook): Warn if shared library support
2551 2003-04-14 David Carlton <carlton@math.stanford.edu>
2553 * symtab.c (symbol_set_names): Add prefix when storing Java names
2554 in hash table. Fix for PR java/1039.
2556 2003-04-14 David Carlton <carlton@math.stanford.edu>
2558 * symtab.c (symbol_set_names): Rename 'name' arg to
2559 'linkage_name', and 'tmpname' variable to 'linkage_name_copy'.
2560 * symtab.h: Change 'name' argument in declaration of
2561 symbol_set_names to 'linkage_name'.
2562 (SYMBOL_SET_NAMES): Change 'name' argument to 'linkage_name'.
2564 2003-04-14 Andrew Cagney <cagney@redhat.com>
2566 * mips-tdep.c (mips_read_sp): Do not apply ADDR_BITS_REMOVE,
2567 return the fully sign-extended register value.
2568 (get_frame_pointer): Ditto.
2569 (mips_pop_frame): Initialize "proc_desc" after checking for a
2572 2003-04-14 Andrew Cagney <cagney@redhat.com>
2574 * mips-tdep.c (mips_push_dummy_frame): Delete function.
2575 (MASK, PUSH_FP_REGNUM, GEN_REG_SAVE_MASK): Delete macros.
2576 (FLOAT_REG_SAVE_MASK, FLOAT_SINGLE_REG_SAVE_MASK): Delete macro.
2577 (mips_push_register): Delete function.
2578 (mips_dump_tdep): Delete references to GEN_REG_SAVE_MASK and
2581 2003-04-14 Jim Blandy <jimb@redhat.com>
2583 * symmisc.c: #include "gdb_regex.h".
2584 (maintenance_list_symtabs, maintenance_list_psymtabs): New
2586 * maint.c (maintenance_list_command): New function.
2587 (_initialize_maint_cmds): Register the above as commands.
2588 * symtab.h (maintenance_list_symtabs,
2589 maintenance_list_psymtabs): New declarations.
2590 * cli/cli-cmds.c (maintenancelistlist): New variable.
2591 (init_cmd_lists): Initialize it.
2592 * cli/cli-cmds.h (maintenancelistlist): New declaration.
2593 * gdbcmd.h (maintenancelistlist): New declaration.
2594 * Makefile.in (symmisc.o): Update dependencies.
2596 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
2598 * s390-nat.c: Include asm/types.h for addr_t.
2600 2003-04-14 Corinna Vinschen <vinschen@redhat.com>
2602 * cp-valprint.c (cp_print_class_method): Call unpack_pointer() with
2603 actually incoming type.
2605 2003-04-13 Andrew Cagney <cagney@redhat.com>
2607 * ppc-linux-tdep.c: Use get_frame_base, get_frame_pc,
2608 get_next_frame and get_frame_saved_regs.
2610 2003-04-13 Andrew Cagney <cagney@redhat.com>
2612 * reggroups.c (default_register_reggroup_p): Use NUM_REGS instead
2613 of gdbarch_num_regs.
2615 2003-04-13 Andrew Cagney <cagney@redhat.com>
2617 * frame.h: Mention what replaced what in "struct frame_info".
2618 * hppa-hpux-tdep.c: Use get_frame_base, get_frame_pc and
2619 deprecated_update_frame_base_hack and
2620 deprecated_update_frame_pc_hack.
2621 * hppa-tdep.c: Ditto.
2623 2003-04-13 Daniel Jacobowitz <drow@mvista.com>
2625 * dwarf2expr.h (struct dwarf_expr_context): Remove extra arguments
2626 to read_reg and update its comment. Remove regnum member.
2627 * dwarf2expr.c (execute_stack_op): Remove memaddr and expr_lval.
2628 Don't call read_reg when setting in_reg. Call read_reg to get
2629 the frame base if it's in a register. Return the register number
2630 on the stack instead of in the context. Remove extra arguments
2632 * dwarf2loc.c (dwarf_expr_read_reg): Remove extra arguments.
2633 (dwarf2_evaluate_loc_desc): Call value_from_register. Expect
2634 the register number on the expression stack.
2635 (needs_frame_read_reg): Remove extra arguments.
2637 2003-04-13 Daniel Jacobowitz <drow@mvista.com>
2639 * dwarf2expr.c (dwarf2_read_address): Renamed from read_address;
2641 (execute_stack_op): All callers updated.
2642 * dwarf2expr.h: Add prototype for dwarf2_read_address.
2643 * dwarf2loc.c (find_location_expression): New function.
2644 (dwarf_expr_frame_base): Call it.
2645 (dwarf2_evaluate_loc_desc): Handle 0-length location expressions.
2646 (dwarf2_tracepoint_var_ref): New function, broken out from
2647 locexpr_tracepoint_var_ref.
2648 (locexpr_tracepoint_var_ref): Call dwarf2_tracepoint_var_ref.
2650 (loclist_read_variable, loclist_read_needs_frame): New functions.
2651 (loclist_describe_location, loclist_tracepoint_var_ref): New
2653 (dwarf2_loclist_funcs): New struct location_funcs.
2654 * dwarf2loc.h (struct dwarf2_loclist_baton): New type.
2655 (struct dwarf2_locexpr_baton): Add comments.
2656 (dwarf2_loclist_funcs): New extern.
2657 * dwarf2read.c (struct comp_unit_head): Remove DIE member, add
2658 base_address and base_known.
2659 (dwarf_loc_buffer): New variable.
2660 (struct dwarf2_pinfo): Add dwarf_loc_buffer and dwarf_loc_size.
2661 (DWARF_LOC_BUFFER, DWARF_LOC_SIZE): New macros.
2662 (dwarf2_has_info): Initialize dwarf_loc_offset.
2663 (dwarf2_build_psymtabs): Read in .debug_loc.
2664 (dwarf2_build_psymtabs_hard): Use DWARF_LOC_BUFFER and
2666 (psymtab_to_symtab_1): Likewise. Move base address calculation
2668 (dwarf2_get_pc_bounds): ... here. Use the base address from
2670 (dwarf2_symbol_mark_computed): Handle location lists.
2672 2003-04-13 Daniel Jacobowitz <drow@mvista.com>
2674 * minsyms.c (install_minimal_symbols): Only switch to gnu-v3 mode
2675 if the linkage name demangled successfully.
2677 2003-04-13 Mark Kettenis <kettenis@gnu.org>
2679 * x86-64-tdep.c (att_flavour, intel_flavour, valid_flavours,
2680 disassmbly_flavour): Removed.
2682 * x86-64-tdep.c (gdb_print_insn_x86_64): Removed.
2684 2003-04-13 Mark Kettenis <kettenis@gnu.org>
2686 * x86-64-tdep.c (x86_64_breakpoint_from_pc): Removed.
2688 2003-04-12 Andrew Cagney <cagney@redhat.com>
2690 * frame.h (struct frame_info): Move definition from here ...
2691 * frame.c (struct frame_info): ... to here.
2693 2003-04-12 Andrew Cagney <cagney@redhat.com>
2695 * gdbthread.h (save_infrun_state): Delete parameter
2697 (struct thread_info): Delete field "prev_func_start".
2698 (load_infrun_state): Ditto.
2699 * thread.c (load_infrun_state, save_infrun_state): Update.
2700 * infrun.c (prev_func_start): Delete variable.
2701 (context_switch, init_wait_for_inferior): Update.
2702 (stop_stepping, keep_going): Update.
2704 2003-04-12 Andrew Cagney <cagney@redhat.com>
2706 * gdbarch.sh: Add missing opaque declarations.
2707 * gdbarch.h: Regnerate.
2708 * symtab.h: Add missing opaque declarations.
2709 * value.h, target.h, symfile.h, stabsread.h: Ditto.
2710 * x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto.
2711 * srec.h, solib-svr4.h, source.h, inferior.h: Ditto.
2712 * ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto.
2713 * ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto.
2714 * buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto.
2715 * i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto.
2716 * dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto.
2717 * cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto.
2718 * ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto.
2719 * config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto.
2720 * config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto.
2721 * cli/cli-setshow.h, cli/cli-script.h: Ditto.
2723 2003-04-11 Andrew Cagney <cagney@redhat.com>
2725 * frame.c (get_frame_id): Return this frame's "id".
2726 (legacy_get_prev_frame): Set prev's frame ID code_addr to the
2728 (legacy_saved_regs_this_id): Replace function body with
2730 (deprecated_frame_xmalloc): Mark the frame ID as valid, use
2731 FRAME_OBSTACK_ZALLOC.
2732 (create_new_frame): Mark the frame ID as valid.
2734 2003-04-11 Alexandre Oliva <aoliva@redhat.com>
2736 * Makefile.in (libbfd_h): Added missing setting.
2737 * mips-tdep.c (mips_gdbarch_init): Set disassembler_options
2738 according to the selected ABI.
2740 2003-04-11 Jeff Johnston <jjohnstn@redhat.com>
2742 * gdb_indent.sh: Recognize pid_t and sigset_t as types.
2744 2003-04-11 Andrew Cagney <cagney@redhat.com>
2746 * gdbarch.sh (DEPRECATED_SAVED_PC_AFTER_CALL): Deprecate
2747 SAVED_PC_AFTER_CALL.
2748 * gdbarch.h, gdbarch.c: Regenerate.
2749 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
2750 * x86-64-tdep.c (x86_64_init_abi): Update.
2751 * vax-tdep.c (vax_gdbarch_init): Update.
2752 * v850-tdep.c (v850_gdbarch_init): Update.
2753 * sparc-tdep.c (sparc_gdbarch_init): Update.
2754 * sh-tdep.c (sh_gdbarch_init): Update.
2755 * s390-tdep.c (s390_gdbarch_init): Update.
2756 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
2757 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
2758 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
2759 * mips-tdep.c (mips_gdbarch_init): Update.
2760 * mcore-tdep.c (mcore_gdbarch_init): Update.
2761 * m68k-tdep.c (m68k_gdbarch_init): Update.
2762 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
2763 * ia64-tdep.c (ia64_gdbarch_init): Update.
2764 (ia64_saved_pc_after_call): Update declaration.
2765 * i386ly-tdep.c (i386lynx_init_abi): Update.
2766 * i386-tdep.c (i386_gdbarch_init): Update.
2767 * hppa-tdep.c (hppa_gdbarch_init): Update.
2768 * h8300-tdep.c (h8300_gdbarch_init): Update.
2769 * frv-tdep.c (frv_gdbarch_init): Update.
2770 * cris-tdep.c (cris_gdbarch_init): Update.
2771 * avr-tdep.c (avr_gdbarch_init): Update.
2772 * arm-tdep.c (arm_gdbarch_init): Update.
2773 * alpha-tdep.c (alpha_gdbarch_init): Update.
2774 * ns32knbsd-nat.c (frame_num_args): Update.
2775 * ns32k-tdep.c (umax_frame_num_args): Update.
2776 * mips-tdep.c (mips_init_frame_pc_first): Update.
2777 * infrun.c (step_over_function): Update.
2778 * i386-linux-tdep.c (skip_hurd_resolver): Update.
2779 * i386-interix-tdep.c (i386_interix_back_one_frame): Update.
2780 * config/sparc/tm-sparc.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update.
2781 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
2782 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
2783 * config/pa/tm-hppa.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update.
2784 * arm-linux-tdep.c (skip_hurd_resolver): Update.
2785 * arch-utils.c (init_frame_pc_default): Update.
2786 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
2787 * x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update
2790 2003-04-11 Andrew Cagney <cagney@redhat.com>
2792 * i387-tdep.c: Update copyright.
2793 (i387_to_double): Delete function.
2794 (double_to_i387): Delete function.
2796 2003-04-10 Andrew Cagney <cagney@redhat.com>
2798 * d10v-tdep.c (d10v_frame_this_id): Set the code addr to the
2799 frame's function's address. Simplify.
2800 (d10v_frame_unwind_cache): Check that the frame's function is
2803 2003-04-10 Jim Blandy <jimb@redhat.com>
2805 * s390-tdep.c (s390_gdbarch_init): Put back accidentally deleted
2806 call to set_gdbarch_deprecated_push_arguments.
2808 2003-04-10 Andrew Cagney <cagney@redhat.com>
2810 * frame.c (fprint_frame_id): New function.
2811 (fprint_frame_type, fprint_frame): New function.
2812 (frame_pc_unwind, frame_func_unwind): Add/update trace code.
2813 (create_sentinel_frame, get_frame_id): Ditto.
2814 (frame_id_p, frame_id_eq): Ditto.
2815 (frame_id_inner, create_new_frame): Ditto.
2816 (legacy_get_prev_frame, get_prev_frame): Ditto.
2817 (deprecated_update_frame_pc_hack): Ditto.
2818 (frame_register_unwind): Ditto.
2819 (deprecated_update_frame_base_hack): Ditto.
2821 2003-04-10 Corinna Vinschen <vinschen@redhat.com>
2823 * i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function.
2824 (i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new
2825 frame_chain function.
2826 * Makefile.in: Add dependencies due to above change.
2828 2003-04-10 Corinna Vinschen <vinschen@redhat.com>
2830 * blockframe.c (legacy_frame_chain_valid): Move call to
2831 DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and
2834 2003-04-09 Andrew Cagney <cagney@redhat.com>
2836 * frame.h (struct frame_id): Replace "pc" and "base" with
2837 "stack_addr" and "code_addr". Update comments.
2838 (frame_id_build): Update parameter names and comment.
2839 (struct frame_info): Replace "id_p" and "id" with "this_id".
2840 * dummy-frame.c (dummy_frame_this_id): Update.
2841 * breakpoint.c (print_one_breakpoint): Update.
2842 * frame.c (get_frame_id): Update.
2843 (get_frame_base, frame_id_build): Update.
2844 (create_sentinel_frame, legacy_get_prev_frame): Update.
2845 (deprecated_update_frame_base_hack): Update.
2846 (frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID.
2847 (frame_id_inner): Ditto.
2849 2003-04-09 Andrew Cagney <cagney@redhat.com>
2851 * defs.h (gdb_print_host_address): Make "addr" parameter a
2853 * utils.c (gdb_print_host_address): Update.
2855 2003-04-09 Kevin Buettner <kevinb@redhat.com>
2857 * rs6000-tdep.c (frame_get_saved_regs): Don't assume that the
2858 register number for R0 is 0.
2860 2003-04-09 J. Brobecker <brobecker@gnat.com>
2862 * frame.h (struct gdbarch): Add opaque structure definition
2863 to avoid a compilation warning on LynxOS 4.0.
2865 2003-04-09 Andrew Cagney <cagney@redhat.com>
2867 * frame.h (struct frame_info): Delete field "pc". Replace
2868 "pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc"
2870 * frame.c (frame_pc_unwind): Update.
2871 (create_sentinel_frame): Do not set "pc".
2872 (get_prev_frame): Do not set "pc". Use frame_pc_unwind.
2873 (get_frame_pc): Call frame_pc_unwind.
2874 (deprecated_update_frame_pc_hack): Update.
2875 (create_new_frame): Use "pc" not "->pc".
2877 2003-04-09 Andrew Cagney <cagney@redhat.com>
2879 * frame.c (get_frame_id): Eliminate code updating "frame".
2880 (legacy_get_prev_frame): Ditto.
2881 (get_frame_base): Return id.base directly.
2882 (deprecated_update_frame_base_hack): Update "id.base".
2883 * frame.h (struct frame_info): Delete field "frame".
2885 2003-04-09 Andrew Cagney <cagney@redhat.com>
2887 * NEWS: Mention that the "Sequent family" is obsolete.
2888 * configure.tgt: Obsolete i[3456]86-sequent-bsd*,
2889 i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
2890 * configure.host: Obsolete i[3456]86-sequent-bsd*,
2891 i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
2892 * config/i386/tm-ptx4.h: Obsolete file.
2893 * config/i386/tm-ptx.h: Obsolete file.
2894 * symm-tdep.c: Obsolete file.
2895 * config/i386/symmetry.mt: Obsolete file.
2896 * config/i386/tm-symmetry.h: Obsolete file.
2897 * symm-nat.c: Obsolete file.
2898 * config/i386/nm-symmetry.h: Obsolete file.
2899 * config/i386/xm-symmetry.h: Obsolete file.
2900 * config/i386/symmetry.mh: Obsolete file.
2901 * config/i386/nm-ptx4.h: Obsolete file.
2902 * config/i386/ptx4.mh: Obsolete file.
2903 * config/i386/ptx.mt: Obsolete file.
2904 * config/i386/ptx.mh: Obsolete file.
2905 * config/i386/xm-ptx4.h: Obsolete file.
2906 * config/i386/xm-ptx.h: Obsolete file.
2908 2003-04-09 Andrew Cagney <cagney@redhat.com>
2910 Obsolete mips*-*-mach3*.
2911 * NEWS: Mention that mips*-*-mach3* is obsolete.
2912 * m3-nat.c: Obsolete file.
2913 * config/nm-m3.h: Obsolete file.
2914 * config/mips/tm-mipsm3.h: Obsolete file.
2915 * config/mips/mipsm3.mt: Obsolete file.
2916 * config/mips/mipsm3.mh: Obsolete file.
2917 * config/mips/xm-mipsm3.h: Obsolete file.
2918 * mipsm3-nat.c: Obsolete file.
2919 * configure.host: Obsolete mips-dec-mach3*.
2920 * configure.tgt: Obsolete mips*-*-mach3*.
2922 2003-04-09 Andrew Cagney <cagney@redhat.com>
2924 * doublest.h: Update copyright.
2925 (deprecated_store_floating, deprecated_extract_floating): Rename
2926 store_floating and extract_floating. Update comments.
2927 * doublest.c: Update copyright.
2928 (extract_floating_by_length): Replace extract_floating.
2929 (store_floating_by_length): Replace store_floating.
2930 (deprecated_extract_floating): New function.
2931 (deprecated_store_floating): New function.
2932 (extract_typed_floating): Call extract_floating_by_length.
2933 (store_typed_floating): Call store_floating_by_length.
2934 * x86-64-tdep.c (x86_64_store_return_value): Update.
2935 * sh-tdep.c (sh3e_sh4_extract_return_value): Update.
2936 (sh64_extract_return_value): Update.
2937 (sh_sh4_register_convert_to_virtual): Update.
2938 (sh_sh64_register_convert_to_virtual): Update.
2939 (sh_sh4_register_convert_to_raw): Update.
2940 (sh_sh64_register_convert_to_raw): Update.
2941 * rs6000-tdep.c (rs6000_register_convert_to_virtual): Update.
2942 (rs6000_register_convert_to_raw): Update.
2943 * ia64-tdep.c (ia64_register_convert_to_virtual): Update.
2944 (ia64_register_convert_to_raw): Update.
2945 * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update.
2946 (REGISTER_CONVERT_TO_VIRTUAL): Update.
2947 * arm-linux-tdep.c (arm_linux_push_arguments): Update.
2948 * alpha-tdep.c (alpha_register_convert_to_virtual): Update.
2949 (alpha_register_convert_to_raw): Update.
2951 2003-04-08 Andrew Cagney <cagney@redhat.com>
2953 * gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate.
2954 * gdbarch.h, gdbarch.c: Re-generate.
2955 * d10v-tdep.c (d10v_saved_pc_after_call): Delete function.
2956 (d10v_gdbarch_init): Do not set saved_pc_after_call.
2957 * infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P
2958 conditionally, use frame_pc_unwind as an alternative. Add
2960 * arch-utils.c (init_frame_pc_default): Only call
2961 SAVED_PC_AFTER_CALL when available.
2963 2003-04-08 Elena Zannoni <ezannoni@redhat.com>
2965 * infrun.c (stop_soon): Rename from stop_soon_quietly.
2966 (struct inferior_status): Rename stop_soon_quietly field to stop_soon.
2967 (clear_proceed_status): Rename stop_soon_quietly to stop_soon.
2968 (start_remote): Ditto.
2969 (handle_inferior_event): Ditto.
2970 (save_inferior_status): Ditto.
2971 (restore_inferior_status): Ditto.
2972 * infcmd.c (attach_command): Ditto.
2973 * fork-child.c (startup_inferior): Ditto.
2974 * inferior.h (stop_soon): Rename from stop_soon_quietly.
2975 * alpha-tdep.c (heuristic_proc_start): Ditto.
2976 * mips-tdep.c (heuristic_proc_start): Ditto.
2977 * solib-svr4.c (svr4_solib_create_inferior_hook): Ditto.
2978 * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto.
2979 * solib-osf.c (osf_solib_create_inferior_hook): Ditto.
2980 * solib-irix.c (irix_solib_create_inferior_hook): Ditto.
2981 * remote-vx.c (vx_create_inferior): Ditto.
2983 2003-04-08 Elena Zannoni <ezannoni@redhat.com>
2985 * infrun.c (stop_soon_quietly): Make it an enum, to better
2986 override the default behavior of handle_inferior_event.
2987 (clear_proceed_status): Update uses of stop_soon_quietly to
2988 reflect that it is now an enum.
2989 (start_remote): Ditto.
2990 (handle_inferior_event): Change logic a bit if stop_soon_quietly
2991 is set to handle the new GNU/Linux kernel behavior for
2992 attach/sigstop. Update uses of stop_soon_quietly.
2993 * inferior.h (enum stop_kind): New enum.
2994 * infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP.
2995 Reset normal handle_inferior_event behavior, afterwards.
2996 * fork-child.c (startup_inferior): Update.
2997 * alpha-tdep.c (heuristic_proc_start): Update.
2998 * solib-svr4.c (svr4_solib_create_inferior_hook): Update.
2999 * solib-sunos.c (sunos_solib_create_inferior_hook): Update.
3000 * solib-osf.c (osf_solib_create_inferior_hook): Update.
3001 * solib-irix.c (irix_solib_create_inferior_hook): Update.
3002 * remote-vx.c (vx_create_inferior): Update.
3003 * mips-tdep.c (heuristic_proc_start): Update.
3005 2003-04-07 Elena Zannoni <ezannoni@redhat.com>
3007 * disasm.c (dump_insns): Move variables inside loop, or they will
3008 be freed more than once, causing wild memory corruptions.
3009 (gdb_disassembly): Look for the substring "-thread",
3010 instead of "-threads" in the target name, to make sure to find
3011 the 'multi-thread' target. Also, make sure we do the right thing
3012 with the "core" target.
3014 2003-04-07 Kevin Buettner <kevinb@redhat.com>
3016 * mips-tdep.c (mips_print_fp_register): New function, created from
3017 do_fp_register_row(). Registers are now (also) printed as hex.
3018 Only one register is printed per row.
3019 (mips_print_register, do_fp_register_row): Print floating point
3020 registers with mips_print_fp_register().
3022 2003-04-06 Andrew Cagney <cagney@redhat.com>
3024 * valprint.h (inspect_it): Add extern declaration.
3025 * objc-lang.c (value_nsstring): Avoid assignment inside of "if".
3026 (selectors_info, classes_info): Ditto.
3027 (find_objc_msgcall): Fix indentation.
3028 (objc_printstr): Delete extern declarations.
3030 * arm-tdep.c (arm_frameless_function_invocation): Fix typo.
3032 2003-04-06 Andrew Cagney <cagney@redhat.com>
3034 * frame.h (legacy_frame_chain_valid): Rename frame_chain_valid.
3036 * frame.c (legacy_saved_regs_this_id): Update.
3037 (legacy_get_prev_frame): Update.
3038 * xstormy16-tdep.c: Update comment.
3039 * sparc-tdep.c (sparc_frame_chain): Update comment.
3040 * blockframe.c (legacy_frame_chain_valid): Update.
3042 2003-04-06 Andrew Cagney <cagney@redhat.com>
3044 * valprint.c (val_print_type_code_int): Delete #ifdef
3045 PRINT_TYPELESS_INTEGER code.
3047 * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES)
3048 (CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial
3049 multi-arch definition.
3050 * gdbarch.h: Re-generate.
3052 2003-04-05 Andrew Cagney <cagney@redhat.com>
3054 Eliminate FRAME_FIND_SAVED_REGS.
3055 * config/pa/tm-hppah.h (hppa_hpux_frame_find_saved_regs_in_sigtramp):
3056 Change FSR parameter to a pointer.
3057 * config/pa/tm-hppa64.h (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP):
3058 Assume FSR parameter is a pointer.
3059 * hppa-hpux-tdep.c (hppa_hpux_frame_find_saved_regs_in_sigtramp):
3061 * hppa-tdep.c (hppa_frame_find_saved_regs): New function.
3062 (hppa_frame_saved_pc): Call hppa_frame_init_saved_regs. Make
3063 saved_regs a pointer.
3064 (hppa_frame_saved_pc): Ditto.
3065 (find_dummy_frame_regs): Make frame_saved_regs a pointer
3066 (hppa_pop_frame): Call hppa_frame_init_saved_regs. Make fsr a
3068 (restore_pc_queue): Make fsr a pointer.
3069 (hppa_frame_find_saved_regs): Make frame_saved_regs a pointer.
3070 (hppa_frame_chain): Make saved_regs a pointer, call
3071 hppa_frame_init_saved_regs.
3072 * sparc-tdep.c: Include "gdb_assert.h".
3073 (sparc_frame_find_saved_regs): Replace internal_error with
3075 * remote-vxsparc.c (vx_read_register): Delete reference to
3076 FRAME_FIND_SAVED_REGS.
3077 * gdbarch.sh: Delete check for FRAME_FIND_SAVED_REGS.
3078 * gdbarch.h: Regenerate.
3079 * frame.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro.
3080 (deprecated_get_frame_saved_regs): Delete declaration.
3081 (struct frame_saved_regs): Delete definition.
3082 * frame.c (deprecated_get_frame_saved_regs): Delete function.
3083 * config/pa/tm-hppa.h (hppa_frame_init_saved_regs): Declare.
3084 (hppa_frame_find_saved_regs): Delete declaration.
3085 (FRAME_FIND_SAVED_REGS): Delete macro.
3086 (DEPRECATED_FRAME_INIT_SAVED_REGS): Define.
3087 * config/i386/tm-ptx.h (FRAME_FIND_SAVED_REGS): Delete
3088 FRAME_FIND_SAVED_REGS in comment.
3090 2003-04-05 Andrew Cagney <cagney@redhat.com>
3092 * frame.c (frame_func_unwind, get_frame_func): New functions.
3093 * frame.h (get_frame_func, frame_func_unwind): Declare.
3094 (struct frame_info): Add field "prev_func" for caching the
3095 previous frame's function address.
3096 * arm-tdep.c (arm_frameless_function_invocation): Combine
3097 get_pc_function_start and get_frame_pc into get_frame_func.
3098 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
3099 (sh64_nofp_frame_init_saved_regs): Ditto.
3100 * s390-tdep.c (s390_function_start): Ditto.
3101 * rs6000-tdep.c (rs6000_pop_frame): Ditto.
3102 (rs6000_frameless_function_invocation): Ditto.
3103 (rs6000_frame_saved_pc): Ditto.
3104 * m68k-tdep.c (m68k_frame_init_saved_regs): Ditto.
3105 * ia64-tdep.c (ia64_frame_init_saved_regs): Ditto.
3106 * i386-tdep.c (i386_frameless_signal_p): Ditto.
3107 (i386_frame_init_saved_regs): Ditto.
3108 * hppa-tdep.c (hppa_frame_find_saved_regs): Ditto.
3109 * d10v-tdep.c (d10v_frame_unwind_cache): Combine
3110 get_pc_function_start and frame_pc_unwind into frame_func_unwind.
3111 * cris-tdep.c (cris_frame_init_saved_regs): Ditto.
3112 * blockframe.c (frameless_look_for_prologue): Ditto.
3114 2003-04-05 Andrew Cagney <cagney@redhat.com>
3116 * frame.c (legacy_get_prev_frame): Link prev to next at the
3117 function start. Update comments.
3119 2003-04-05 Andrew Cagney <cagney@redhat.com>
3121 * frame.c (get_frame_id): Update comment.
3122 (legacy_get_prev_frame): Update comment.
3123 * gdbarch.sh: Delete check for EXTRA_FRAME_INFO.
3124 * gdbarch.h: Regenerate.
3125 * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Delete.
3126 * frame.h: Delete #ifdef EXTRA_FRAME_INFO code.
3128 2003-04-05 Andrew Cagney <cagney@redhat.com>
3130 * stack.c (print_frame_info): Use get_frame_pc.
3132 2003-04-04 Andrew Cagney <cagney@redhat.com>
3134 * frame.c (get_prev_frame): Do not call frame_type_from_pc. Set
3135 the frame's type from the unwinder.
3136 (get_frame_type): Map UNKNOWN_FRAME onto NORMAL_FRAME.
3137 (create_new_frame, legacy_get_prev_frame): When the unwinder's
3138 type isn't UNKNOWN_FRAME, initalize "type" from the unwinder.
3139 (get_frame_base_address): Use get_frame_type.
3140 (get_frame_locals_address, get_frame_args_address): Ditto.
3141 (legacy_saved_regs_unwinder): Set the type to UNKNOWN_TYPE.
3142 * frame.h (enum frame_type): Add UNKNOWN_FRAME.
3143 (struct frame_info): Add comment explaining why the frame contains
3145 * dummy-frame.c (dummy_frame_unwind): Set the type to DUMMY_FRAME.
3146 * d10v-tdep.c (d10v_frame_unwind): Set the type to NORMAL_FRAME.
3147 * sentinel-frame.c (sentinel_frame_unwinder): Set the type to
3149 * frame-unwind.h: Include "frame.h".
3150 (struct frame_unwind): Add "type" field.
3151 * Makefile.in (frame_unwind_h): Add $(frame_h).
3153 2003-04-04 Andrew Cagney <cagney@redhat.com>
3155 * x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build.
3156 * dummy-frame.c (dummy_frame_this_id): Use frame_id_build.
3157 * d10v-tdep.c (d10v_frame_this_id): Use get_frame_pc and
3159 (d10v_unwind_dummy_id): Use frame_id_build.
3160 * frame.c (find_frame_sal): Use get_frame_pc.
3161 (create_new_frame): Use deprecated_update_frame_pc_hack and
3162 deprecated_update_frame_base_hack.
3163 (create_sentinel_frame): Add comment about ->pc going away.
3164 (get_prev_frame): Add comment about ->pc going away.
3165 (legacy_get_prev_frame): Use get_frame_base, get_frame_pc,
3166 frame_id_build, deprecated_update_frame_pc_hack and
3167 deprecated_update_frame_base_hack.
3168 (select_frame): Use get_frame_pc.
3169 (legacy_saved_regs_this_id): Use frame_id_build.
3171 2003-04-04 Elena Zannoni <ezannoni@redhat.com>
3173 * x86-64-tdep.c (x86_64_push_arguments): Handle correctly the
3174 signed integer case.
3175 (classify_argument): Handle enumerations and references.
3177 2003-04-04 Andrew Cagney <cagney@redhat.com>
3179 * frame.c (create_sentinel_frame): Initialize the sentinel frame's
3182 2003-04-01 Adam Fedor <fedor@gnu.org>
3184 * gdb/objc-lang.c (selectors_info): Replace calls to
3185 SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with
3186 SYMBOL_NATURAL_NAME.
3187 (classes_info, find_methods): Likewise.
3189 2003-04-03 Kevin Buettner <kevinb@redhat.com>
3191 * rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set
3192 ``mach'' to the value determined by bfd_default_set_arch_mach().
3194 2003-04-02 Bob Rossi <bob_rossi@cox.net>
3196 * Makefile.in (SUBDIR_MI_OBS): Add "mi-cmd-file.o".
3197 (SUBDIR_MI_SRCS): Add "mi-cmd-file.c".
3198 (mi-cmd-file.o): Update dependencies.
3200 2003-04-01 Kevin Buettner <kevinb@redhat.com>
3202 * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum)
3203 (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM.
3205 2003-04-01 Adam Fedor <fedor@gnu.org>
3207 * Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h).
3208 * language.h (struct language_defn): Add la_demangle.
3209 (language_demangle): Declare.
3210 * language.c (language_demangle): New function.
3211 (unk_lang_demangle): Likewise.
3212 (unknown_language_defn, auto_language_defn, local_language_defn):
3213 Add ukn_lang_demangle.
3214 * ada-lang.c (ada_language_defn): Add NULL for la_demangle element.
3215 * f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise.
3216 * c-lang.c (c_language_defn, asm_language_defn): Likewise.
3217 (cplus_language_defn): Add cplus_demangle for la_demangle element.
3218 * jv-lang.c (java_demangle): New function
3219 (java_language_defn): Use it for la_demangle element.
3220 * objc-lang.c (objc_demangle): Add options argument
3221 (objc_language_defn): Use objc_demangle for la_demangle element.
3222 * maint.c (maintenance_demangle): Replace switch with
3223 call to language_demangle.
3224 * utils.c (fprintf_symbol_filtered): Likewise.
3226 2003-04-01 Andrew Cagney <cagney@redhat.com>
3228 * printcmd.c (print_frame_nameless_args): Delete #ifdef
3229 NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and
3230 PRINT_TYPELESS_INTEGER.
3231 * config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename
3232 PUSH_RETURN_ADDRESS.
3234 2003-04-01 Andrew Cagney <cagney@redhat.com>
3236 * Makefile.in (d10v-tdep.o): Update dependencies.
3237 * d10v-tdep.c: Include "frame-base.h".
3238 (d10v_frame_unwind): Make constant.
3239 (d10v_frame_base_address): New function.
3240 (d10v_frame_base): New variable.
3241 (d10v_gdbarch_init): Set frame_base default.
3242 (struct d10v_unwind_cache): Add the field "prev_sp". Update
3244 (d10v_frame_unwind_cache): Set and use "prev_sp".
3245 (d10v_frame_this_id): Use the previous frame's inner most stack
3246 address and this frame's func address for the frame ID. Use
3247 frame_id_build. Don't analyze beyond the current instruction.
3249 2003-04-01 Andrew Cagney <cagney@redhat.com>
3251 * frame.h (get_frame_locals_address, get_frame_args_address):
3252 Refer to the base address, instead of the address of the first
3255 2003-04-01 Andrew Cagney <cagney@redhat.com>
3257 Add frame debug info addresses:
3258 * frame-base.c: New file.
3259 * frame-base.h: New file.
3260 * frame.h (struct frame_base): Add opaque declaration.
3261 (get_frame_base): Update comment.
3262 (get_frame_base_address): Declare.
3263 (get_frame_locals_address): Declare.
3264 (get_frame_args_address): Declare.
3265 (struct frame_info): Add "base" and "base_cache". Update
3266 comments on the unwinder.
3267 * frame.c: Include "frame-base.h".
3268 (get_frame_locals_address): New function.
3269 (get_frame_base_address): New function.
3270 (get_frame_args_address): New function.
3271 * findvar.c (read_var_value): Use get_frame_locals_address and
3272 get_frame_args_address.
3273 * stack.c (frame_info): Use get_frame_locals_address and
3274 get_frame_args_address.
3275 (FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro,
3276 moved to "frame-base.c".
3277 * printcmd.c (print_frame_nameless_args): Ditto.
3278 * symtab.h (address_class): Update comments.
3279 * dwarf2loc.c (dwarf_expr_frame_base): Add note about
3280 get_frame_base_address.
3281 * dwarf2expr.c (execute_stack_op): Ditto.
3282 * Makefile.in (frame_base_h): Define.
3283 (frame.o): Update dependencies.
3284 (frame-base.o): Add dependencies.
3285 (SFILES): Add frame-base.c.
3286 (COMMON_OBS): Add frame-base.o.
3288 2003-04-01 Andrew Cagney <cagney@redhat.com>
3290 * gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero.
3291 CALL_DUMMY_LENGTH): Ditto.
3292 * gdbarch.c: Re-generate.
3293 * inferior.h (CALL_DUMMY_START_OFFSET): Delete macro.
3294 (CALL_DUMMY_LENGTH): Delete macro.
3295 * alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero.
3296 * arm-tdep.c (arm_gdbarch_init): Ditto.
3297 * avr-tdep.c (avr_gdbarch_init): Ditto.
3298 * cris-tdep.c (cris_gdbarch_init): Ditto.
3299 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
3300 * frv-tdep.c (frv_gdbarch_init): Ditto.
3301 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
3302 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
3303 * i386-tdep.c (i386_gdbarch_init): Ditto.
3304 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
3305 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
3306 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
3307 * mips-tdep.c (mips_gdbarch_init): Ditto.
3308 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
3309 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
3310 * s390-tdep.c (s390_gdbarch_init): Ditto.
3311 * sh-tdep.c (sh_gdbarch_init): Ditto.
3312 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
3313 * v850-tdep.c (v850_gdbarch_init): Ditto.
3314 * vax-tdep.c (vax_gdbarch_init): Ditto.
3315 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
3317 2003-04-01 Corinna Vinschen <vinschen@redhat.com>
3319 * frame.c (get_prev_frame): Disable call to inside_entry_file().
3321 2003-04-01 Andrew Cagney <cagney@redhat.com>
3323 * gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero.
3324 (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
3325 * gdbarch.h, gdbarch.c: Re-generate.
3326 * config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
3327 (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
3328 * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
3329 * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
3330 (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
3331 * infcmd.c (run_stack_dummy): Simplify assuming
3332 CALL_DUMMY_BREAKPOINT_OFFSET_P.
3333 * infrun.c (handle_inferior_event): Ditto.
3334 * alpha-tdep.c (alpha_gdbarch_init): Do not set
3335 call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p.
3336 * arm-tdep.c (arm_gdbarch_init): Ditto.
3337 * avr-tdep.c (avr_gdbarch_init): Ditto.
3338 * cris-tdep.c (cris_gdbarch_init): Ditto.
3339 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
3340 * frv-tdep.c (frv_gdbarch_init): Ditto.
3341 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
3342 * i386-tdep.c (i386_gdbarch_init): Ditto.
3343 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
3344 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
3345 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
3346 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
3347 * mips-tdep.c (mips_gdbarch_init): Ditto.
3348 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
3349 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
3350 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
3351 * s390-tdep.c (s390_gdbarch_init): Ditto.
3352 * sh-tdep.c (sh_gdbarch_init): Ditto.
3353 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
3354 * v850-tdep.c (v850_gdbarch_init): Ditto.
3355 * vax-tdep.c (vax_gdbarch_init): Ditto.
3356 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
3358 2003-04-01 Daniel Jacobowitz <drow@mvista.com>
3360 * symfile.c (symfile_relocate_debug_section): Update call to
3361 bfd_simple_get_relocated_section_contents.
3363 2003-03-31 Andrew Cagney <cagney@redhat.com>
3365 * gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate.
3366 * gdbarch.h, gdbarch.c: Regenerate.
3367 * inferior.h (FIX_CALL_DUMMY): Delete macro.
3368 * valops.c (hand_function_call): Only call FIX_CALL_DUMMY when
3370 * frame.h (generic_fix_call_dummy): Delete declaration.
3371 * dummy-frame.h: Update comment.
3372 * dummy-frame.c (generic_fix_call_dummy): Delete function.
3373 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
3375 * sh-tdep.c (sh_gdbarch_init): Ditto.
3376 * s390-tdep.c (s390_gdbarch_init): Ditto.
3377 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
3378 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
3379 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
3380 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
3381 * i386-tdep.c (i386_gdbarch_init): Ditto.
3382 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
3383 * frv-tdep.c (frv_gdbarch_init): Ditto.
3384 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
3385 * cris-tdep.c (cris_gdbarch_init): Ditto.
3386 * avr-tdep.c (avr_gdbarch_init): Ditto.
3387 * arm-tdep.c (arm_gdbarch_init): Ditto.
3389 2003-03-31 J. Brobecker <brobecker@gnat.com>
3391 * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful.
3392 (INIT_FRAME_AP): Likewise.
3393 (EXTRA_FRAME_INFO): Likewise.
3395 2003-03-31 Andrew Cagney <cagney@redhat.com>
3397 * gdbarch.sh: Include "symfile.h".
3398 (CALL_DUMMY_ADDRESS): Default to entry_point_address.
3399 * gdbarch.h, gdbarch.c: Re-generate.
3400 * inferior.h (CALL_DUMMY_ADDRESS): Delete macro.
3401 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
3402 call_dummy_address, the default is at entry_point_address.
3403 * v850-tdep.c (v850_gdbarch_init): Ditto.
3404 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
3405 * sh-tdep.c (sh_gdbarch_init): Ditto.
3406 * s390-tdep.c (s390_gdbarch_init): Ditto.
3407 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
3408 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
3409 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
3410 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
3411 * i386-tdep.c (i386_gdbarch_init): Ditto.
3412 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
3413 * frv-tdep.c (frv_gdbarch_init): Ditto.
3414 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
3415 * cris-tdep.c (cris_gdbarch_init): Ditto.
3416 * arm-tdep.c (arm_gdbarch_init): Ditto.
3418 2003-03-31 Andrew Cagney <cagney@redhat.com>
3420 * gdbarch.sh (CALL_DUMMY_P): Delete.
3421 * gdbarch.h, gdbarch.c: Re-generate.
3422 * inferior.h (CALL_DUMMY_P): Delete macro.
3423 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
3424 * vax-tdep.c (vax_gdbarch_init): Update.
3425 * v850-tdep.c (v850_gdbarch_init): Update.
3426 * sparc-tdep.c (sparc_gdbarch_init): Update.
3427 * sh-tdep.c (sh_gdbarch_init): Update.
3428 * s390-tdep.c (s390_gdbarch_init): Update.
3429 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
3430 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
3431 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
3432 * mips-tdep.c (mips_gdbarch_init): Update.
3433 * mcore-tdep.c (mcore_gdbarch_init): Update.
3434 * m68k-tdep.c (m68k_gdbarch_init): Update.
3435 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
3436 * ia64-tdep.c (ia64_gdbarch_init): Update.
3437 * i386-tdep.c (i386_gdbarch_init): Update.
3438 * h8300-tdep.c (h8300_gdbarch_init): Update.
3439 * frv-tdep.c (frv_gdbarch_init): Update.
3440 * d10v-tdep.c (d10v_gdbarch_init): Update.
3441 * cris-tdep.c (cris_gdbarch_init): Update.
3442 * breakpoint.c (deprecated_frame_in_dummy): Update.
3443 * avr-tdep.c (avr_gdbarch_init): Update.
3444 * alpha-tdep.c (alpha_gdbarch_init): Update.
3445 * arm-tdep.c (arm_gdbarch_init): Update.
3446 * dummy-frame.c (dummy_frame_this_id): Update comments.
3447 * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto.
3448 * frame.c (legacy_get_prev_frame): Ditto.
3449 * valops.c (call_function_by_hand): Delete function.
3450 (hand_function_call): Rename to call_function_by_hand
3452 2003-03-30 Andrew Cagney <cagney@redhat.com>
3454 2002-11-10 Klee Dienes <kdienes@apple.com>
3455 * value.h (struct value): Update comment.
3457 2003-03-30 Andrew Cagney <cagney@redhat.com>
3459 * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with
3461 (d10v_gdbarch_init): Do not set fp_regnum.
3463 * frame.c (get_frame_base): Force ID initialization.
3464 (get_prev_frame): Move computation of the frame ID from here ...
3465 (get_frame_id): ... to here.
3466 (legacy_get_prev_frame): Mark the frame ID as valid.
3467 * frame.h (struct frame_info): Add field "id_p".
3469 2003-03-30 Mark Kettenis <kettenis@gnu.org>
3471 * i386-tdep.c (i386_store_struct_return): Removed.
3472 (i386_gdbarch_init): Don't set deprecated_store_struct_return.
3474 2003-03-30 Andrew Cagney <cagney@redhat.com>
3476 * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP.
3477 * gdbarch.h, gdbarch.c: Regenerate.
3478 * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp.
3479 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
3480 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
3481 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
3482 * i386-tdep.c (i386_gdbarch_init): Ditto.
3483 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
3484 * cris-tdep.c (cris_gdbarch_init): Ditto.
3485 * vax-tdep.c (vax_gdbarch_init): Ditto.
3486 * s390-tdep.c (s390_gdbarch_init): Ditto.
3487 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
3488 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
3489 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
3490 * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update.
3491 * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update.
3492 * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define.
3493 * sparc-tdep.c (sparc_gdbarch_init): Update.
3494 * sh-tdep.c (sh_gdbarch_init): Update.
3495 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
3496 * mips-tdep.c (mips_gdbarch_init): Update.
3497 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
3498 * ia64-tdep.c (ia64_gdbarch_init): Update.
3499 * frv-tdep.c (frv_gdbarch_init): Update.
3500 * avr-tdep.c (avr_gdbarch_init): Update.
3501 * valops.c (hand_function_call): Replace TARGET_WRITE_SP with
3502 DEPRECATED_DUMMY_WRITE_SP. Call when the method is available,
3503 instead of when push_dummy_call is not available.
3505 2003-03-30 Andrew Cagney <cagney@redhat.com>
3507 * infttrace.c: Include "gdbthread.h".
3508 (parent_attach_all): Fix function signature.
3509 (call_ptrace): Update call.
3510 * Makefile.in (infttrace.o): Update dependencies.
3512 2003-03-30 Andrew Cagney <cagney@redhat.com>
3514 * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace
3515 PUSH_RETURN_ADDRESS.
3516 * gdbarch.h, gdbarch.c: Regenerate.
3517 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
3518 * x86-64-tdep.c (x86_64_init_abi): Update.
3519 * v850-tdep.c (v850_gdbarch_init): Update.
3520 * sparc-tdep.c (sparc_gdbarch_init): Update.
3521 * sh-tdep.c (sh_gdbarch_init): Update.
3522 * s390-tdep.c (s390_gdbarch_init): Update.
3523 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
3524 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
3525 * mips-tdep.c (mips_gdbarch_init): Update.
3526 * mcore-tdep.c (mcore_gdbarch_init): Update.
3527 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
3528 * ia64-tdep.c (ia64_gdbarch_init): Update.
3529 * i386-tdep.c (i386_gdbarch_init): Update.
3530 * h8300-tdep.c (h8300_gdbarch_init): Update.
3531 * frv-tdep.c (frv_gdbarch_init): Update.
3532 * cris-tdep.c (cris_gdbarch_init): Update.
3533 * avr-tdep.c (avr_gdbarch_init): Update.
3534 * arm-tdep.c (arm_gdbarch_init): Update.
3535 * valops.c (hand_function_call): Update.
3537 2003-03-29 Andrew Cagney <cagney@redhat.com>
3539 * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or
3540 sizeof_call_dummy_words.
3541 * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always
3543 * gdbarch.h: Regenerate.
3545 2003-03-29 Andrew Cagney <cagney@redhat.com>
3547 * infttrace.h: New file.
3548 * hpread.c: Include "gdb_assert.h" and "somsolib.h".
3549 (hpread_get_textlow): Detect an uninitialized dn_bufp.
3550 (hpread_read_doc_function_type): Detect an initialized type1.
3551 (hpread_quick_traverse): Initialize mod_name_string.
3552 * somsolib.h: Add #ifdef SOMSOLIB_H wrapper.
3553 (som_solib_get_solib_by_pc): Declare.
3554 (so_lib_thread_start_addr): Declare.
3555 (no_shared_libraries): Declare.
3556 * somread.c (init_import_symbols): Make static. Add forward
3558 * config/pa/nm-hppah.h: Include "infttrace.h" for
3560 (hppa_insert_hw_watchpoint): Declare.
3561 (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare.
3562 * hppah-nat.c: Include "gdb_string.h".
3563 (parent_attach_all): Delete extern declaration, moved to
3565 (hppa_can_use_hw_watchpoint): Change type of "type" parameter to
3567 (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto.
3568 * Makefile.in (infttrace_h): Define.
3569 (hpread.o): Update dependencies.
3570 (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto.
3571 * hppa-hpux-tdep.c: Include "gdb_string.h".
3572 * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc".
3573 * infrun.c (handle_inferior_event): Always initialize
3574 stepped_after_stopped_by_watchpoint. Add default and remove
3575 fallthrough in switch statement.
3576 * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type"
3578 (hppa_remove_hw_watchpoint): Ditto.
3580 2003-03-29 Andrew Cagney <cagney@redhat.com>
3582 * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint
3585 2003-03-29 Richard Earnshaw <rearnsha@arm.com>
3587 * arm-tdep.c (arm_push_arguments): Delete.
3588 (struct stack_item): New type.
3589 (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions.
3590 (arm_store_struct_return): Delte.
3591 (arm_gdbarch_init): Register arm_push_dummy_call. Don't register
3592 arm_push_arguments or arm_store_struct_return.
3594 2003-03-28 Andrew Cagney <cagney@redhat.com>
3596 * Makefile.in (d10v-tdep.o): Update dependencies.
3597 * remote.h (target_resume_hook, target_wait_loop_hook): Declare.
3598 * d10v-tdep.c: Include "remote.h".
3599 (target_resume_hook): Delete extern declaration.
3600 (target_wait_loop_hook): Ditto.
3601 (tdisassemble_command): Eliminate assignment in "if" conditional.
3602 (d10v_ts2_register_sim_regno): Eliminate call to
3603 legacy_register_sim_regno.
3604 (d10v_ts3_register_sim_regno): Ditto.
3606 2003-03-28 Jeff Johnston <jjohnstn@redhat.com>
3608 * thread.c: Reindented.
3610 * linux-proc.c: Ditto.
3612 2003-03-28 Bob Rossi <bob_rossi@cox.net>
3614 * MAINTAINERS (write after approval): Add myself.
3616 2003-03-27 Theodore A. Roth <troth@openavr.org>
3618 * objc-exp.y: Add missing semi-colons.
3620 2003-03-27 Andrew Cagney <cagney@redhat.com>
3622 * regcache.c (write_sp): Delete function and references.
3623 * inferior.h (write_sp): Delete declaration.
3624 * valops.c (hand_function_call): Replace write_sp with
3626 * sparc-tdep.c (sparc_push_dummy_frame): Ditto.
3627 (sparc_pop_frame): Ditto.
3629 2003-03-27 Andrew Cagney <cagney@redhat.com>
3631 * NEWS: Mention removal of support for hppa*-*-bsd* and
3632 hppa*-*-osf* natives, and hppa*-*-pro* target.
3633 * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h".
3634 * config/pa/xm-pa.h: Obsolete file.
3635 * config/pa/xm-hppab.h: Obsolete file.
3636 * config/pa/nm-hppab.h: Obsolete file.
3637 * config/pa/tm-hppab.h: Obsolete file.
3638 * config/pa/tm-hppao.h: Obsolete file.
3639 * config/pa/nm-hppao.h: Obsolete file.
3640 * config/pa/tm-pro.h: Obsolete file.
3641 * config/pa/hppaosf.mt: Obsolete file.
3642 * config/pa/hppaosf.mh: Obsolete file.
3643 * config/pa/hppapro.mt: Obsolete file.
3644 * config/pa/hppabsd.mt: Obsolete file.
3645 * config/pa/hppabsd.mh: Obsolete file.
3646 * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*.
3647 * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and
3650 2003-03-27 Andrew Cagney <cagney@redhat.com>
3652 * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of
3653 push_arguments. Don't set push_return_address or write_sp.
3654 (d10v_push_dummy_call): Replace d10v_push_arguments.
3655 (d10v_push_return_address, d10v_write_sp): Delete function,
3656 handled by push_dummy_call.
3658 2003-03-26 Andrew Cagney <cagney@redhat.com>
3660 * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS.
3661 (push_dummy_call): New pure multi-arch replacement with gdbarch,
3662 regcache and dummy_addr parameters.
3663 * gdbarch.h, gdbarch.c: Re-generate.
3664 * valops.c (hand_function_call): Use gdbarch_push_dummy_call when
3665 available; assume it will handle stack alignment and return
3666 address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and
3667 legacy_push_arguments.
3668 (legacy_push_arguments): Rename default_push_arguments.
3669 * value.h (legacy_push_arguments): Rename default_push_arguments.
3670 * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments.
3671 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update.
3672 * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update.
3673 * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update.
3674 * config/i386/tm-symmetry.h: Update.
3675 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
3676 * x86-64-tdep.c (x86_64_init_abi): Update.
3677 * v850-tdep.c (v850_gdbarch_init): Update.
3678 * sparc-tdep.c (sparc_gdbarch_init): Update.
3679 * sh-tdep.c (sh_gdbarch_init): Update.
3680 * s390-tdep.c (s390_gdbarch_init): Update.
3681 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
3682 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
3683 * mips-tdep.c (mips_gdbarch_init): Update.
3684 * mcore-tdep.c (mcore_gdbarch_init): Update.
3685 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
3686 * ia64-tdep.c (ia64_gdbarch_init): Update.
3687 * i386-tdep.c (i386_gdbarch_init): Update.
3688 * hppa-tdep.c (hppa_gdbarch_init): Update.
3689 * h8300-tdep.c (h8300_gdbarch_init): Update.
3690 * frv-tdep.c (frv_gdbarch_init): Update.
3691 * d10v-tdep.c (d10v_gdbarch_init): Update.
3692 * cris-tdep.c (cris_gdbarch_init): Update.
3693 * avr-tdep.c (avr_gdbarch_init): Update.
3694 * arm-tdep.c (arm_gdbarch_init): Update.
3695 * arm-linux-tdep.c (arm_linux_init_abi): Update.
3696 * alpha-tdep.c (alpha_gdbarch_init): Update.
3698 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
3700 * signals/signals.c (do_target_signal_to_host): Correct realtime
3703 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
3705 * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals)
3706 (struct sal_chain, map_catch_names): Remove.
3707 (catch_exception_command_1): Don't call
3708 handle_gnu_4_16_catch_command.
3710 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
3712 From Mark Dettinger <dettinge@de.ibm.com>:
3713 * dwarf2cfi.c (read_2u): Increment pointer by two.
3715 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
3717 * signals/signals.c: Fix typos in last change.
3719 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
3721 * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if
3722 not already defined. Use __SIGRTMIN if available.
3723 (target_signal_from_host): Remove SIGRTMIN block.
3724 (do_target_signal_to_host): Remove SIGRTMIN block; check that
3725 the signal is within the realtime range.
3727 2003-03-25 Adam Fedor <fedor@gnu.org>
3729 * Makefile.in (infrun.o): Add $(language_h)
3730 * infrun.c (handle_inferior_event): Use skip_language_trampoline
3731 for language specific trampolines.
3732 * language.h (struct language_defn): Add skip_trampoline.
3733 (skip_language_trampoline): Declare.
3734 * language.c (unk_lang_trampoline, skip_language_trampoline):
3736 (unknown_language_defn, auto_language_defn, local_language_defn):
3737 Add ukn_lang_trampoline.
3738 * ada-lang.c (ada_language_defn): Add NULL for language
3739 specific skip_trampoline.
3740 * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c,
3741 scm-lang.c: Likewise.
3742 * objc-lang.c (objc_skip_trampoline): New function.
3743 (objc_language_defn): Add objc_skip_trampoline.
3745 2003-03-25 Andrew Cagney <cagney@redhat.com>
3747 * frame.c (get_prev_frame): Delay validating a frame's ID -
3748 non-NULL, didn't go backwards - until an attempt to unwind it to
3751 2003-03-25 Andrew Cagney <cagney@redhat.com>
3753 * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace
3754 EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1.
3755 * gdbarch.h, gdbarch.c: Re-generate.
3756 * config/sparc/tm-sparc.h
3757 (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define.
3758 * sparc-tdep.c (sparc_gdbarch_init): Set
3759 deprecated_extra_stack_alignment_needed.
3760 * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
3761 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear
3762 extra_stack_alignment_needed.
3763 * v850-tdep.c (v850_gdbarch_init): Ditto.
3764 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
3765 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
3766 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
3767 * cris-tdep.c (cris_gdbarch_init): Ditto.
3768 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
3769 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
3771 2003-03-25 Andrew Cagney <cagney@redhat.com>
3773 * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace
3774 STORE_STRUCT_RETURN.
3775 * gdbarch.h, gdbarch.c: Regenerate.
3776 * d10v-tdep.c (d10v_store_struct_return): Delete function.
3777 (d10v_push_arguments): Set the struct return register.
3778 (d10v_gdbarch_init): Update.
3779 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
3780 * x86-64-tdep.c (x86_64_init_abi): Update.
3781 * vax-tdep.c (vax_gdbarch_init): Update.
3782 * v850-tdep.c (v850_gdbarch_init): Update.
3783 * sparc-tdep.c (sparc_gdbarch_init): Update.
3784 * sh-tdep.c (sh_gdbarch_init): Update.
3785 * s390-tdep.c (s390_gdbarch_init): Update.
3786 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
3787 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
3788 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
3789 * mips-tdep.c (mips_gdbarch_init): Update.
3790 * mcore-tdep.c (mcore_gdbarch_init): Update.
3791 * m68k-tdep.c (m68k_gdbarch_init): Update.
3792 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
3793 * ia64-tdep.c (ia64_gdbarch_init): Update.
3794 * i386-tdep.c (i386_gdbarch_init): Update.
3795 * hppa-tdep.c (hppa_gdbarch_init): Update.
3796 * h8300-tdep.c (h8300_gdbarch_init): Update.
3797 * frv-tdep.c (frv_gdbarch_init): Update.
3798 * cris-tdep.c (cris_gdbarch_init): Update.
3799 * avr-tdep.c (avr_gdbarch_init): Update.
3800 * arm-tdep.c (arm_gdbarch_init): Update.
3801 * alpha-tdep.c (alpha_gdbarch_init): Update.
3803 2003-03-25 Andrew Cagney <cagney@redhat.com>
3805 * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete.
3806 (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace
3807 CALL_DUMMY_STACK_ADJUST with a predicate variable.
3808 * gdbarch.h, gdbarch.c: Regenerate.
3809 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
3810 call_dummy_stack_adjust_p.
3811 * vax-tdep.c (vax_gdbarch_init): Ditto.
3812 * v850-tdep.c (v850_gdbarch_init): Ditto.
3813 * sh-tdep.c (sh_gdbarch_init): Ditto.
3814 * s390-tdep.c (s390_gdbarch_init): Ditto.
3815 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
3816 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
3817 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
3818 * mips-tdep.c (mips_gdbarch_init): Ditto.
3819 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
3820 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
3821 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
3822 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
3823 * i386-tdep.c (i386_gdbarch_init): Ditto.
3824 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
3825 * frv-tdep.c (frv_gdbarch_init): Ditto.
3826 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
3827 * cris-tdep.c (cris_gdbarch_init): Ditto.
3828 * avr-tdep.c (avr_gdbarch_init): Ditto.
3829 * arm-tdep.c (arm_gdbarch_init): Ditto.
3830 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
3831 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
3832 * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update.
3833 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
3834 * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set
3835 call_dummy_stack_adjust_p.
3836 * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro.
3837 (CALL_DUMMY_STACK_ADJUST): Delete macro.
3838 * sparc-tdep.c (sparc32_push_arguments): Update.
3839 * valops.c (hand_function_call): Update.
3841 2003-03-25 Corinna Vinschen <vinschen@redhat.com>
3843 * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to
3844 set_gdbarch_char_signed.
3846 2003-03-25 Richard Earnshaw <rearnsha@arm.com>
3849 * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler".
3851 2003-03-25 Richard Earnshaw <rearnsha@arm.com>
3853 * arm-tdep.c (arm_gdbarch_init): Register the disassembler function.
3854 (_initialize_arm_tdep): Don't set tm_print_insn.
3856 2003-03-24 Adam Fedor <fedor@gnu.org>
3858 * Makefile.in (YYOBJ): Add objc-exp.tab.o
3859 * objc-lang.h: Add multiple inclusion protection.
3860 (start_msglist, add_msglist, end_msglist): Additional declarations.
3862 2003-03-24 Richard Earnshaw <rearnsha@arm.com>
3864 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum
3865 value was renamed to ARM_FLOAT_SOFT_FPA.
3867 2003-03-23 Andrew Cagney <cagney@redhat.com>
3869 * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN.
3870 (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID.
3871 * gdbarch.h, gdbarch.c: Regenerate.
3872 * valops.c (hand_function_call): Update.
3873 * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
3874 * frame.c (legacy_saved_regs_this_id): Update.
3875 (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update.
3876 * dummy-frame.h: Update.
3877 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update.
3878 * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
3879 * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update.
3880 * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update.
3881 * config/m68k/tm-sun3.h: Update.
3882 * blockframe.c (inside_main_func, frame_chain_valid): Update.
3883 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
3884 * x86-64-tdep.c (x86_64_init_abi): Update.
3885 * vax-tdep.c (vax_gdbarch_init): Update.
3886 * v850-tdep.c (v850_gdbarch_init): Update.
3887 * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update.
3888 * sh-tdep.c (sh_gdbarch_init): Update.
3889 * s390-tdep.c (s390_gdbarch_init): Update.
3890 * rs6000-tdep.c (rs6000_frame_saved_pc): Update.
3891 (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update.
3892 (frame_get_saved_regs): Update.
3893 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
3894 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
3895 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
3896 * mips-tdep.c (mips_gdbarch_init): Update.
3897 * mcore-tdep.c (mcore_gdbarch_init): Update.
3898 * m68k-tdep.c (m68k_gdbarch_init): Update.
3899 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
3900 * ia64-tdep.c (ia64_gdbarch_init): Update.
3901 * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update.
3902 * i386-interix-tdep.c (i386_interix_init_abi): Update.
3903 (i386_interix_back_one_frame): Update.
3904 * hppa-tdep.c (hppa_gdbarch_init): Update.
3905 (hppa_init_extra_frame_info): Update.
3906 * h8300-tdep.c (h8300_gdbarch_init): Update.
3907 * frv-tdep.c (frv_gdbarch_init): Update.
3908 * cris-tdep.c (cris_gdbarch_init): Update.
3909 * avr-tdep.c (avr_gdbarch_init): Update.
3910 * arm-tdep.c (arm_gdbarch_init): Update.
3911 * alpha-tdep.c (alpha_gdbarch_init): Update.
3913 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
3915 * arm-tdep.h (arm_float_model): Add AUTO and LAST values.
3916 (arm_get_fp_model): Declare.
3917 * arm-tdep.c (fp_model_strings): New string array.
3918 (arm_fp_model, current_fp_model): New variables.
3919 (arm_get_fp_model): New function.
3920 (arm_set_fp): New function.
3921 (set_fp_model_sfunc): New function.
3922 (show_fp_model): New function.
3923 (_initialize_arm_tdep): Add new command to set/show the FPU.
3924 (arm_extract_return_value): Use arm_get_fp_model.
3925 (arm_store_return_value): Likewise.
3926 (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp
3927 to initialize the floating-point data types.
3928 * arm-linux-tdep.c (arm_linux_init_abi): The default floating point
3931 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
3933 * arm-tdep.c (show_arm_command): Don't print out help. Instead, show
3934 the current setting of each value.
3935 (_initialize_arm_tdep): Delete variable new_cmd and add new vars
3936 new_set and new_show. Use add_setshow_cmd_full and
3937 add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32"
3938 commands and add new version as subcommands of "set/show arm".
3940 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
3942 * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists.
3943 (set_arm_command, show_arm_command): New functions.
3944 (_initialize_arm_tdep): Add them.
3945 (num_disassembly_options): Renamed from num_flavor_options.
3946 (valid_disassembly_styles): Renamed from valid_flavors.
3947 (disassembly_style): Renamed from disassembly_flavor.
3948 (set_disassembly_style_sfunc): Renamed from
3949 set_disassembly_flavor_sfunc.
3950 (set_disassembly_style): Renamed from set_disassembly_flavor.
3951 (arm_othernames): Updated.
3952 (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor"
3953 command. Add "set/show arm disassembly" commands. Deprecate
3954 "othernames" command.
3956 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
3958 * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define.
3959 (arm-tdep.o): Depend on elf_arm_h.
3961 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
3963 * Makefile.in (coff_internal_h): Define.
3964 (arm-tdep.o): Update dependencies.
3966 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
3968 * arm-tdep.c (prologue_cache): Delete.
3969 (check_prologue_cache, save_prologue_cache): Delete.
3970 (arm_scan_prologue): Don't check or update the prologue_cache.
3971 (arm_gdb_arch_init): Don't initialize it.
3972 (_initialize_arm_tdep): Likewise.
3974 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
3976 * MAINTAINERS (tui): Maintainer of tui code.
3978 2003-03-21 Corinna Vinschen <vinschen@redhat.com>
3980 * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c.
3981 (i386-cygwin-tdep.o): Add dependencies.
3982 * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN.
3983 * i386-cygwin-tdep.c: New file.
3984 * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN.
3985 * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o.
3987 2003-03-20 Andrew Cagney <cagney@redhat.com>
3989 * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro.
3990 (handle_inferior_event): Remove code calling
3991 DYNAMIC_TRAMPOLINE_NEXTPC.
3993 * Makefile.in (init.c): Don't add $(srcdir) prefix when a file
3994 already has a full path.
3996 * main.c (gdb_main): Return 1.
3997 (captured_main): Call error to report an invalid interpreter.
3999 * Makefile.in (alpha-osf1-tdep.o): Update dependencies.
4000 * alpha-osf1-tdep.c: Include "gdb_string.h".
4002 2003-03-19 J. Brobecker <brobecker@gnat.com>
4004 Continuing work to convert the hppa targets to multiarch partial.
4006 * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch
4007 method, now that hppa_push_dummy_frame has a conformant prototype.
4008 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro
4009 inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation
4010 for the switch to multiarch partial.
4012 2003-03-19 Kevin Buettner <kevinb@redhat.com>
4014 * mdebugread.c (parse_symbol): For stEnd, we're done counting
4015 when iss is issNull.
4017 2003-03-18 Kevin Buettner <kevinb@redhat.com>
4019 * mips-tdep.c (mips_register_name): Fix fencepost error involving
4020 NUM_REGS bounds check.
4022 2003-03-18 Kevin Buettner <kevinb@redhat.com>
4024 * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h).
4025 * mips-tdep.c (gdb_assert.h): Include.
4026 (mips_generic_reg_names, mips_processor_reg_names): Make static.
4027 (mips_register_name): Handle integer registers explicitly. Add
4029 (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names)
4030 (mips_lsi33k_reg_names): Don't list integer registers; they're
4031 handled by mips_register_name() now.
4032 * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise.
4033 * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise.
4034 * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise.
4035 * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise.
4036 * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise.
4038 2003-03-18 Andrew Cagney <cagney@redhat.com>
4040 * printcmd.c (print_scalar_formatted): Change VALADDR parameter to
4042 * gdbtypes.h (print_scalar_formatted): Update declaration.
4043 * expression.h (enum exp_opcode): Remove non-ISO C trailing comma.
4045 2003-03-18 J. Brobecker <brobecker@gnat.com>
4047 * infrun.c (observer.h): Add #include.
4048 (normal_stop): Add call to observer_notify_normal_stop.
4049 * Makefile.in (infrun.o): Add dependency on observer.h.
4051 2003-03-18 J. Brobecker <brobecker@gnat.com>
4053 Continuing work to convert the hppa targets to multiarch partial.
4054 * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function
4055 parameter. Reformat comment.
4056 * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile.
4057 (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame()
4058 to match new profile.
4060 2003-03-18 J. Brobecker <brobecker@gnat.com>
4062 * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not
4063 appear to be working in any case.
4065 2003-03-18 J. Brobecker <brobecker@gnat.com>
4067 * observer.c (observer_test_first_observer): New static variable.
4068 (observer_test_second_observer): Likewise.
4069 (observer_test_third_observer): Likewise.
4070 (observer_test_first_notification_function): New static function.
4071 (observer_test_second_notification_function): Likewise.
4072 (observer_test_third_notification_function): Likewise.
4074 2003-03-17 J. Brobecker <brobecker@gnat.com>
4076 * hppa-tdep.c (gdb_assert.h): Add missing #include.
4077 * somsolib.c (gdb_assert.h): Likewise.
4078 * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h.
4079 (somsolib.o): Likewise.
4081 2003-03-17 Andrew Cagney <cagney@redhat.com>
4083 * disasm.c (gdb_disassembly): Set di.mach using the architecture's
4084 BFD. Simplify setting of di.endian.
4086 2003-03-17 Andrew Cagney <cagney@redhat.com>
4088 * rs6000-tdep.c (ppc_floating_point_unit_p): New function.
4089 * ppc-tdep.h (ppc_floating_point_unit_p): Declare.
4091 From Elena Zannoni <ezannoni@redhat.com>
4092 * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500
4093 vector and floating-point parameters.
4094 (ppc_sysv_abi_use_struct_convention): Handle e500 struct return
4096 (ppc_sysv_abi_broken_use_struct_convention): Ditto.
4098 2003-03-17 Fernando Nasser <fnasser@redhat.com>
4100 * MAINTAINERS: Remove my name from several maintainership roles.
4102 2003-03-17 Andrew Cagney <cagney@redhat.com>
4104 Fix frame off-by-one bug.
4105 * frame-unwind.h (frame_this_id_ftype): Replace
4106 frame_unwind_id_ftype.
4107 (frame_prev_register_ftype): Replace frame_unwind_reg_ftype.
4108 (struct frame_unwind): Replace "id" with "this_id". Replace "reg"
4109 with "prev_register".
4110 * frame-unwind.c (frame_unwind_find_by_pc): Return
4111 legacy_saved_regs_unwind instead of trad_frame_unwind. Update
4113 * dummy-frame.c (cached_find_dummy_frame): Delete function.
4114 (dummy_frame_this_id): Replace dummy_frame_id_unwind.
4115 (dummy_frame_prev_register): Replace dummy_frame_register_unwind.
4116 (dummy_frame_unwind): Update.
4117 * sentinel-frame.c (sentinel_frame_prev_register): Replace
4118 sentinel_frame_register_unwind.
4119 (sentinel_frame_this_id): Replace sentinel_frame_id_unwind.
4120 (sentinel_frame_unwinder): Update.
4121 * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind.
4122 (struct frame_info): Rename "unwind_cache" to "prologue_cache".
4123 * frame.c (create_sentinel_frame): Update. Initialize
4124 "prologue_cache" instead of "unwind_cache".
4125 (frame_register_unwind): Call this frame's prev_register with the
4126 next frame and this frame's prologue cache.
4127 (get_prev_frame): Simplify. Always call prev frame's this_id with
4128 this frame and prev frame's prologue cache. Document that this
4129 call is shifted one to the left when compared to the
4130 frame_register_unwind call.
4131 (legacy_saved_regs_prev_register): Replace
4132 frame_saved_regs_register_unwind.
4133 (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind.
4134 (legacy_saved_regs_unwinder): Replace trad_frame_unwinder.
4135 (legacy_saved_regs_unwind): Replace trad_frame_unwind.
4136 * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind.
4137 (d10v_frame_unwind): Update.
4138 (d10v_frame_prev_register): Replace d10v_frame_register_unwind.
4139 (d10v_frame_unwind_cache): Replace this "fi" with "next_frame".
4140 (saved_regs_unwinder): Replace this "frame" with "next_frame", and
4141 "saved_regs" with "this_saved_regs".
4143 2003-03-16 Andrew Cagney <cagney@redhat.com>
4145 * frame.c (frame_pop): Don't call target_store_registers. Fix
4146 problem reported by Mark Kettenis.
4148 2003-03-16 Mark Kettenis <kettenis@gnu.org>
4150 * i386-tdep.c (i386_register_type): Renamed from
4151 i386_register_virtual_type. Adjust function signature.
4152 (i386_gdbarch_init): Set register_type instead of
4153 deprecated_max_register_raw_size,
4154 deprecated_max_register_virtual_size and register_virtual_type.
4156 2003-03-14 Andrew Cagney <cagney@redhat.com>
4158 * frame.c (get_prev_frame): When a legacy frame, always call
4159 legacy_get_prev_frame. Simplify unwind code using assumption that
4160 the unwinder is new.
4161 (legacy_get_prev_frame): Handle legacy sentinel frame unwind here.
4162 (legacy_frame_p): When no gdbarch_unwind_dummy_id, or
4163 SAVED_DUMMY_FRAME_TOS, assume a legacy frame.
4165 2003-03-14 Andrew Cagney <cagney@redhat.com>
4167 * frame.c (get_saved_register): Delete function.
4168 * frame.h (get_saved_register): Delete declaration.
4169 * xstormy16-tdep.c: Update comment.
4170 * regcache.h: Update comments.
4171 * sparc-tdep.c (sparc_init_extra_frame_info): Instead of
4172 get_saved_register and extract_address, use
4173 frame_read_unsigned_register.
4174 (sparc_frame_saved_pc): Ditto.
4175 (sparc_get_saved_register): Instead of get_saved_register, use
4177 (sparc_pop_frame): Ditto.
4178 * findvar.c: Update comments.
4179 (value_of_register): Call frame_register instead of
4181 (value_from_register): Ditto.
4182 * config/sparc/tm-sparc.h: Update comment.
4183 * breakpoint.c: Update comment.
4185 2003-03-14 Andrew Cagney <cagney@redhat.com>
4187 * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace
4189 * gdbarch.h, gdbarch.c: Re-generate.
4190 * frame.h: Update comments.
4191 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
4192 * x86-64-tdep.c (x86_64_init_abi): Update.
4193 * sparc-tdep.c (sparc_gdbarch_init): Update.
4194 * sh-tdep.c (sh_gdbarch_init): Update.
4195 * mips-tdep.c (mips_gdbarch_init): Update.
4196 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
4197 * cris-tdep.c (cris_gdbarch_init): Update.
4198 * ia64-tdep.c (ia64_gdbarch_init): Update.
4199 * frame.c (frame_register): Update.
4200 (get_saved_register): Update.
4201 * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update.
4203 2003-03-13 Andrew Cagney <cagney@redhat.com>
4205 * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME.
4206 * gdbarch.h, gdbarch.c: Regenerate.
4207 * valops.c (hand_function_call): Update comment.
4208 * stack.c (return_command): Update comment.
4209 * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update.
4210 * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update.
4211 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
4212 * x86-64-tdep.c (x86_64_init_abi): Update.
4213 * vax-tdep.c (vax_gdbarch_init): Update.
4214 * v850-tdep.c (v850_gdbarch_init): Update.
4215 * sparc-tdep.c (sparc_gdbarch_init): Update.
4216 * sh-tdep.c (sh_gdbarch_init): Update.
4217 * s390-tdep.c (s390_gdbarch_init): Update.
4218 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
4219 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
4220 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
4221 * mips-tdep.c (mips_gdbarch_init): Update.
4222 * mcore-tdep.c (mcore_gdbarch_init): Update.
4223 * m68k-tdep.c (m68k_gdbarch_init): Update.
4224 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
4225 * ia64-tdep.c (ia64_gdbarch_init): Update.
4226 * i386-tdep.c (i386_gdbarch_init): Update.
4227 * hppa-tdep.c (hppa_gdbarch_init): Update.
4228 * h8300-tdep.c (h8300_gdbarch_init): Update.
4229 * frv-tdep.c (frv_gdbarch_init): Update.
4230 * cris-tdep.c (cris_gdbarch_init): Update.
4231 * avr-tdep.c (avr_gdbarch_init): Update.
4232 * arm-tdep.c (arm_gdbarch_init): Update.
4233 * alpha-tdep.c (alpha_gdbarch_init): Update.
4235 2003-03-13 Andrew Cagney <cagney@redhat.com>
4237 * frame.c (legacy_frame_p): New function.
4238 (get_prev_frame): Use legacy_frame_p.
4239 * frame.h (legacy_frame_p): Declare.
4241 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
4243 * MAINTAINERS (write after approval): Alphabetically
4246 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
4248 * MAINTAINERS (write after approval): Add myself.
4250 2003-03-12 Andrew Cagney <cagney@redhat.com>
4252 * frame.c (get_prev_frame): Rename the frame parameter to
4254 (get_next_frame, legacy_get_prev_frame): Ditto.
4256 2003-03-12 Andrew Cagney <cagney@redhat.com>
4258 * frame.c (get_current_frame): Check target_has_registers before
4259 checking target_has_stack.
4260 * eval.c (evaluate_subexp_standard): Use get_selected_frame,
4261 instead of deprecated_selected_frame.
4262 * findvar.c (value_of_register): Pass "frame", not
4263 deprecated_selected_frame, to value_of_builtin_reg.
4265 2003-03-12 Andrew Cagney <cagney@redhat.com>
4267 * regcache.c (regcache_cooked_write_signed): New function.
4268 (regcache_cooked_write_unsigned): New function.
4269 (regcache_cooked_read_unsigned): Fix regnum in range assertion.
4270 (regcache_cooked_read_signed): Fix regnum in range assertion.
4271 * regcache.h (regcache_cooked_write_signed): Declare.
4272 (regcache_cooked_write_unsigned): Declare.
4274 2003-03-12 Andrew Cagney <cagney@redhat.com>
4276 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
4277 * gdbarch.h, gdbarch.c: Re-generate.
4278 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
4279 * x86-64-tdep.h: Update.
4280 * x86-64-tdep.c (x86_64_init_abi): Update.
4281 * v850-tdep.c (v850_gdbarch_init): Update.
4282 * sparc-tdep.c (sparc_gdbarch_init): Update.
4283 * sh-tdep.c (sh_gdbarch_init): Update.
4284 * s390-tdep.c (s390_gdbarch_init): Update.
4285 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
4286 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
4287 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
4288 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
4289 * mips-tdep.c (mips_gdbarch_init): Update.
4290 * mcore-tdep.c (mcore_gdbarch_init): Update.
4291 * m68k-tdep.c (m68k_gdbarch_init): Update.
4292 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
4293 * ia64-tdep.c (ia64_gdbarch_init): Update.
4294 * i386-tdep.c (i386_gdbarch_init): Update.
4295 * i386-interix-tdep.c (i386_interix_init_abi): Update.
4296 * hppa-tdep.c (hppa_gdbarch_init): Update.
4297 * h8300-tdep.c (h8300_gdbarch_init): Update.
4298 * frv-tdep.c (frv_gdbarch_init): Update.
4299 * cris-tdep.c (cris_gdbarch_init): Update.
4300 * avr-tdep.c (avr_gdbarch_init): Update.
4301 * arm-tdep.c (arm_gdbarch_init): Update.
4302 * alpha-tdep.c (alpha_gdbarch_init): Update.
4303 * sh-tdep.c (sh_init_extra_frame_info): Update.
4304 (sh64_init_extra_frame_info): Update.
4305 * ns32knbsd-nat.c (frame_num_args): Update.
4306 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
4307 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
4308 (xstormy16_frame_chain_valid): Update.
4309 * vax-tdep.c (vax_saved_pc_after_call): Update.
4310 * v850-tdep.c (v850_frame_chain): Update.
4311 (v850_pop_frame): Update.
4312 (v850_init_extra_frame_info): Update.
4313 * sparc-tdep.c (setup_arbitrary_frame): Update.
4314 * ns32k-tdep.c (umax_frame_num_args): Update.
4315 * s390-tdep.c (s390_pop_frame_regular): Update.
4316 * mn10300-tdep.c (mn10300_frame_chain): Update.
4317 (mn10300_pop_frame_regular): Update.
4318 (mn10300_init_extra_frame_info): Update.
4319 * mips-tdep.c (mips_init_frame_pc_first): Update.
4320 (mips_frame_chain): Update.
4321 (mips_pop_frame): Update.
4322 * mcore-tdep.c (mcore_frame_chain): Update.
4323 (mcore_pop_frame): Update.
4324 (mcore_init_extra_frame_info): Update.
4325 * arch-utils.c (init_frame_pc_default): Update.
4326 * m68k-tdep.c (isi_frame_num_args): Update.
4327 (delta68_frame_num_args): Update.
4328 (news_frame_num_args): Update.
4329 * ia64-tdep.c (ia64_pop_frame_regular): Update.
4330 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
4331 (alpha_frame_chain): Update.
4332 (alpha_pop_frame): Update.
4333 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
4334 (hppa_init_extra_frame_info): Update.
4335 (hppa_frame_chain): Update.
4336 (hppa_frame_chain_valid): Update.
4337 * cris-tdep.c (cris_init_extra_frame_info): Update.
4338 * avr-tdep.c (avr_init_extra_frame_info): Update.
4339 * arm-tdep.c (arm_frame_chain_valid): Update.
4340 (arm_init_extra_frame_info): Update.
4341 (arm_pop_frame): Update.
4342 * frame.c (frame_pc_unwind): Update.
4343 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
4344 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
4345 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
4346 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
4347 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
4348 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
4350 2003-03-12 Andrew Cagney <cagney@redhat.com>
4352 Eliminate the need for POP_FRAME.
4353 * frame.c (do_frame_unwind_register): New function.
4354 (frame_pop): When no POP_FRAME, pop the frame using register
4355 unwind and a scratch regcache.
4356 (frame_saved_regs_pop): Delete function.
4357 (trad_frame_unwinder): Update.
4358 * d10v-tdep.c (d10v_frame_pop): Delete function.
4359 (d10v_frame_unwind): Update.
4360 * sentinel-frame.c (sentinel_frame_pop): Delete function.
4361 (sentinel_frame_unwinder): Update.
4362 * dummy-frame.c (dummy_frame_pop): Delete function.
4363 (dummy_frame_unwind): Update.
4364 * frame-unwind.h (frame_unwind_pop_ftype): Delete definition.
4365 (struct frame_unwind): Update.
4367 2003-03-11 Kevin Buettner <kevinb@redhat.com>
4369 * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to
4370 mips_dwarf_dwarf2_ecoff_reg_to_regnum().
4371 (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum):
4372 Do range checks on register number obtained from debugging info.
4373 (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and
4374 set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of
4375 set_gdbarch_ecoff_reg_to_regnum() to account for new name of
4377 (do_fp_register_row): Fix typo which caused double type to be
4378 used when attempting to unpack a float.
4380 2003-03-11 J. Brobecker <brobecker@gnat.com>
4382 * breakpoint.c (bpstat_stop_status): Fix a small memory leak.
4384 2003-03-11 Andrew Cagney <cagney@redhat.com>
4386 * frame.c (deprecated_update_frame_pc_hack): Don't assume a next
4387 frame. Problem found by Corinna Vinschen.
4389 2003-03-11 Pierre Muller <muller@ics.u-strasbg.fr>
4391 * doublest.c (floatformat_from_length): Accept also
4392 the real size of 'long double' type.
4394 2003-03-10 Daniel Jacobowitz <drow@mvista.com>
4396 From Klee Dienes <kdienes@apple.com>:
4397 * breakpoint.c (bpstat_copy): Copy the command lines as well
4398 as the old value, to match what is freed in bpstat_clear.
4400 2003-03-10 David Carlton <carlton@math.stanford.edu>
4402 * minsyms.c (add_minsym_to_hash_table): Replace
4403 DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME.
4404 (compare_minimal_symbols, compact_minimal_symbols)
4405 (install_minimal_symbols, find_solib_trampoline_target): Ditto.
4406 (lookup_minimal_symbol_text): Use strcmp on linkage names instead
4407 of DEPRECATED_SYMBOL_MATCHES_NAME.
4408 (lookup_minimal_symbol_solib_trampoline): Ditto.
4410 2003-03-10 Andrew Cagney <cagney@redhat.com>
4412 * regcache.h (regcache_cooked_read_ftype): Define.
4413 (regcache_save, regcache_restore): Add a cooked_read parameter.
4414 * regcache.c (regcache_save, regcache_restore): Update.
4415 (do_cooked_read): New function.
4416 (regcache_cpy): Pass do_cooked_read to regcache_save and
4419 2003-03-10 Andrew Cagney <cagney@redhat.com>
4421 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
4422 * gdbarch.h, gdbarch.c: Re-generate.
4423 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
4424 * x86-64-tdep.h: Update.
4425 * x86-64-tdep.c (x86_64_init_abi): Update.
4426 * v850-tdep.c (v850_gdbarch_init): Update.
4427 * sparc-tdep.c (sparc_gdbarch_init): Update.
4428 * sh-tdep.c (sh_gdbarch_init): Update.
4429 * s390-tdep.c (s390_gdbarch_init): Update.
4430 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
4431 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
4432 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
4433 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
4434 * mips-tdep.c (mips_gdbarch_init): Update.
4435 * mcore-tdep.c (mcore_gdbarch_init): Update.
4436 * m68k-tdep.c (m68k_gdbarch_init): Update.
4437 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
4438 * ia64-tdep.c (ia64_gdbarch_init): Update.
4439 * i386-tdep.c (i386_gdbarch_init): Update.
4440 * i386-interix-tdep.c (i386_interix_init_abi): Update.
4441 * hppa-tdep.c (hppa_gdbarch_init): Update.
4442 * h8300-tdep.c (h8300_gdbarch_init): Update.
4443 * frv-tdep.c (frv_gdbarch_init): Update.
4444 * cris-tdep.c (cris_gdbarch_init): Update.
4445 * avr-tdep.c (avr_gdbarch_init): Update.
4446 * arm-tdep.c (arm_gdbarch_init): Update.
4447 * alpha-tdep.c (alpha_gdbarch_init): Update.
4448 * sh-tdep.c (sh_init_extra_frame_info): Update.
4449 (sh64_init_extra_frame_info): Update.
4450 * ns32knbsd-nat.c (frame_num_args): Update.
4451 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
4452 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
4453 (xstormy16_frame_chain_valid): Update.
4454 * vax-tdep.c (vax_saved_pc_after_call): Update.
4455 * v850-tdep.c (v850_frame_chain): Update.
4456 (v850_pop_frame): Update.
4457 (v850_init_extra_frame_info): Update.
4458 * sparc-tdep.c (setup_arbitrary_frame): Update.
4459 * ns32k-tdep.c (umax_frame_num_args): Update.
4460 * s390-tdep.c (s390_pop_frame_regular): Update.
4461 * mn10300-tdep.c (mn10300_frame_chain): Update.
4462 (mn10300_pop_frame_regular): Update.
4463 (mn10300_init_extra_frame_info): Update.
4464 * mips-tdep.c (mips_init_frame_pc_first): Update.
4465 (mips_frame_chain): Update.
4466 (mips_pop_frame): Update.
4467 * mcore-tdep.c (mcore_frame_chain): Update.
4468 (mcore_pop_frame): Update.
4469 (mcore_init_extra_frame_info): Update.
4470 * arch-utils.c (init_frame_pc_default): Update.
4471 * m68k-tdep.c (isi_frame_num_args): Update.
4472 (delta68_frame_num_args): Update.
4473 (news_frame_num_args): Update.
4474 * ia64-tdep.c (ia64_pop_frame_regular): Update.
4475 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
4476 (alpha_frame_chain): Update.
4477 (alpha_pop_frame): Update.
4478 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
4479 (hppa_init_extra_frame_info): Update.
4480 (hppa_frame_chain): Update.
4481 (hppa_frame_chain_valid): Update.
4482 * cris-tdep.c (cris_init_extra_frame_info): Update.
4483 * avr-tdep.c (avr_init_extra_frame_info): Update.
4484 * arm-tdep.c (arm_frame_chain_valid): Update.
4485 (arm_init_extra_frame_info): Update.
4486 (arm_pop_frame): Update.
4487 * frame.c (frame_pc_unwind): Update.
4488 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
4489 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
4490 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
4491 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
4492 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
4493 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
4495 2003-03-10 Andrew Cagney <cagney@redhat.com>
4497 * gdbarch.sh (gdbarch_unwind_pc): New method.
4498 * gdbarch.h, gdbarch.c: Regenerate.
4499 * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc,
4500 but use read_pc and FRAME_SAVED_PC as fall backs.
4501 (frame_saved_regs_pc_unwind): Delete function.
4502 (trad_frame_unwinder): Update.
4503 * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration.
4504 (struct frame_unwind): Update.
4505 * dummy-frame.c (dummy_frame_pc_unwind): Delete function.
4506 (dummy_frame_unwind): Update.
4507 * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function.
4508 (sentinel_frame_unwinder): Update.
4509 * d10v-tdep.c (d10v_frame_pc_unwind): Delete function.
4510 (d10v_frame_unwind): Update.
4511 (d10v_unwind_pc): New function.
4512 (d10v_gdbarch_init): Set unwind_pc.
4514 2003-03-10 Andrew Cagney <cagney@redhat.com>
4516 * gdbarch.h: Re-generate.
4518 * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the
4520 (d10v_frame_pop): Unwind the PC, and not the LR, when restoring
4523 2003-03-08 Mark Kettenis <kettenis@gnu.org>
4525 * gdbarch.sh (save_dummy_frame_tos): Add comment.
4527 2003-03-08 Andrew Cagney <cagney@redhat.com>
4529 * cli-out.c: Update copyright.
4530 (cli_out_data): Define typedef. Use instead of ui_out_data.
4532 2003-03-08 Andrew Cagney <cagney@redhat.com>
4534 * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to
4537 2003-03-07 Andrew Cagney <cagney@redhat.com>
4539 * gdbarch.sh: Don't generate two macro definitions when an
4540 undefined macro taking no arguments.
4541 * gdbarch.h: Regenerate.
4543 2002-03-07 Michal Ludvig <mludvig@suse.cz>
4545 * x86-64-tdep.c (x86_64_save_dummy_frame_tos)
4546 (x86_64_unwind_dummy_id): New functions.
4547 (x86_64_init_abi): Register these two new functions.
4549 2003-03-07 Michal Ludvig <mludvig@suse.cz>
4551 * x86-64-tdep.c (x86_64_function_has_prologue): New function.
4552 (x86_64_skip_prologue): Move prologue detection to
4554 * x86-64-tdep.h (x86_64_function_has_prologue): New prototype.
4556 2003-03-05 Andrew Cagney <cagney@redhat.com>
4558 * d10v-tdep.c (d10v_unwind_dummy_id): New function.
4559 (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos.
4560 * frame.c (get_prev_frame): Restructure the frame ID unwind code
4561 to use unwind_dummy_id when a dummy frame.
4562 * gdbarch.sh (unwind_dummy_id): New multi-arch method with
4564 * gdbarch.h, gdbarch.c: Regneerate.
4566 2003-03-05 Andrew Cagney <cagney@redhat.com>
4568 * d10v-tdep.c (struct d10v_unwind_cache): Add field "base".
4569 (d10v_frame_unwind_cache): Rewrite code computing the base and SP.
4570 Do not use d10v_read_sp or d10v_read_fp when obtaining register
4573 2003-03-05 Andrew Cagney <cagney@redhat.com>
4575 * d10v-tdep.c (struct frame_extra_info): Delete unused structure.
4576 (struct d10v_unwind_cache): Delete field "frameless". Replace
4577 "next_addr" with "sp_offset". Add "r11_offset".
4578 (d10v_frame_unwind_cache): Update.
4579 (prologue_find_regs): Update. When "mv r11, sp", save the
4580 "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that
4581 RN was saved in r11_offset.
4583 2003-03-05 Andrew Cagney <cagney@redhat.com>
4585 * frame.c (deprecated_update_frame_pc_hack): Also update the the
4586 cached PC value in the next frame.
4588 2003-03-05 Andrew Cagney <cagney@redhat.com>
4590 * frame.h (struct frame_info): Replace "id_unwind_cache_p" and
4591 "id_unwind_cache" with "id".
4592 (frame_id_unwind): Delete declaration.
4593 * frame.c (frame_id_unwind): Delete function.
4594 (get_prev_frame): Call the frame id unwind method directly. Store
4595 the returned next frame's ID value in NEXT_FRAME. Note that there
4596 is a problem with the wrong unwind ID being called with the wrong
4599 2003-03-05 Daniel Jacobowitz <drow@mvista.com>
4601 * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS.
4603 2003-03-05 James Ingham <jingham@apple.com>
4604 Daniel Jacobowitz <drow@mvista.com>
4606 * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h".
4607 (auto_cp_abi): New variable.
4608 (current_cp_abi, num_cp_abis): Make static.
4609 (CP_ABI_MAX): Define.
4610 (cp_abis): Turn into an array.
4611 (value_virtual_fn_field): Fix formatting.
4612 (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now
4614 (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd)
4615 (list_cp_abis, _initialize_cp_abi): New functions.
4616 * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove
4617 declarations for cp_abis, num_cp_abis, current_cp_abi, and
4618 switch_to_cp_abi. Update prototype for register_cp_abi.
4619 * Makefile.in (cp-abi.o): Update dependencies.
4620 * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default
4621 instead of switch_to_cp_abi.
4622 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to
4624 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to
4626 * hpacc-abi.c (_initialize_hpacc_abi): Likewise.
4628 2003-03-05 Daniel Jacobowitz <drow@mvista.com>
4630 * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.
4631 * dwarf2loc.c: Include "regcache.h".
4632 (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use
4634 * Makefile.in (dwarf2loc.o): Update dependencies.
4636 2003-03-04 Theodore A. Roth <troth@openavr.org>
4638 * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the
4639 number of io registers reported by remote target is not a multiple of
4642 2003-03-04 David Carlton <carlton@math.stanford.edu>
4644 * symtab.c (lookup_partial_symbol): Add linkage_name argument.
4645 (lookup_symbol_aux_psymtabs): Update call to
4646 lookup_partial_symbol.
4647 (lookup_transparent_type, find_main_psymtab)
4648 (make_symbol_overload_list): Ditto.
4650 2003-03-04 Kazu Hirata <kazu@cs.umass.edu>
4652 * MAINTAINERS (Write after approval): Update my email address.
4654 2003-03-03 Andrew Cagney <cagney@redhat.com>
4656 Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional.
4657 * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with
4658 predicate. Replace MAX_REGISTER_RAW_SIZE.
4659 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for
4660 MAX_REGISTER_VIRTUAL_SIZE.
4661 * regcache.c (legacy_max_register_raw_size): New function.
4662 (legacy_max_register_virtual_size): New function.
4663 * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define.
4664 (MAX_REGISTER_RAW_SIZE): Define.
4665 (legacy_max_register_raw_size): Declare.
4666 (legacy_max_register_virtual_size): Declare.
4667 * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
4668 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update.
4669 * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
4670 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
4671 * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
4672 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
4673 * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
4674 * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
4675 * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
4676 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
4677 * vax-tdep.c (vax_gdbarch_init): Update.
4678 * v850-tdep.c (v850_gdbarch_init): Update.
4679 * sparc-tdep.c (sparc_gdbarch_init): Update.
4680 * sh-tdep.c (sh_gdbarch_init): Update.
4681 * s390-tdep.c (s390_gdbarch_init): Update.
4682 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
4683 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
4684 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
4685 * mips-tdep.c (mips_gdbarch_init): Update.
4686 * mcore-tdep.c (mcore_gdbarch_init): Update.
4687 * m68k-tdep.c (m68k_gdbarch_init): Update.
4688 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
4689 * ia64-tdep.c (ia64_gdbarch_init): Update.
4690 * i386-tdep.c (i386_gdbarch_init): Update.
4691 * hppa-tdep.c (hppa_gdbarch_init): Update.
4692 * h8300-tdep.c (h8300_gdbarch_init): Update.
4693 * frv-tdep.c (frv_gdbarch_init): Update.
4694 * cris-tdep.c (cris_gdbarch_init): Update.
4695 * avr-tdep.c (avr_gdbarch_init): Update.
4696 * arm-tdep.c (arm_gdbarch_init): Update.
4697 * alpha-tdep.c (alpha_gdbarch_init): Update.
4698 * d10v-tdep.c (d10v_gdbarch_init): Do not set
4699 max_register_raw_size or max_register_virtual_size.
4701 2003-03-03 David Carlton <carlton@math.stanford.edu>
4703 * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from
4704 SYMBOL_MATCHES_NAME, add comment.
4705 (SYMBOL_MATCHES_NATURAL_NAME): New.
4706 * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace
4707 SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME.
4708 (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto.
4709 * symtab.c (lookup_partial_symbol): Use
4710 SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete
4712 (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not
4713 SYMBOL_MATCHES_NAME.
4716 2003-03-03 David Carlton <carlton@math.stanford.edu>
4718 * symtab.h (SYMBOL_MATCHES_REGEXP): Delete.
4719 * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP
4720 by regexp matching against SYMBOL_NATURAL_NAME.
4722 2003-03-03 David Carlton <carlton@math.stanford.edu>
4724 * linespec.c (find_method): Extract code into collect_methods.
4725 (collect_methods): New.
4727 2003-03-02 Mark Kettenis <kettenis@gnu.org>
4729 * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and
4732 * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of
4733 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
4735 2003-03-02 Stephane Carrez <stcarrez@nerim.fr>
4737 * arch-utils.c (generic_register_byte): Fix to use the loop index
4738 and not regnum when summing the size of all registers up to regnum.
4740 2003-03-01 Andrew Cagney <cagney@redhat.com>
4742 * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename
4743 FRAME_INIT_SAVED_REGS.
4744 * gdbarch.h, gdbarch.c: Regenerate.
4745 * stack.c (frame_info): Update.
4746 * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update.
4747 (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update.
4748 (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update.
4749 * ns32k-tdep.c (ns32k_pop_frame): Update.
4750 * mips-tdep.c (mips_pop_frame): Update.
4751 * m68hc11-tdep.c (m68hc11_pop_frame): Update.
4752 * ia64-tdep.c (ia64_frame_chain): Update.
4753 (ia64_frame_saved_pc, ia64_get_saved_register): Update.
4754 (ia64_frameless_function_invocation): Update.
4755 (ia64_init_extra_frame_info): Update.
4756 (ia64_pop_frame_regular): Update.
4757 * frame.h (struct frame_info): Update comment.
4758 (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro.
4759 * frame.c (frame_saved_regs_register_unwind): Update.
4760 (frame_saved_regs_register_unwind): Update.
4761 (deprecated_generic_get_saved_register): Update.
4762 * cris-tdep.c: Update comment.
4763 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS):
4765 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
4766 * x86-64-tdep.c (x86_64_init_abi): Update.
4767 * vax-tdep.c (vax_gdbarch_init): Update.
4768 * v850-tdep.c (v850_gdbarch_init): Update.
4769 * sparc-tdep.c (sparc_gdbarch_init): Update.
4770 * sh-tdep.c (sh_gdbarch_init): Update.
4771 * s390-tdep.c (s390_gdbarch_init): Update.
4772 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
4773 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
4774 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
4775 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
4776 * mips-tdep.c (mips_gdbarch_init): Update.
4777 * mcore-tdep.c (mcore_gdbarch_init): Update.
4778 * m68k-tdep.c (m68k_gdbarch_init): Update.
4779 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
4780 * ia64-tdep.c (ia64_gdbarch_init): Update.
4781 * i386-tdep.c (i386_gdbarch_init): Update.
4782 * frv-tdep.c (frv_gdbarch_init): Update.
4783 * avr-tdep.c (avr_gdbarch_init): Update.
4784 * arm-tdep.c (arm_gdbarch_init): Update.
4785 * alpha-tdep.c (alpha_gdbarch_init): Update.
4787 2003-03-01 Andrew Cagney <cagney@redhat.com>
4789 * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to
4790 option enum and switch. When no windows, set the interpreter to
4793 2003-03-01 Andrew Cagney <cagney@redhat.com>
4795 * main.c (captured_main): Replace magic option characters with an
4798 2003-03-01 Andrew Cagney <cagney@redhat.com>
4800 * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename
4801 INIT_EXTRA_FRAME_INFO.
4802 * gdbarch.h, gdbarch.c: Regenerate.
4803 * arm-tdep.c: Update comments.
4804 * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto.
4805 * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto.
4806 * frame.h, avr-tdep.c: Ditto.
4807 * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO.
4808 (create_new_frame, legacy_get_prev_frame): Ditto.
4809 * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
4810 * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
4811 * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize
4812 deprecated_init_extra_frame_info instead of init_extra_frame_info.
4813 * x86-64-tdep.c (x86_64_init_abi): Ditto.
4814 * v850-tdep.c (v850_gdbarch_init): Ditto.
4815 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
4816 * sh-tdep.c (sh_gdbarch_init): Ditto.
4817 * s390-tdep.c (s390_gdbarch_init): Ditto.
4818 * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto.
4819 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
4820 * mips-tdep.c (mips_gdbarch_init): Ditto.
4821 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
4822 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
4823 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
4824 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
4825 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
4826 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
4827 * frv-tdep.c (frv_gdbarch_init): Ditto.
4828 * cris-tdep.c (cris_gdbarch_init): Ditto.
4829 * avr-tdep.c (avr_gdbarch_init): Ditto.
4830 * arm-tdep.c (arm_gdbarch_init): Ditto.
4831 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
4832 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
4834 2003-03-01 Andrew Cagney <cagney@redhat.com>
4836 * gdbarch.sh (register_type): New function with predicate.
4837 (REGISTER_VIRTUAL_TYPE): Change to function with predicate.
4838 * gdbarch.h, gdbarch.c: Re-generate.
4839 * arch-utils.c (generic_register_byte): Use generic_register_size.
4840 (generic_register_size): When available, use
4841 gdbarch_register_type.
4842 * regcache.c (init_regcache_descr): When available, initialize the
4843 register type array using gdbarch_register_type. If the
4844 architecture supplies gdbarch_register_type, do not use the legacy
4846 * d10v-tdep.c (d10v_register_type): Replace
4847 d10v_register_virtual_type.
4848 (d10v_gdbarch_init): Set register_type instead of
4849 register_virtual_type.
4851 2003-03-01 Andrew Cagney <cagney@redhat.com>
4853 * Makefile.in (ax-gdb.o): Update dependencies.
4854 * ax-gdb.c: Include "regcache.h".
4855 (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE.
4856 * findvar.c (value_of_register): Ditto.
4857 * infcmd.c (default_print_registers_info): Ditto.
4859 2003-03-01 Mark Kettenis <kettenis@gnu.org>
4861 * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of
4862 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
4864 2003-03-01 Mark Kettenis <kettenis@gnu.org>
4866 * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead
4869 2003-02-28 Daniel Jacobowitz <drow@mvista.com>
4871 * Makefile.in (dwarf2loc.o): Update dependencies.
4872 * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG.
4873 * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static.
4874 * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes.
4875 * dwarf2loc.c: Include "ax.h" and "ax-gdb.h".
4876 (locexpr_tracepoint_var_ref): New function.
4877 (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref.
4879 2003-02-28 Andrew Cagney <cagney@redhat.com>
4881 * regcache.c (register_size): New function.
4882 * regcache.h (register_size): Declare
4883 * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use
4884 max_register_size instead of MAX_REGISTER_RAW_SIZE.
4886 2003-02-28 David Carlton <carlton@math.stanford.edu>
4888 * linespec.c (decode_compound): Extract code into find_method.
4891 2003-02-28 J. Brobecker <brobecker@gnat.com>
4893 * Makefile.in: Add rules to build and link in observer.o.
4895 2003-02-27 J. Brobecker <brobecker@gnat.com>
4897 * observer.c: Minor comments edits.
4899 2003-02-27 J. Brobecker <brobecker@gnat.com>
4901 * observer.h, observer.c: New file.
4903 2003-02-27 Andrew Cagney <cagney@redhat.com>
4905 * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd.
4907 2003-02-27 Stephane Carrez <stcarrez@nerim.fr>
4909 * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines.
4910 (M6812_OP_STS_EXT): Likewise.
4911 (m6811_prologue): Use the above to recognize prologue.
4912 (m6812_prologue): Likewise.
4914 2003-02-27 David Carlton <carlton@math.stanford.edu>
4916 * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not
4918 (compare_psymbols): Ditto.
4919 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
4921 2003-02-27 Michael Snyder <msnyder@redhat.com>
4923 * f-lang.c (build_fortran_types): New function.
4924 (_initialize_f_language): Gdbarch-register built-in fortran types.
4925 * doublest.c (extract_floating): Fix warning text.
4927 2003-02-27 Andrew Cagney <cagney@redhat.com>
4929 * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with
4930 predicate. Replaces PUSH_DUMMY_FRAME.
4931 * gdbarch.h, gdbarch.c: Regnerate.
4932 * valops.c (hand_function_call): Update. Call
4933 generic_push_dummy_frame directly.
4934 * vax-tdep.c (vax_gdbarch_init): Update.
4935 * sparc-tdep.c (sparc_gdbarch_init): Update.
4936 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
4937 * m68k-tdep.c (m68k_gdbarch_init): Update.
4938 * hppa-tdep.c (hppa_gdbarch_init): Update.
4939 * alpha-tdep.c (alpha_gdbarch_init): Update.
4940 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
4941 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
4942 * inferior.h (PUSH_DUMMY_FRAME): Delete definition.
4943 * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set
4944 push_dummy_frame to generic_push_dummy_frame.
4945 * v850-tdep.c (v850_gdbarch_init): Ditto.
4946 * sh-tdep.c (sh_gdbarch_init): Ditto.
4947 * s390-tdep.c (s390_gdbarch_init): Ditto.
4948 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
4949 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
4950 * mips-tdep.c (mips_gdbarch_init): Ditto.
4951 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
4952 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
4953 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
4954 * i386-tdep.c (i386_gdbarch_init): Ditto.
4955 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
4956 * frv-tdep.c (frv_gdbarch_init): Ditto.
4957 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
4958 * cris-tdep.c (cris_gdbarch_init): Ditto.
4959 * avr-tdep.c (avr_gdbarch_init): Ditto.
4960 * arm-tdep.c (arm_gdbarch_init): Ditto.
4962 2003-02-26 Kevin Buettner <kevinb@redhat.com>
4964 * mips-tdep.c (show_mips_abi): New function.
4965 (_initialize_mips_tdep): Use show_mips_abi() to implement the
4966 command ``show mips abi''.
4968 2003-02-26 Jeff Johnston <jjohnstn@redhat.com>
4970 From Elena Zannoni <ezannoni@redhat.com>
4971 * dbxread.c (process_one_symbol): Only record line 0 if one or
4972 more sline entries have been seen for the function.
4974 2003-02-26 Michael Chastain <mec@shout.net>
4976 * configure: Regenerate with autoconf 000227.
4978 2003-02-26 Michael Chastain <mec@shout.net>
4981 * PROBLEMS (i[3456]86-*-linux*): Note explicit error message
4982 for old libc5/glibc.
4983 * gdb_thread_db.h: Die if not HAVE_UINTPTR_T.
4985 2003-02-26 Kris Warkentin <kewarken@qnx.com>
4987 * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO.
4988 * osabi.c (gdb_osabi_names): Add "QNX Neutrino".
4990 2003-02-26 Michael Chastain <mec@shout.net>
4992 * configure.in: New variable HAVE_UINTPTR_T.
4993 * configure, config.in: Regenerated.
4995 2003-02-26 Daniel Jacobowitz <drow@mvista.com>
4998 * utils.c (gdb_realpath): Move closing brace outwards one #endif.
5000 2003-02-25 Andrew Cagney <cagney@redhat.com>
5002 * frame.c (get_prev_frame): Add comment on check for
5003 inside_entry_func. Only check for inside_entry_file when not a
5004 dummy and not a sentinel. Check that the new frame is not inner
5007 2003-02-25 Andrew Cagney <cagney@redhat.com>
5009 * frame.c (frame_debug): New variable.
5010 (_initialize_frame): Add "set/show debug frame" command.
5011 (get_prev_frame): When frame_debug, print reason why unwind
5014 2003-02-25 Michael Chastain <mec@shout.net>
5016 * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later
5017 to avoid uintptr_t definition problems.
5019 2003-02-25 David Carlton <carlton@math.stanford.edu>
5021 * symtab.h (SYMBOL_NATURAL_NAME): New macro.
5022 (SYMBOL_LINKAGE_NAME): Ditto.
5023 (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and
5024 SYMBOL_LINKAGE_NAME.
5025 (struct general_symbol_info): Expand comment.
5026 (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME.
5027 (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME.
5028 (SYMBOL_MATCHES_REGEXP): Ditto.
5029 * symtab.c (symbol_natural_name): New function.
5030 * objfiles.h: Replace all uses of SYMBOL_NAME by
5031 DEPRECATED_SYMBOL_NAME.
5032 * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto.
5033 * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto.
5034 * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto.
5035 * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto.
5036 * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto.
5037 * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto.
5038 * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto.
5039 * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto.
5040 * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto.
5041 * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto.
5043 * ada-exp.y: Update copyright.
5044 * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto.
5045 * cp-valprint.c: Ditto.
5047 2003-02-25 Jeff Johnston <jjohnstn@redhat.com>
5049 * infptrace.c (detach): Do not flag error if ptrace detach fails
5050 and errno is set to ESRCH.
5052 2003-02-24 Andrew Cagney <cagney@redhat.com>
5054 * infptrace.c (udot_info): Change type of udot_off to long. Use
5055 paddr when printing udot_off's value.
5057 2003-02-24 David Carlton <carlton@math.stanford.edu>
5059 * symtab.c (make_symbol_overload_list): Only read in partial
5060 symtabs containing a matching partial symbol.
5062 2003-02-24 David Carlton <carlton@math.stanford.edu>
5064 * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to
5065 do the comparison, not strcmp.
5066 * symfile.c (compare_psymbols): Ditto.
5067 * defs.h: Declare strcmp_iw_ordered.
5068 * utils.c (strcmp_iw_ordered): New function.
5070 2003-02-24 Jim Blandy <jimb@redhat.com>
5072 * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme
5073 support, shared libs): Remove my name from here, to better reflect
5076 2003-02-24 Kris Warkentin <kewarken@qnx.com>
5078 * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define.
5079 (target_ops): Add to_have_continuable_watchpoint.
5080 * target.c (update_current_target): Add INHERIT line for
5081 to_have_continuable_watchpoint.
5082 * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines.
5083 * config/i386/nm-i386.h, config/i386/nm-i386sco5.h,
5084 config/i386/nm-i386sol2.h, config/s390/nm-linux.h,
5085 config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1.
5087 2003-02-24 Elena Zannoni <ezannoni@redhat.com>
5089 * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop
5092 2003-02-24 Kris Warkentin <kewarken@qnx.com>
5094 * solib.c (solib_open): Call target defined search function after
5095 failing with solib-search-path.
5096 * solist.h (target_so_ops): Add find_and_open_solib function hook and
5097 create define TARGET_SO_FIND_AND_OPEN_SOLIB.
5099 2003-02-24 Kris Warkentin <kewarken@qnx.com>
5101 * MAINTAINERS: Add myself to Write After section.
5103 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
5105 * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.
5107 2003-02-22 Stephane Carrez <stcarrez@nerim.fr>
5109 * m68hc11-tdep.c (m68hc11_init_reggroups): New function.
5110 (m68hc11_add_reggroups): New function.
5111 (m68hc11_register_reggroup_p): New to register hard/soft reggroups.
5112 (m68hc11_gdbarch_init): Install the reggroups.
5113 (_initialize_m68hc11_tdep): Initialize them.
5115 2003-02-21 James E Wilson <wilson@tuliptree.org>
5117 * MAINTAINERS: Update my email address.
5119 2003-02-21 David Carlton <carlton@math.stanford.edu>
5121 * arm-tdep.c (arm_gdbarch_init): Add break after default label.
5123 2003-02-21 Daniel Jacobowitz <drow@mvista.com>
5125 Based on a patch from Daniel Berlin (dberlin@dberlin.org).
5126 * symtab.h: Add opaque declarations of struct axs_value and
5128 (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
5129 (struct location_funcs): New type.
5130 (struct symbol): Add "loc" to aux_value.
5131 (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
5132 * dwarf2read.c: Include "dwarf2expr.h".
5133 (dwarf2_symbol_mark_computed): New function.
5134 (read_func_scope): Use it.
5135 (var_decode_location): New function.
5136 (new_symbol): Use it.
5137 * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
5139 * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
5140 (dwarf2expr_h, dwarf2loc_h): New variables.
5141 (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
5142 (dwarf2expr.o, dwarf2loc.o): New rules.
5143 (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
5144 * buildsym.c (finish_block): Handle LOC_COMPUTED and
5146 * findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
5147 * m2-exp.y (yylex): Likewise.
5148 * printcmd.c (address_info, print_frame_args): Likewise.
5149 * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
5150 * symmisc.c (print_symbol, print_partial_symbols): Likewise.
5151 * ada-lang.c (ada_resolve_subexp, symtab_for_sym)
5152 (ada_add_block_symbols, fill_in_ada_prototype): Likewise.
5153 * symtab.c (lookup_block_symbol): Likewise.
5155 2003-02-20 Adam Fedor <fedor@gnu.org>
5157 * symtab.h: Remove objc_specific struct
5158 (SYMBOL_OBJC_DEMANGLED_NAME): Remove.
5159 * symtab.c (symbol_init_language_specific, symbol_demangled_name):
5160 Have language_objc use cplus_specific struct.
5162 2003-02-20 Tom Tromey <tromey@redhat.com>
5164 * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not
5165 TYPE_NAME, when printing a String value. PR java/1075.
5167 2003-02-20 Adam Fedor <fedor@gnu.org>
5169 * objc-lang.h (find_methods): Remove declaration.
5170 * objc-lang.c (find_methods): Make static.
5172 2003-02-20 Christopher Faylor <cgf@redhat.com>
5174 * win32-nat.c (get_image_name): Check return value from
5176 (child_xfer_memory): Ditto.
5178 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
5180 * configure.in (TARGET_SYSTEM_ROOT): Set default to
5181 ${exec_prefix}/${target_alias}/sys-root. Match explicit
5182 '${exec_prefix}' (in addition to the expansion thereof) as
5184 * configure: Rebuilt.
5186 2003-02-20 David Carlton <carlton@math.stanford.edu>
5188 * symtab.c (search_symbols): Revert the search_symbols part of my
5189 2002-12-23 patch. Add comment.
5191 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
5193 * coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
5194 * dbxread.c (elfstab_build_psymtabs): Don't call
5195 install_minimal_symbols.
5196 (stabsect_build_psymtabs): Likewise.
5197 * elfread.c (elf_symfile_read): Call install_minimal_symbols
5199 * somread.c (som_symfile_read): Call install_minimal_symbols
5200 and do_cleanups earlier.
5201 * nlmread.c (nlm_symfile_read): Likewise.
5202 * mdebugread.c (elfmdebug_build_psymtabs): Call
5203 install_minimal_symbols and make appropriate cleanups.
5205 2003-02-20 Kevin Buettner <kevinb@redhat.com>
5207 * solib.c (reload_shared_libraries): New function.
5208 (_initialize_solib): Add callbacks for ``set solib-search-path''
5209 and ``set solib-absolute-prefix''.
5211 2003-02-20 David Carlton <carlton@math.stanford.edu>
5213 * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
5215 * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
5216 SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
5217 * ada-typeprint.c (ada_typedef_print): Ditto.
5218 * ax-gdb.c (gen_var_ref): Ditto.
5219 * breakpoint.c (print_one_breakpoint): Ditto.
5220 * buildsym.c (finish_block): Ditto.
5221 * c-valprint.c (c_val_print): Ditto.
5222 * expprint.c (print_subexp): Ditto.
5223 * findvar.c (locate_var_value): Ditto.
5224 * infcmd.c (jump_command): Ditto.
5225 * linespec.c (decode_line_2, decode_compound): Ditto.
5226 * maint.c (maintenance_translate_address): Ditto.
5227 * objc-lang.c (compare_selectors, compare_classes): Ditto.
5228 * printcmd.c (build_address_symbolic, sym_info, print_frame_args):
5230 * p-valprint.c (pascal_val_print): Ditto.
5231 * stabsread.c (define_symbol): Ditto.
5232 * stack.c (print_frame, frame_info, print_block_frame_locals)
5233 (print_frame_arg_vars, return_command): Ditto.
5234 * symfile.c (compare_symbols, compare_psymbols): Ditto.
5235 * symmisc.c (print_symbol): Ditto.
5236 * symtab.c (lookup_partial_symbol, lookup_block_symbol)
5237 (compare_search_syms, print_symbol_info, print_msymbol_info)
5238 (rbreak_command): Ditto.
5239 * tracepoint.c (tracepoints_info): Ditto.
5240 * typeprint.c (typedef_print): Ditto.
5241 * valops.c (value_of_variable, hand_function_call): Ditto.
5242 * cli/cli-cmds.c (edit_command, list_command): Ditto.
5243 * ada-typeprint.c: Update Copyright.
5244 * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
5245 * tracepoint.c, cli/cli-cmds.c: Ditto.
5247 2003-02-20 Kevin Buettner <kevinb@redhat.com>
5249 * frame.c (generic_unwind_get_saved_register): Make non-static.
5250 * frame.h (generic_unwind_get_saved_register): Declare.
5251 * mips-tdep.c (read_next_frame_reg): Fetch register from
5252 current regcache when frame is NULL.
5253 (mips_init_extra_frame_info): Pass NULL explicitly for parameter
5255 (mips_get_saved_register): Call generic_unwind_get_saved_register()
5256 instead of frame_register_unwind().
5258 2003-02-20 Andrew Cagney <ac131313@redhat.com>
5260 * remote-sim.c (gdbsim_insert_breakpoint)
5261 (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
5264 2003-02-20 Andrew Cagney <ac131313@redhat.com>
5266 * remote.c (_initialize_remote): Add commands "set/show remote
5267 hardware-watchpoint-limit" and "set/show remote
5268 hardware-breakpoint-limit".
5269 (remote_hw_watchpoint_limit): Initialize to -1.
5270 (remote_hw_breakpoint_limit): Ditto.
5271 (remote_check_watch_resources): Treat a limit of -1 as unlimited.
5273 2003-02-19 Raoul Gough <RaoulGough@yahoo.co.uk>
5275 * coff-pe-read.c: New file - support reading of minimal symbols from a
5276 portable executable using the export table.
5277 * coff-pe-read.h: New file.
5278 * coffread.c: Include coff-pe-read.h.
5279 (coff_symtab_read): Call read_pe_exported_syms iff no recognized
5280 debugging symbols found.
5281 * Makefile.in (SFILES): Add coff-pe-read.o.
5282 (coff_pe_read_h): Define.
5283 (COMMON_OBS): Add coff-pe-read.o.
5284 (coffread.o): Add coff_pe_read_h dependency.
5285 (coff-pe-read.o): New target.
5287 2003-02-19 David Carlton <carlton@math.stanford.edu>
5289 * Makefile.in (SFILES): Add block.c.
5291 (COMMON_OBS): Add block.o.
5293 (x86-64-tdep.o): Add $(block_h).
5294 (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
5295 (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
5296 (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
5297 (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
5298 (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
5299 (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
5300 (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
5301 * value.h: Add opaque declaration for struct block.
5302 * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
5303 * ada-lang.h: Ditto.
5304 * x86-64-tdep.c: #include "block.h"
5305 * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
5306 * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
5307 * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
5308 * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
5309 * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
5310 * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
5311 * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
5312 * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
5313 * blockframe.c (blockvector_for_pc_sect): Move to "block.c".
5314 (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
5315 * symtab.c (block_function): Ditto.
5316 (contained_in): Ditto.
5317 * frame.h: Move block_for_pc and block_for_pc_sect declarations to
5318 block.h. Add opaque declaration for struct block.
5319 * symtab.h: Move block_function and contained_in declarations to
5320 block.h. Add opaque declarations for struct block, struct
5322 (struct block): Move to block.h.
5323 (struct blockvector): Ditto.
5324 (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
5325 (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
5326 (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
5327 (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
5328 (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
5330 * block.c: New file.
5331 * block.h: New file.
5333 2003-02-19 Theodore A. Roth <troth@openavr.org>
5335 * avr-tdep.c (avr_extract_return_value): Remove function.
5336 (avr_store_return_value): Remove function.
5337 (avr_extract_struct_value_address): Remove function.
5338 (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls.
5340 2003-02-19 Andrew Cagney <ac131313@redhat.com>
5342 * rs6000-tdep.c: Include "gdb_assert.h".
5343 (registers_e500): Add "acc" and "spefscr".
5344 (PPC_GPRS_PSEUDO_REGS): Remove trailing comma.
5345 (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum,
5346 ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum
5348 (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson).
5350 2003-02-18 Keith Seitz <keiths@redhat.com>
5352 * Makefile.in: Add gdbtk-interps.c.
5354 2003-02-18 Kevin Buettner <kevinb@redhat.com>
5356 * sparc-tdep.c (sparc_frame_chain): Adjust return value.
5357 * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare.
5359 2003-02-18 Andrew Cagney <cagney@redhat.com>
5361 * symtab.h (struct objfile): Add opaque declaration.
5363 2003-02-18 Elena Zannoni <ezannoni@redhat.com>
5365 From Jim Ingham <jingham@apple.com>:
5366 * dbxread.c (process_one_symbol): Use last_function_start rather
5367 than function_start_offset to find the real beginning of the
5368 current function. The latter is just the text section offset on
5369 some systems, the former is always the real function start.
5371 2003-02-17 Andrew Cagney <cagney@redhat.com>
5373 * configure.in: Revert ${target} != ${host}.
5375 2003-02-17 Andrew Cagney <ac131313@redhat.com>
5377 * configure.in (Makefile): Use the test ${target} != ${host},
5378 instead of the absence of the "nm.h" file, to determine of the
5379 configuration non-native.
5380 * configure: Regenerate.
5382 2003-02-14 Elena Zannoni <ezannoni@redhat.com>
5384 From Brian Ford <ford@vss.fsi.com>
5386 * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
5387 conditionalize tui_active test.
5388 (lookup_cmd_1): Ditto.
5390 2003-02-14 Mark Kettenis <kettenis@gnu.org>
5392 * configure.in: Add check for _etext.
5393 * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't
5395 * config.in, configure: regenerated.
5397 2003-02-14 Daniel Jacobowitz <drow@mvista.com>
5399 * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
5401 2003-02-14 Andrew Cagney <ac131313@redhat.com>
5403 * main.c (tui_version): Delete variable.
5404 (captured_main): When --tui, set interpreter_p to "tui" instead of
5405 enabling tui_version.
5406 * printcmd.c (display_command) [TUI]: Test tui_active instead of
5408 * cli/cli-decode.c (lookup_cmd_composition): Ditto.
5409 * cli/cli-cmds.c (disassemble_command): Ditto.
5410 * defs.h (tui_version): Delete declaration.
5411 * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c".
5412 (tui-interp.o): Add rules.
5413 (SUBDIR_TUI_OBS): Add "tui-interp.o".
5415 2003-02-14 Christopher Faylor <cgf@redhat.com>
5417 * win32-nat.c (register_loaded_dll): Correctly set address range for
5420 2003-02-12 Jason Molenda (jmolenda@apple.com)
5422 * symmisc.c (print_objfile_statistics): Include information about
5423 the number of psymtabs and symtabs in each object file.
5425 2003-02-13 Keith R Seitz <keiths@redhat.com>
5427 * main.h (struct captured_main_args): Add interpreter_p.
5428 * main.c (captured_main): Initialize interpreter_p from context.
5429 * gdb.c (main): Set interpreter_p argument.
5430 * Makefile.in (gdb.o): Add dependency for interps.h.
5432 2003-02-12 Andrew Cagney <ac131313@redhat.com>
5434 * event-top.c (cli_command_loop): Delete declaration.
5435 (_initialize_event_loop): Delete function setting event_loop_hook.
5436 * event-top.h (cli_command_loop): Declare. Update copyright.
5437 (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H.
5438 * interps.c (current_interp_command_loop): When event_loop_p, call
5441 2003-02-12 Andrew Cagney <ac131313@redhat.com>
5443 * interps.h (interp_command_loop_ftype): Change return type to
5446 2003-02-12 Michal Ludvig <mludvig@suse.cz>
5448 * x86-64-tdep.c (x86_64_extract_return_value)
5449 (x86_64_store_return_value): Use regcache instead of regbuf.
5450 (x86_64_gdbarch_init): Change related set_gdbarch_* functions.
5451 * x86-64-linux-nat.c (fill_gregset): Use regcache.
5453 2003-02-11 Andrew Cagney <ac131313@redhat.com>
5455 * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
5456 * aclocal.m4: Regenerate.
5457 * configure: Regenerate.
5459 * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
5460 TCL_LD_SEARCH_FLAGS.
5462 2003-02-10 Michal Ludvig <mludvig@suse.cz>
5464 * dwarf2cfi.c: Reindented.
5466 2003-02-09 Andrew Cagney <ac131313@redhat.com>
5468 * interps.c (clear_interpreter_hooks): Convert function definition
5471 2003-02-07 David Carlton <carlton@math.stanford.edu>
5473 * gdb_mbuild.sh: Delete extra shift after parsing '-f'.
5475 2003-02-07 Kevin Buettner <kevinb@redhat.com>
5477 * gdbtypes.h (struct main_type): Move ``length'' field from here...
5478 (struct type): ...to here.
5479 (TYPE_LENGTH): Adjust to reflect different location of ``length''
5481 * gdbtypes.c (make_qualified_type): Set length on newly created type.
5482 (replace_type): Set length on all type variants for a given type.
5484 2003-02-07 Andrew Cagney <ac131313@redhat.com>
5486 * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
5488 * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
5490 2003-02-06 Andrew Cagney <ac131313@redhat.com>
5492 * Makefile.in (symm-nat.o): Update dependencies.
5493 (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
5494 (lynx-nat.o, ia64-linux-nat.): Ditto.
5495 * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
5496 "gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
5497 * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
5499 * Makefile.in (inflow_h): Define.
5500 (procfs.o, inflow.o, procfs.o): Update dependencies.
5501 * inftarg.c (child_stop): Delete extern declaration of
5502 inferior_process_group. Include "inflow.h".
5503 * procfs.c (procfs_stop): Ditto. Include "inflow.h".
5504 * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
5505 * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file.
5506 (our_process_group, inferior_process_group): Extern declarations.
5508 * procfs.c: Include "gdb_assert.h".
5510 * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
5511 * cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
5512 * jv-typeprint.c (java_type_print_base): Ditto.
5513 * typeprint.c (typedef_print): Eliminate STREQ.
5514 * cli/cli-script.c (define_command, define_command): Ditto.
5515 * main.c (captured_main): Ditto.
5516 * values.c (lookup_internalvar): Ditto.
5517 * utils.c (safe_strerror, parse_escape): Eliminate assignment
5518 within `if' conditional.
5519 * linespec.c (decode_line_2): Ditto.
5520 * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
5521 (bfd_openw_with_cleanup): Ditto.
5523 2003-02-07 Mark Kettenis <kettenis@gnu.org>
5525 * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
5526 legacy_extract_return_value and store_return_value to
5527 legacy_return_value.
5529 2003-02-06 Raoul Gough <RaoulGough@yahoo.co.uk>
5531 * win32-nat.c (get_relocated_section_addrs): New function. Find
5532 section load addresses for symbol handling in relocated DLLs.
5533 (solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
5535 2003-02-05 Fred Fish <fnf@intrinsity.com>
5537 * remote-e7000.c (e7000_drain_command): Fix precedence problem with
5539 * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
5541 (angel_RDI_info): Ditto.
5542 * infttrace.c (threads_continue_all_but_one): Fix precedence problem
5544 (threads_continue_all_with_signals): Ditto.
5546 2003-02-05 Jim Ingham <jingham@apple.com>
5547 Keith Seitz <keiths@redhat.com>
5548 Elena Zannoni <ezannoni@redhat.com>
5549 Andrew Cagney <ac131313@redhat.com>
5551 * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
5552 (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
5553 (SUBDIR_MI_OBS): Add "mi-interp.o".
5554 (SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
5555 (SFILES): Add "interps.c".
5556 (COMMON_OBS): Add "interps.o".
5557 (interps_h, mi_main_h): Define.
5558 (interps.o, cli-interp.o, mi-interp.o): Add dependencies.
5559 (mi-main.o, main.o, event-top.o): Update dependencies.
5560 * cli/cli-interp.c: New file.
5561 * interps.h, interps.c: New files.
5562 * top.c: (gdb_init): Don't install the default interpreter, handed
5564 * main.c: Include "interps.h".
5565 (interpreter_p): Note that it should malloc'ed.
5566 (captured_command_loop): Call current_interp_command_loop.
5567 (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
5568 xfree and xstrdup when updating interpreter_p. Install the
5569 default interpreter. Add hack to stop mi1's copyright notice
5571 * event-top.h (gdb_setup_readline): Declare.
5572 (gdb_disable_readline): Declare.
5573 * event-top.c: Include "interps.h".
5574 (display_gdb_prompt): Call current_interp_display_prompt_p.
5575 (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
5576 gdb_stdlog, and gdb_stdtarg.
5577 (_initialize_event_loop): Don't call gdb_setup_readline.
5578 * cli-out.c (cli_out_set_stream): New function.
5579 * cli-out.h (cli_out_set_stream): Declare.
5581 2003-02-06 Mark Kettenis <kettenis@gnu.org>
5583 * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
5584 i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all
5585 handled fine by i[3456]86-*sco* and i[3456]86-sysv*.
5586 * config/i386/i386sco5.mt, config/i386/i386v4.mt,
5587 config/i386/i386v42mp.mt: Removed.
5589 2003-02-05 Mark Kettenis <kettenis@gnu.org>
5591 * configure.tgt (*-*-solaris*): Set gdb_osabi to
5594 2003-02-05 Michael Chastain <mec@shout.net>
5596 * PROBLEMS (i[3456]86-*-linux*): Warn about binutils
5597 2.12.1 and earlier versions.
5599 2003-02-05 Andrew Cagney <ac131313@redhat.com>
5601 Remove orphaned hosts, targets and files.
5602 * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
5603 * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
5604 * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
5605 * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
5606 * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
5607 * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
5608 * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
5609 * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
5610 * config/sparc/tm-sp64sim.h: Delete.
5611 * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
5613 * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
5614 mips*-dec-mach3* targets.
5616 2003-02-04 Michael Chastain <mec@shout.net>
5618 * NEWS: Fix typo: sepcifying -> specifying.
5620 2003-02-04 Michael Chastain <mec@shout.net>
5622 * dwarfread.c: Add documentation on the state of dwarf-1,
5623 looking towards obsoletion.
5625 2003-02-03 Michael Chastain <mec@shout.net>
5627 * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
5628 gdb/testsuite/gdb.c++/pr-1023.exp.
5630 2003-02-04 Andrew Cagney <ac131313@redhat.com>
5632 * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
5633 * TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
5635 * utils.c (init_page_info): Delete reference to MPW in comments.
5636 * main.c (captured_main): Delete #ifdef MPW.
5638 2003-02-04 Andrew Cagney <ac131313@redhat.com>
5640 * NEWS: Note that the m32r-*-elf* is obsolete.
5641 * monitor.c (monitor_expect): Obsolete reference to m32r.
5642 * configure.tgt: Mark m32r-*-elf* as obsolete.
5643 * MAINTAINERS: Mark m32k as obsolete.
5644 * m32r-rom.c: Obsolete file.
5645 * config/m32r/m32r.mt: Obsolete file.
5646 * config/m32r/tm-m32r.h: Obsolete file.
5647 * m32r-stub.c: Obsolete file.
5648 * m32r-tdep.c: Obsolete file.
5650 2003-02-04 Andrew Cagney <ac131313@redhat.com>
5652 * NEWS: Mention that the z8k-zilog-none is obsolete.
5653 * MAINTAINERS: Mark z8k as obsolete.
5654 * configure.tgt: Obsolete the z8k-*-coff* target.
5655 * config/z8k/z8k.mt: Obsolete file.
5656 * config/z8k/tm-z8k.h: Obsolete file.
5657 * z8k-tdep.c: Obsolete file.
5659 2003-02-04 Andrew Cagney <ac131313@redhat.com>
5661 * NEWS: Mention that the mn10200-elf is obsolete.
5662 * configure.tgt: Obsolete mn10200-*-* target.
5663 * breakpoint.c (update_breakpoints_after_exec): Update comment to
5664 mention that the mn10200 is obsolete.
5665 * breakpoint.h: Ditto.
5666 * MAINTAINERS: Mark the mn10200-elf as obsolete.
5667 * config/mn10200/mn10200.mt: Obsolete file.
5668 * config/mn10200/tm-mn10200.h: Obsolete file.
5669 * mn10200-tdep.c: Obsolete file.
5671 2003-02-04 Andrew Cagney <ac131313@redhat.com>
5673 * MAINTAINERS: Mark h8500 as obsolete.
5674 * configure.tgt (h8500-*-*): Mark h8500 code as obsolete.
5675 * findvar.c (value_from_register): Ditto.
5676 * h8500-tdep.c: Mark file as obsolete.
5677 * config/h8500/h8500.mt: Ditto.
5678 * config/h8500/tm-h8500.h: Ditto.
5679 * NEWS: Mention that h8500 is obsolete.
5681 2003-02-04 David Carlton <carlton@math.stanford.edu>
5683 * objfiles.c (allocate_objfile): Always set name. Add comment at
5685 * jv-lang.c (get_dynamics_objfile): Add comment.
5687 2003-02-04 David Carlton <carlton@math.stanford.edu>
5689 * symtab.h (SYMBOL_LINKAGE_NAME): Delete.
5690 * printcmd.c (build_address_symbolic): Replace uses of
5691 SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME,
5692 SYMBOL_NAME, and asm_demangle.
5695 2003-02-04 David Carlton <carlton@math.stanford.edu>
5697 * linespec.c (decode_compound): Extract code into
5699 (lookup_prefix_sym): New function.
5701 2003-02-04 David Carlton <carlton@math.stanford.edu>
5703 * gdbtypes.h: Delete INTEGER_COERCION_BADNESS,
5704 FLOAT_COERCION_BADNESS.
5705 * gdbtypes.c (rank_one_type): Replace all uses of
5706 INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS.
5708 2003-02-04 Jim Blandy <jimb@redhat.com>
5710 * dwarf2read.c (dwarf2_locate_sections): When we find a macro info
5711 section, let dwarf_macinfo_section point to it, not
5714 2003-02-04 Daniel Jacobowitz <drow@mvista.com>
5716 Pointed out by Anton Blanchard <anton@samba.org>.
5717 * ppc-linux-tdep.c (insn_is_sigreturn): New function.
5718 (ppc_linux_at_sigtramp_return_path): Use it.
5720 2003-02-04 Daniel Jacobowitz <drow@mvista.com>
5722 * defs.h (streq): Add prototype.
5723 * utils.c (streq): New function.
5725 * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of
5726 SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME.
5727 * mdebugread.c (new_symbol): Likewise.
5728 * stabsread.c (define_symbol): Likewise.
5729 * coffread.c (process_coff_symbol): Likewise.
5730 * dwarfread.c (new_symbol): Likewise.
5732 * minsyms.c (prim_record_minimal_symbol_and_info): Use
5733 SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language
5735 (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call
5736 SYMBOL_INIT_DEMANGLED_NAME.
5737 * objfiles.c: Include "hashtab.h".
5738 (allocate_objfile): Call htab_set_functions_ex for the
5739 demangled_names_hash.
5740 (free_objfile): Call htab_delete for the demangled_names_hash.
5741 * objfiles.h (struct htab): Add declaration.
5742 (struct objfile): Add demangled_names_hash.
5743 * symfile.c: Include "hashtab.h".
5744 (reread_symbols): Call htab_delete for the demangled_names_hash.
5745 (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting
5746 SYMBOL_NAME in the bcache.
5747 * symtab.c: Include "hashtab.h". Update comments.
5748 (create_demangled_names_hash, symbol_set_names): New functions.
5749 (symbol_find_demangled_name): New function, broken out from
5750 symbol_init_demangled_names.
5751 (symbol_init_demangled_names): Use it.
5752 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses.
5753 (SYMBOL_SET_NAMES): New macro.
5754 (symbol_set_names): Add prototype.
5756 2003-02-03 Jim Blandy <jimb@redhat.com>
5758 Use a single, consistent representation for an empty minimal
5759 symbol table in an objfile.
5760 * objfiles.c (terminate_minimal_symbol_table): New function.
5761 (allocate_objfile): Call it.
5762 * objfiles.h (terminate_minimal_symbol_table): New declaration.
5763 (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
5765 * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
5766 objfile has minimal symbols, compare minimal_symbol_count to zero,
5767 instead of comparing msymbols with NULL.
5768 * objfiles.c (have_minimal_symbols): Same.
5769 * solib-sunos.c (solib_add_common_symbols): Call
5770 terminate_minimal_symbol_table.
5771 * symfile.c (reread_symbols): Same.
5773 2003-02-03 Kevin Buettner <kevinb@redhat.com>
5775 * s390-tdep.c (s390_address_class_type_flags)
5776 (s390_address_class_type_flags_to_name)
5777 (s390_address_class_name_to_type_flags): New functions.
5778 (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
5779 ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
5781 2003-02-03 Michael Snyder <msnyder@redhat.com>
5783 * arm-tdep.c: Fix spell-o in comment.
5785 2003-02-03 Michal Ludvig <mludvig@suse.cz>
5787 * dwarf2cfi.c (pointer_encoding): Added new parameter.
5788 * dwarf2cfi.c, dwarf2read.c: Changed all warnings and
5789 error messages to contain BFD filename.
5791 2003-02-02 Elena Zannoni <ezannoni@redhat.com>
5793 Fix PR gdb/742 gdb/743 gdb/877
5794 * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
5795 (do_mixed_source_and_assembly): Use
5796 make_cleanup_ui_out_tuple_begin_end and
5797 make_cleanup_ui_out_tuple_begin_end.
5798 (do_mixed_source_and_assembly): Ditto.
5799 * thread.c (do_captured_list_thread_ids): Ditto.
5800 * ui-out.h (ui_out_table_begin, ui_out_list_begin,
5801 ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
5802 ui_out_tuple_end): Delete prototypes.
5803 * ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
5804 ui_out_list_end, ui_out_tuple_end): Delete.
5806 From Kevin Buettner <kevinb@redhat.com>:
5807 * ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
5808 * ui-out.c (make_cleanup_ui_out_table_begin_end)
5809 (do_cleanup_table_end): New functions.
5810 * breakpoint.c (print_it_typical, print_one_breakpoint, mention):
5811 Use cleanups to invoke_ui_out_tuple_end().
5812 (breakpoint_1): Use cleanup to invoke ui_out_table_end().
5813 * cli/cli-setshow.c (cmd_show_list): Use
5814 make_cleanup_ui_out_tuple_begin_end.
5816 2003-02-02 Andrew Cagney <ac131313@redhat.com>
5818 * frame.c (frame_unwind_register): New function.
5819 (frame_unwind_unsigned_register): Use.
5820 (frame_unwind_signed_register): Use.
5821 (frame_read_register): New function.
5822 * frame.h (frame_unwind_register): Declare.
5823 (frame_read_register): Declare.
5825 * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write
5826 and frame_unwind_register instead of read_memory, write_register
5827 and deprecated_write_register_bytes.
5829 2003-02-02 Andrew Cagney <ac131313@redhat.com>
5831 * frame.h: Note that namelen can be negative.
5832 * frame.c (frame_map_name_to_regnum): When LEN is negative, use
5835 * NEWS: Mention that the d10v's `regs' command is deprecated.
5836 * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
5837 (d10v_print_registers_info): New function.
5838 (show_regs): Call d10v_print_registers_info.
5839 (_initialize_d10v_tdep): Mark "show regs" command as deprecated.
5841 2003-02-02 Mark Kettenis <kettenis@gnu.org>
5843 * stack.c (print_frame_info): Restore call to annotate_frame_begin
5844 lost in the previous patch.
5846 2003-02-01 Andrew Cagney <ac131313@redhat.com>
5848 From 2002-11-09 Jason Molenda (jason-cl@molenda.com)
5849 * stack.c (print_frame_info_base): Output complete FRAME tuple
5850 for synthesized frames.
5852 2003-02-02 Andrew Cagney <ac131313@redhat.com>
5854 * mips-nat.c (zerobuf): Delete.
5855 (fetch_inferior_registers): Alloc local zerobuf.
5856 (fetch_core_registers): Alloc local zerobuf.
5857 * d10v-tdep.c (show_regs): Don't allocate a dynamic array using
5858 MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE.
5859 * thread-db.c (thread_db_store_registers): Ditto.
5860 * sh-tdep.c (sh_do_register): Ditto.
5861 * rom68k-rom.c (rom68k_supply_one_register): Ditto.
5862 * remote-sim.c (gdbsim_store_register): Ditto.
5863 * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
5864 * remote-e7000.c (fetch_regs_from_dump): Ditto.
5865 * monitor.c (monitor_supply_register): Ditto.
5866 * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto.
5867 * mips-nat.c (fetch_inferior_registers): Ditto.
5868 * m68klinux-nat.c (fetch_register): Ditto.
5869 * lynx-nat.c (fetch_inferior_registers): Ditto.
5870 (fetch_inferior_registers): Ditto.
5871 * irix4-nat.c (supply_gregset, supply_fpregset): Ditto.
5872 * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
5873 (hpux_thread_store_registers): Ditto.
5874 * hppah-nat.c (fetch_register): Ditto.
5875 * hppab-nat.c (fetch_register): Ditto.
5876 * hppa-tdep.c (pa_register_look_aside): Ditto.
5877 (pa_print_fp_reg, pa_strcat_fp_reg): Ditto.
5878 * dve3900-rom.c (fetch_bitmapped_register): Ditto.
5880 2003-02-01 Andrew Cagney <ac131313@redhat.com>
5882 * gdbarch.sh: Explictly specify all method levels. When a
5883 variable with an empty level, provide a non-multi-arch default.
5884 (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty.
5885 * gdbarch.h: Re-generate.
5886 * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined.
5887 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1
5889 2003-02-01 Andrew Cagney <ac131313@redhat.com>
5891 * defs.h (host_pointer_to_address): Delete declaration.
5892 (address_to_host_pointer): Delete declaration.
5893 * utils.c (host_pointer_to_address): Delete function.
5894 (address_to_host_pointer): Delete function.
5895 * procfs.c (procfs_address_to_host_pointer): New function.
5896 * procfs.c (proc_set_watchpoint): Use.
5897 (procfs_can_use_hw_breakpoint): Update comments.
5898 * somsolib.c (hpux_address_to_host_pointer_hack): New function.
5899 (som_solib_add): Use.
5900 * hppa-tdep.c (hppa_pointer_to_address_hack): New function.
5901 * hppa-tdep.c (unwind_command): Use.
5903 2003-02-01 Andrew Cagney <ac131313@redhat.com>
5905 * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and
5908 * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS,
5909 ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code.
5910 (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code.
5911 * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro.
5912 (define_symbol): Update.
5913 * symfile.c (generic_load): Remove references to nindy.
5914 * symtab.c: Remove references to nindy.
5916 2003-02-01 Andrew Cagney <ac131313@redhat.com>
5918 * infcmd.c (print_float_info): Delete code conditional on
5920 * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright.
5921 * config/m68k/nm-apollo68b.h: Ditto.
5922 * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright.
5923 * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto.
5924 * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto.
5926 2003-02-01 Mark Kettenis <kettenis@gnu.org>
5928 * config/i386/tm-i386os9k.h: Removed.
5930 * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
5931 Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since
5932 they're identical to i[3456]86-*-sysv* now.
5933 * config/i386/i386v32.mh: Removed.
5934 * config/i386/xm-i386v32.h: Removed.
5935 * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.
5937 * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.
5939 * config/i386/i386dgux.mh: Removed.
5940 * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
5942 * configure.in: Fix typo.
5943 * configure: Regenerated.
5945 2003-01-31 David Carlton <carlton@math.stanford.edu>
5947 * dwarf2read.c (dwarf2_locate_sections): Set
5948 dwarf_ranges_section.
5950 2003-01-31 Andrew Cagney <ac131313@redhat.com>
5952 * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts.
5953 * utils.c: Update comments documenting legitimate uses of PTR.
5955 * utils.c: Re-indent.
5957 * config/djgpp/fnchange.lst: Delete nindy files.
5958 * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
5959 * nindy-share/nindy.c, nindy-share/env.h: Delete files.
5960 * nindy-share/coff.h, nindy-share/block_io.h: Delete files.
5961 * nindy-share/b.out.h, nindy-share/VERSION: Delete files.
5962 * nindy-share/README, nindy-share/Onindy.c: Delete files.
5963 * nindy-tdep.c, nindy-share/Makefile: Delete files.
5964 * Makefile.in (init.c): Remove nindy references.
5965 (saber_gdb): Delete rule.
5966 (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
5967 nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
5969 (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
5970 (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
5971 (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
5972 nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
5974 * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
5975 * saber.suppress: Delete file.
5977 2003-01-31 Daniel Jacobowitz <drow@mvista.com>
5979 * dbxread.c (stabs_data): New static variable.
5980 (fill_symbuf): Support an in-memory buffer for stabs data.
5981 (stabs_seek): New function.
5982 (dbx_psymtab_to_symtab): Relocate the stabs data if necessary.
5983 (read_ofile_symtab): Use stabs_seek.
5984 (elfstab_build_psymtabs): Take an asection* instead of
5985 an offset and size. Relocate the stabs data if necessary.
5986 Save the section* for dbx_psymtab_to_symtab.
5987 * dwarf2read.c: Add section variables for each debug section.
5988 (dwarf2_locate_sections): Fill them in.
5989 (dwarf2_read_section): Take an asection* argument.
5990 Relocate the section contents if necessary.
5991 (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers.
5992 * dwarf2cfi.c (parse_frame_info): Take a section argument and pass
5993 it to dwarf2_read_section.
5994 (dwarf2_build_frame_info): Update callers.
5995 * elfread.c (elf_symfile_read): Update call to
5996 elfstab_build_psymtabs.
5997 * gdb-stabs.h (struct dbx_symfile_info): Add stab_section.
5998 (DBX_STAB_SECTION): New macro.
5999 * stabsread.h (elfstab_build_psymtabs): Update prototype.
6000 * symfile.c (symfile_dummy_outputs): New function.
6001 (symfile_relocate_debug_section): New function.
6002 * symfile.h (symfile_relocate_debug_section): Add prototype.
6004 2003-01-31 Richard Henderson <rth@redhat.com>
6006 * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
6007 (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM.
6008 (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM.
6009 * alpha-tdep.c (alpha_register_name): Add "unique".
6010 * alpha-tdep.h (ALPHA_NUM_REGS): Increment.
6011 (ALPHA_UNIQUE_REGNUM): New.
6012 * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
6014 2003-01-31 Andrew Cagney <ac131313@redhat.com>
6016 * README: Remove reference to Ericsson 1800 monitor.
6017 * Makefile.in (remote-es.o): Delete rule.
6018 (ALLDEPFILES): Delete remote-es.c.
6019 * remote-es.c: Delete file.
6020 * config/m68k/es1800.mt: Delete file.
6021 * config/djgpp/fnchange.lst: Update.
6022 * configure.tgt: Delete m68*-ericsson-* target.
6024 2003-01-31 Adam Fedor <fedor@gnu.org>
6026 * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
6027 Remove duplicate/shadowing variable of same name.
6029 2003-01-30 Jim Blandy <jimb@redhat.com>
6031 * symfile.c (find_separate_debug_file): Assert that the objfile's
6032 directory name we compute ends with a slash, and then assume that
6033 that's so everywhere we use it.
6035 2003-01-30 Daniel Jacobowitz <drow@mvista.com>
6037 * valops.c (value_assign): Flush frame cache after stores to memory
6040 2003-01-30 Andrew Cagney <ac131313@redhat.com>
6042 * Makefile.in (mon960-rom.o): Delete rule.
6043 * mon960-rom.c: Delete file.
6045 2003-01-30 Andrew Cagney <ac131313@redhat.com>
6047 * d10v-tdep.c: Include "frame-unwind.h".
6048 (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate
6050 (next_addr, uses_frame): Delete.
6051 (struct d10v_unwind_cache): Define.
6052 (prologue_find_regs): Add struct d10v_unwind_cache info parameter.
6053 Use info instead of next_addr and uses_frame globals.
6054 (d10v_frame_init_saved_regs): Delete function.
6055 (d10v_init_extra_frame_info): Delete function.
6056 (d10v_gdbarch_init): Do not initialize init_extra_frame_info,
6057 frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid,
6058 init_frame_pc or frame_saved_pc.
6059 (d10v_pop_frame): Delete function.
6060 (do_d10v_pop_frame): Delete function.
6061 (d10v_frame_chain): Delete function.
6062 (d10v_frame_chain_valid): Delete function.
6063 (d10v_frame_pc_unwind): New function.
6064 (d10v_frame_id_unwind): New function.
6065 (saved_regs_unwinder): New function.
6066 (d10v_frame_register_unwind): New function.
6067 (d10v_frame_pop): New function.
6068 (d10v_frame_unwind): New variable.
6069 (d10v_frame_p): New function.
6070 (d10v_frame_saved_pc): Delete function.
6071 * Makefile.in (d10v-tdep.o): Update dependencies.
6073 2003-01-30 J. Brobecker <brobecker@gnat.com>
6075 * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
6076 causing some regressions due to a change in the default value
6079 2003-01-29 Richard Henderson <rth@redhat.com>
6080 Elena Zannoni <ezannoni@redhat.com>
6081 Daniel Jacobowitz <drow@mvista.com>
6084 * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New
6086 (RANGES_SECTION): New.
6087 (dwarf_ranges_buffer): New variable.
6088 (struct comp_unit_head): Add member "die".
6089 (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size.
6090 (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New.
6091 (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size.
6092 (dwarf2_locate_sections): Likewise.
6093 (dwarf2_build_psymtabs): Read .debug_ranges.
6094 (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out.
6095 (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die.
6096 (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers.
6097 Look for DW_AT_ranges and return the bounding box.
6099 2003-01-29 Brian Ford <ford@vss.fsi.com>
6101 * win32-nat.c (cygwin_pid): Removed as unused.
6102 (child_attach): Try fall back to Cygwin pid.
6104 2003-01-29 Jim Blandy <jimb@redhat.com>
6106 * objfiles.h (struct objfile): Doc fix.
6108 2003-01-29 Andrew Cagney <ac131313@redhat.com>
6110 * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P.
6111 (legacy_get_prev_frame): Assert FRAME_CHAIN_P.
6112 (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame.
6113 (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P.
6114 * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate.
6115 (FRAME_SAVED_PC): Change to a function with predicate.
6116 * gdbarch.h, gdbarch.c: Re-generate.
6118 2003-01-28 Andrew Cagney <ac131313@redhat.com>
6120 * hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
6122 * complaints.c (complain): Delete function.
6123 * complaints.h (struct deprecated_complaint): Delete definition.
6124 (complain): Delete declaration.
6126 2003-01-28 Kevin Buettner <kevinb@redhat.com>
6128 * mips-tdep.c (mips_init_extra_frame_info): Return early for
6131 2003-01-27 Andrew Cagney <ac131313@redhat.com>
6133 * sentinel-frame.h, sentinel-frame.c: New files.
6134 * Makefile.in (frame.o): Update dependencies.
6135 (SFILES): Add sentinel-frame.c.
6136 (sentinel_frame_h): Define.
6137 (COMMON_OBS): Add sentinel-frame.o.
6138 (sentinel-frame.o): Specify dependencies.
6139 * frame.c: Include "sentinel-frame.h".
6140 (frame_register_unwind): Rewrite assuming that there is always a a
6142 (frame_register, generic_unwind_get_saved_register): Ditto.
6143 (frame_read_unsigned_register, frame_read_signed_register): Ditto.
6144 (create_sentinel_frame, unwind_to_current_frame): New functions.
6145 (get_current_frame): Rewrite using create_sentinel_frame and
6146 unwind_to_current_frame. When possible, always create a frame.
6147 (create_new_frame): Set next to the sentinel frame.
6148 (get_next_frame): Rewrite. Don't go below the level 0 frame.
6149 (deprecated_update_frame_pc_hack): Update the next frame's PC and
6150 ID cache when necessary.
6151 (frame_saved_regs_id_unwind): Use frame_relative_level.
6152 (deprecated_generic_get_saved_register): Use frame_relative_level,
6153 get_frame_saved_regs, get_frame_pc, get_frame_base and
6155 (frame_saved_regs_register_unwind): Use get_frame_saved_regs and
6158 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
6160 * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
6162 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
6164 * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
6165 (maintenance_set_profile_cmd): Use error () instead of warning ().
6167 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
6169 * configure.in: Check that -pg works if using --enable-profiling.
6170 Check for monstartup and _mcleanup regardless of --enable-profiling.
6171 * maint.c: Check for monstartup and _mcleanup before using them.
6172 * config.in: Regenerated.
6173 * configure: Regenerated.
6175 2003-01-24 Nick Clifton <nickc@redhat.com>
6179 2002-04-02 Elena Zannoni <ezannoni@redhat.com>
6181 * gdb/sh-tdep.c (sh_sh2e_register_name): New.
6182 (sh2e_show_regs): New.
6183 (sh_gdbarch_init): Handle bfd_mach_sh2e.
6184 * config/sh/tm-sh.h: Added sh2e to comments.
6186 2003-01-23 Jim Blandy <jimb@redhat.com>
6188 * symfile.c (syms_from_objfile): Don't print the "(no debugging
6189 symbols found)" message here; we haven't checked for a separate
6190 debug info file yet, so we don't know yet.
6191 (symbol_file_add_with_addrs_or_offsets): Print it here, after
6192 we've looked everywhere. Also, there's no need to print a special
6193 message when we're loading the separate debug info file: the one
6194 symbol_file_add prints is fine.
6196 2003-01-23 Alexander Larsson <alexl@redhat.com>
6197 Jim Blandy <jimb@redhat.com>
6199 Add support for executables whose debug info has been separated
6200 out into a separate file, leaving only a link behind.
6201 * objfiles.h (struct objfile): New fields: separate_debug_objfile
6202 and separate_debug_objfile_backlink.
6203 (put_objfile_before): New declaration.
6204 * symfile.c: #include "filenames.h".
6205 (symbol_file_add_with_addrs_or_offsets): If this objfile has its
6206 debug info in a separate file, read that, too. Save the addrs
6207 argument, so we can use it again to read the separated debug info;
6208 syms_from_objfile modifies the table we pass it.
6209 (reread_symbols): After re-reading an objfile, call
6210 reread_separate_symbols to refresh its separate debug info
6211 objfile, if it has one.
6212 (reread_separate_symbols, find_separate_debug_file,
6213 get_debug_link_info, separate_debug_file_exists): New functions.
6214 (debug_file_directory): New global var.
6215 (_initialize_symfile): Initialize debug_file_directory, and
6216 provide the new `set debug-file-directory' command to let the user
6218 * objfiles.c (free_objfile): If this objfile has its debug info in
6219 a separate objfile, free that one too. If this is itself a
6220 separate debug info objfile, clear our parent's backlink.
6221 (put_objfile_before): New function.
6222 * utils.c (gnu_debuglink_crc32): New function.
6223 * defs.h (gnu_debuglink_crc32): New declaration.
6224 * Makefile.in (symfile.o): Note dependency on "filenames.h".
6225 * configure.in: Handle --with-separate-debug-dir config option.
6226 * acinclude.m4 (AC_DEFINE_DIR): New macro.
6227 * acconfig.h (DEBUGDIR): New macro.
6228 * configure, aclocal.m4, config.in: Regenerated.
6230 2003-01-22 Jim Blandy <jimb@redhat.com>
6232 * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
6233 like the old symbol_file_add, but taking new arguments: you can
6234 now pass in either a `struct section_addr_info' list to say where
6235 each section is loaded, or a `struct section_offsets' table. Pass
6236 these new arguments through to syms_from_objfile as appropriate.
6237 (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
6238 with the appropriate quiescent values for the new arguments.
6240 * symfile.c: #include "gdb_assert.h".
6241 (syms_from_objfile): Add the ability to pass in a section offset
6242 table directly, as an alternative to the section_addr_info table.
6243 Document arguments better.
6244 (symbol_file_add): Pass extra arguments to syms_from_objfile.
6245 * symfile.h (syms_from_objfile): Update declaration.
6246 * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
6248 * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
6250 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
6252 Original patch by Tom Tromey <tromey@cygnus.com> and
6253 Jason Molenda <jmolenda@apple.com>.
6254 * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
6255 (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
6256 * NEWS: Mention profiling.
6257 * configure.in (--enable-gdbtk): Fix typo.
6258 (--enable-profiling): New. Set PROFILE_CFLAGS.
6259 * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
6261 (profiling_state): New variable.
6262 (mcleanup_wrapper): New function.
6263 (_initialize_maint): Remove NOTYET, fix call to
6264 add_setshow_boolean_cmd for "maint set profile".
6265 * configure: Regenerated.
6267 2003-01-21 Martin M. Hunt <hunt@redhat.com>
6269 * Makefile.in (install-gdbtk): Install PNG images too.
6271 2003-01-21 Andrew Cagney <ac131313@redhat.com>
6273 * exec.c (text_start): Delete global variable.
6274 (exec_file_attach): Make text_start local to the function.
6275 * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
6276 * valops.c (hand_function_call): Delete code that handles
6277 BEFORE_TEXT_END and AFTER_TEXT_END.
6278 * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
6279 of CALL_DUMMY_LOCATION.
6280 * gdbarch.c: Regenerate.
6281 * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
6282 (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
6283 * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
6284 (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
6285 (text_end): Delete extern declaration.
6287 2003-01-21 Andrew Cagney <ac131313@redhat.com>
6289 * frame.h (FRAME_OBSTACK_ZALLOC): Define.
6290 * blockframe.c (backtrace_below_main): Move to "frame.c".
6291 (frame_chain_valid): Delete check for backtrace_below_main.
6292 (_initialize_blockframe): Delete initialization, move ``set
6293 backtrace-below-main'' command to "frame.c".
6294 (do_flush_frames_sfunc): Delete function.
6295 * frame.c: Include "command.h" and "gdbcmd.h".
6296 (frame_type_from_pc): New function.
6297 (create_new_frame): Use frame_type_from_pc.
6298 (legacy_get_prev_frame): New function.
6299 (get_prev_frame): Rewrite. When an old style frame, call
6300 legacy_get_prev_frame. Otherwize, unwind the PC first.
6301 (_initialize_frame): Add ``set backtrace-below-main'' command.
6302 * Makefile.in (frame.o): Update dependencies.
6304 2003-01-19 Andrew Cagney <ac131313@redhat.com>
6306 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
6307 DEPRECATED_REGISTERS_INFO.
6309 2003-01-19 Andrew Cagney <ac131313@redhat.com>
6311 * MAINTAINERS: Replace `Blanket Write Privs' with `Global
6312 Maintainers'. Update `Various Maintainers'.
6314 2003-01-19 Andrew Cagney <ac131313@redhat.com>
6316 * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
6317 * gdbarch.sh (POP_FRAME): Change to function with predicate.
6318 Suppress actual parameters when `-'.
6319 * gdbarch.h, gdbarch.c: Regenerate.
6321 2003-01-19 Andrew Cagney <ac131313@redhat.com>
6323 * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
6324 code handling dummy frames.
6326 2003-01-19 Andrew Cagney <ac131313@redhat.com>
6328 * frame-unwind.h (frame_unwind_pop_ftype): Declare.
6329 (struct frame_unwind): Add field pop.
6330 * frame.h (frame_pop): Declare.
6331 * frame.c (frame_saved_regs_pop): New function.
6332 (trad_frame_unwinder): Add frame_saved_regs_pop.
6333 (frame_pop): New function.
6334 * dummy-frame.c (dummy_frame_pop): New function.
6335 (discard_innermost_dummy): New function.
6336 (generic_pop_dummy_frame): Use discard_innermost_dummy.
6337 (dummy_frame_unwind): Add dummy_frame_pop.
6338 * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
6339 * valops.c (hand_function_call): Ditto.
6340 * stack.c (return_command): Ditto.
6342 2003-01-18 Andrew Cagney <ac131313@redhat.com>
6344 * cris-tdep.c: Fix function declaration indentation.
6345 * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
6346 * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
6347 * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
6348 * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
6349 * xcoffread.c, config/pa/tm-hppa.h: Ditto.
6350 * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
6352 2003-01-18 Michael Chastain <mec@shout.net>
6354 * README (Unpacking and Installation -- quick overview):
6355 Warn against ".../gdb-5.3/gdb/configure".
6357 2003-01-18 Andrew Cagney <ac131313@redhat.com>
6359 * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
6360 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
6361 (struct frame_unwind): Declare opaque.
6362 (dummy_frame_p): Declare function.
6363 * dummy-frame.c (dummy_frame_id_unwind): Make static.
6364 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
6365 * dummy-frame.c: Include "frame-unwind.h".
6366 (dummy_frame_p): New function.
6367 (dummy_frame_unwind): New variable.
6368 * frame.c: Include "frame-unwind.h".
6369 (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
6370 to use the new unwind field.
6371 (set_unwind_by_pc): Delete function.
6372 (create_new_frame, get_prev_frame): Set unwind field using
6373 frame_unwind_find_by_pc.
6374 (trad_frame_unwind, trad_frame_unwinder): New variables.
6375 * frame.h (trad_frame_unwind): Declare variable.
6376 (frame_id_unwind_ftype): Delete declaration.
6377 (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
6378 (struct frame_unwind): Declare opaque.
6379 (struct frame_info): Replace the fields id_unwind, pc_unwind and
6380 register_unwind with a single unwind pointer.
6381 * frame-unwind.h, frame-unwind.c: New files.
6382 * Makefile.in (SFILES): Add frame-unwind.c.
6383 (frame_unwind_h): Define.
6384 (COMMON_OBS): Add frame-unwind.o.
6385 (frame-unwind.o): Specify dependencies.
6386 (frame.o, dummy-frame.o): Update dependencies.
6388 2003-01-18 Andrew Cagney <ac131313@redhat.com>
6390 * ada-valprint.c: Eliminate PTR.
6391 * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
6392 * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
6393 * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
6394 * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
6395 * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
6396 * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
6397 * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
6399 2003-01-17 Andrew Cagney <ac131313@redhat.com>
6401 * main.c (captured_main): Don't use PTR.
6402 * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
6403 * gdbtypes.c (lookup_primitive_typename): Ditto.
6404 (lookup_struct_elt_type): Ditto.
6405 * f-valprint.c (info_common_command): Ditto.
6406 (list_all_visible_commons): Ditto.
6407 * jv-typeprint.c (java_type_print_base): Ditto.
6409 * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
6410 mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
6411 Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
6412 i386-interix-nat.c and i386-interix-tdep.c. Rename
6413 m68klinux-nat.c and m68klinux-tdep.c. Rename
6414 config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
6415 bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
6416 gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
6417 * main.c (captured_main): Use xfree, not free.
6419 2003-01-16 Andrew Cagney <ac131313@redhat.com>
6421 * frame.h (frame_id_unwind_ftype): Change type so that the frame's
6422 ID back using a parameter.
6423 * frame.c (frame_id_unwind): Update call.
6424 (frame_saved_regs_id_unwind): Update.
6425 * dummy-frame.c (dummy_frame_id_unwind): Update function.
6426 * dummy-frame.h (struct frame_id): Add opaque declaration.
6427 (dummy_frame_id_unwind): Update declaration.
6429 2003-01-15 Andrew Cagney <ac131313@redhat.com>
6431 * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
6433 2003-01-15 Stephen P. Smith <ischis2@cox.net>
6435 * MAINTAINERS (Stephen P. Smith): Updated email address.
6437 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
6440 * breakpoint.c (until_break_command): Add new argument. Use it to
6441 decide whether to stop only at the current frame or not.
6442 * breakpoint.h (until_break_command): Update prototype.
6443 * infcmd.c (until_command): Add new argument to until_break_command
6445 (advance_command): New function.
6446 (_initialize_infcmd): Update help string for 'until' command.
6447 Add new 'advance' command.
6449 2003-01-14 David Carlton <carlton@math.stanford.edu>
6451 * linespec.c (decode_line_1): Normalize comments.
6453 (locate_first_half): Ditto.
6454 (decode_compound): Ditto.
6455 (symtab_from_filename): Ditto.
6456 (decode_all_digits): Ditto.
6457 (decode_dollar): Ditto.
6458 (find_methods): Ditto.
6459 (find_toplevel_char): Ditto.
6461 2003-01-13 Andrew Cagney <ac131313@redhat.com>
6463 * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
6464 * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
6465 * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
6466 * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
6467 * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
6468 * language.c, language.h, m32r-tdep.c: Update copyright.
6469 * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
6470 * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
6471 * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
6472 * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
6473 * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
6474 * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
6476 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
6478 * stabsread.h (process_later, resolve_cfront_continuation):
6480 Update copyright years.
6481 * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
6482 Update copyright year.
6483 * dbxread.c(struct cont_elem): Obsolete.
6484 (process_later, process_now): Obsolete functions.
6485 (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
6486 Update copyright year.
6487 * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
6488 (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
6489 * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
6490 (parse_partial_symbols): Obsolete cfront support.
6492 (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
6494 (get_substring, get_cfront_method_physname, msg_unknown_complaint,
6495 read_cfront_baseclasses, read_cfront_member_functions,
6496 resolve_cfront_continuation,read_cfront_static_fields,
6497 copy_cfront_struct_fields): Obsolete functions.
6498 (define_symbol, read_one_struct_field): Obsolete cfront support.
6499 * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
6500 Update Copyright year.
6502 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
6504 * stack.c (print_frame_info, print_stack_frame_base_stub,
6505 print_stack_frame_base, show_and_print_stack_frame_stub,
6506 show_and_print_stack_frame, print_only_stack_frame_stub,
6507 print_only_stack_frame): Delete functions.
6508 (print_stack_frame_stub): Call print_frame_info instead of
6509 print_frame_info_base.
6510 (print_frame_info_base): Rename to print_frame_info.
6511 (backtrace_command_1): Call print_frame_info, instead of
6512 print_frame_info_base.
6513 (current_frame_command): Call print_stack_frame, instead of
6514 print_only_stack_frame.
6515 (frame_command): Call print_stack_frame, instead of
6516 show_and_print_stack_frame.
6517 (up_command): Ditto.
6518 (down_command): Ditto.
6519 * frame.h (print_only_stack_frame): Delete prototype.
6520 * infrun.c (normal_stop): Call print_stack_frame, instead of
6521 show_and_print_stack_frame.
6522 * thread.c (info_threads_command): Call print_stack_frame, instead
6523 of print_only_stack_frame.
6525 2003-01-13 Andrew Cagney <ac131313@redhat.com>
6527 * README (Graphical interface to GDB): Update URL. Point at
6530 * gdb_indent.sh: Update to version 2.2.9. Warn when not exact
6533 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
6535 * symtab.c (find_pc_sect_line): Don't consider end-of-function
6538 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
6540 * thread-db.c (attach_thread): Prototype.
6541 (struct private_thread_info): Remove lwpid. Add thread handle (th),
6542 thread information (ti), and valid flags (th_valid, ti_valid).
6543 (attach_thread): Move target_pid_to_str call to after the thread
6544 is added to GDB's list. Initialize the cache.
6545 (thread_get_info_callback, thread_db_map_id2thr)
6546 (thread_db_get_info): New functions.
6547 (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
6548 (thread_db_store_registers, thread_db_thread_alive)
6549 (thread_db_get_thread_local_address): Use them.
6550 (thread_db_pid_to_str): Likewise. Return "Missing" instead
6551 of calling error() for threads in unknown state.
6553 (clear_lwpid_callback): New function.
6554 (thread_db_resume): Use it to clear the cache.
6556 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
6558 * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
6559 (resume_callback): Remove dead code.
6561 2003-01-13 Andrew Cagney <ac131313@redhat.com>
6563 * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
6565 * gdbarch.h, gdbarch.c: Regenerate.
6566 * stack.c (frame_info): Only initialize the saved registers when
6567 FRAME_INIT_SAVED_REGS_P.
6568 * frame.c (frame_saved_regs_register_unwind): Assert
6569 FRAME_INIT_SAVED_REGS_P.
6570 (deprecated_generic_get_saved_register): Ditto.
6572 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
6574 * source.c (openp): Squelch warning about "filename".
6576 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
6578 * source.c (openp): If the file does not exist don't necessarily
6581 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
6584 * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
6585 (integer_types_same_name_p): New function.
6586 (rank_one_type): Use it.
6587 * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
6589 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
6591 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
6593 (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
6594 * configure.in: Add --with-sysroot.
6595 * configure: Regenerated.
6596 * main.c (gdb_sysroot): New variable.
6597 (captured_main): Initialize gdb_sysroot.
6598 * defs.h (gdb_sysroot): New extern declaration.
6599 * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
6601 2003-01-12 Michael Chastain <mec@shout.net>
6603 * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
6605 2003-01-12 Michael Chastain <mec@shout.net>
6607 * top.c (print_gdb_version): Bump copyright year to 2003.
6609 2003-01-12 David Carlton <carlton@bactrian.org>
6611 * linespec.c (symtab_from_filename): Rename variable 's' to
6614 2003-01-12 Andrew Cagney <ac131313@redhat.com>
6616 * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
6618 (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
6620 2003-01-12 Andrew Cagney <ac131313@redhat.com>
6622 * d10v-tdep.c: Include "gdb_assert.h".
6623 (d10v_store_return_value): Rewrite to match current interface.
6624 (d10v_extract_struct_value_address): Ditto.
6625 (d10v_extract_return_value): Ditto.
6626 (d10v_gdbarch_init): Set store_restore_value,
6627 extract_struct_value_address and extract_return_value.
6629 2003-01-12 J. Brobecker <brobecker@gnat.com>
6631 * hpread.c (set_namestring): New procedure replacing the
6632 SET_NAMESTRING macro.
6633 (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
6634 by calls to set_namestring.
6636 2003-01-11 J. Brobecker <brobecker@gnat.com>
6638 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
6639 a compilation warning.
6640 (hpread_process_one_debug_symbol): Likewise.
6642 2003-01-10 David Carlton <carlton@math.stanford.edu>
6644 * linespec.c (decode_line_1): Rename variable 's' to
6646 (decode_all_digits): Rename argument 's' to 'file_symtab'.
6647 (decode_dollar): Ditto.
6648 (decode_variable): Ditto.
6649 (symbol_found): Ditto.
6651 2003-01-09 Michael Chastain <mec@shout.net>
6653 * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
6655 2003-01-07 Corinna Vinschen <vinschen@redhat.com>
6657 * win32-nat.c (set_process_privilege): New function.
6658 (child_attach): Call set_process_privilege() to enable the
6659 SE_DEBUG_NAME user privilege if available in process token.
6661 2003-01-10 J. Brobecker <brobecker@gnat.com>
6663 * hpread.c (hpread_process_one_debug_symbol): Fix a small
6664 compilation error in the previous revision.
6666 2003-01-09 David Carlton <carlton@math.stanford.edu>
6668 * linespec.c: Update copyright.
6670 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
6672 * lin-lwp.c (child_wait): Ignore exit statuses for processes other
6674 (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
6676 2003-01-09 Andrew Cagney <ac131313@redhat.com>
6678 * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
6680 * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
6681 (frame_saved_regs_zalloc): Update.
6682 (frame_saved_regs_register_unwind): Update.
6683 (create_new_frame): Update.
6684 (get_prev_frame): Update.
6685 (frame_extra_info_zalloc): Update.
6686 (deprecated_get_frame_saved_regs): Update.
6687 * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
6688 * cris-tdep.c: Update comment.
6690 * somsolib.h: Fix function indentation.
6691 * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
6692 * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
6693 * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
6694 * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
6695 * somsolib.c, inftarg.c: Remove assignment in if conditional.
6697 * infrun.c (follow_fork): Use ISO C definition.
6698 * expprint.c (print_subexp): Use xfree instead of free.
6699 * charset.c: Include "gdb_string.h" instead of <string.h>.
6700 (register_iconv_charsets): Use ISO C definition.
6701 (host_charset, target_charset): Ditto.
6702 * Makefile.in (charset.o): Update dependencies.
6703 (mi-cmd-env.o): Update dependencies.
6705 2003-01-08 Andrew Cagney <cagney@redhat.com>
6707 * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
6710 2003-01-08 Andrew Cagney <ac131313@redhat.com>
6712 * gdb_mbuild.sh: Add --keep option. When specified, keep the
6713 build directories. Save edited gdb output in Mbuild.log. If a
6714 build fails, remove any final GDB executable.
6716 2003-01-08 Andrew Cagney <ac131313@redhat.com>
6718 * gdb_mbuild.sh: Edit the output of `maint print architecture'
6719 replacing hex constants with function names and stripping leading
6720 file name directory prefixes.
6722 2003-01-08 Andrew Cagney <cagney@redhat.com>
6724 * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
6727 2003-01-08 David Carlton <carlton@math.stanford.edu>
6729 * linespec.c (decode_line_1): Move code into decode_variable.
6730 (decode_variable): New function.
6732 2003-01-08 Andrew Cagney <ac131313@redhat.com>
6734 * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
6736 2003-01-08 Andrew Cagney <cagney@redhat.com>
6738 * cris-tdep.c (cris_frame_init_saved_regs): Use
6739 get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
6741 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
6742 (sh64_nofp_frame_init_saved_regs): Ditto.
6743 (sh_fp_frame_init_saved_regs): Ditto.
6744 * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
6745 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
6746 * mcore-tdep.c (analyze_dummy_frame): Ditto.
6747 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
6749 2003-01-08 Daniel Jacobowitz <drow@mvista.com>
6751 * minsyms.c (lookup_minimal_symbol): Update comment.
6752 (lookup_minimal_symbol_text): Update comment. Use the hash table.
6753 (lookup_minimal_symbol_solib_trampoline): Likewise.
6755 2003-01-08 Andrew Cagney <cagney@redhat.com>
6757 * d10v-tdep.c (d10v_init_extra_frame_info): Use
6758 frame_relative_level.
6760 * alpha-tdep.c: Use get_frame_extra_info.
6761 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
6762 * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
6763 * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
6764 * sparc-tdep.c, xstormy16-tdep.c: Ditto.
6766 * alpha-tdep.c: Use get_next_frame.
6767 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
6768 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
6769 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
6770 * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
6771 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
6772 * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
6773 * xstormy16-tdep.c: Ditto.
6775 2003-01-07 Andrew Cagney <cagney@redhat.com>
6777 * alpha-tdep.c: Use get_frame_base.
6778 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
6779 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
6780 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
6781 * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
6782 * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
6783 * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
6784 * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
6785 * config/sparc/tm-sparc.h: Ditto.
6787 2003-01-07 Andrew Cagney <cagney@redhat.com>
6789 * frame.c (deprecated_get_frame_context): New function.
6790 (deprecated_set_frame_context): New function.
6791 * frame.h (deprecated_get_frame_context): Declare.
6792 (deprecated_set_frame_context): Declare.
6793 * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
6794 (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
6796 2003-01-07 Andrew Cagney <cagney@redhat.com>
6798 * frame.c (deprecated_set_frame_next_hack): New function.
6799 (deprecated_set_frame_prev_hack): New function.
6800 * frame.h (deprecated_set_frame_next_hack): Declare.
6801 (deprecated_set_frame_prev_hack): Declare.
6802 * mcore-tdep.c (analyze_dummy_frame): Use
6803 deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
6804 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
6806 2003-01-07 David Carlton <carlton@math.stanford.edu>
6808 * linespec.c (decode_line_1): Move code into decode_dollar.
6809 (decode_dollar): New function.
6811 2003-01-07 Andrew Cagney <cagney@redhat.com>
6813 * arm-tdep.c (arm_init_extra_frame_info): Use
6814 deprecated_update_frame_base_hack.
6815 * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
6816 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
6817 (fix_frame_pointer): Ditto.
6818 (mn10300_analyze_prologue): Ditto.
6820 2003-01-07 Andrew Cagney <cagney@redhat.com>
6822 * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
6823 extra_info using frame_extra_info_zalloc.
6824 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
6825 * sh-tdep.c (sh_init_extra_frame_info): Ditto.
6826 (sh64_init_extra_frame_info): Ditto.
6827 * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
6828 * s390-tdep.c (s390_init_extra_frame_info): Ditto.
6829 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
6830 * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
6831 * frv-tdep.c (frv_init_extra_frame_info): Ditto.
6832 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
6833 * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
6834 * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
6835 * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
6836 * cris-tdep.c (cris_init_extra_frame_info): Ditto.
6837 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
6838 * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
6840 * mn10300-tdep.c (analyze_dummy_frame): Use
6841 deprecated_set_frame_extra_info_hack.
6842 * mcore-tdep.c (analyze_dummy_frame): Ditto.
6844 2003-01-07 J. Brobecker <brobecker@gnat.com>
6846 * mdebugread.c (parse_symbol): Skip stProc entries which storage
6847 class is not scText. These do not define "real" procedures.
6848 (parse_partial_symbols): Likewise.
6850 2003-01-06 Michael Snyder <msnyder@redhat.com>
6852 * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
6854 2003-01-06 Andrew Cagney <ac131313@redhat.com>
6856 * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
6857 * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
6858 * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
6859 deprecated_frame_xmalloc_with_cleanup.
6860 * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
6861 deprecated_frame_xmalloc.
6862 * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
6863 * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
6865 2003-01-06 Andrew Cagney <cagney@redhat.com>
6867 * x86-64-linux-tdep.c: Include "osabi.h".
6868 * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
6870 * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
6872 2003-01-06 Andrew Cagney <cagney@redhat.com>
6874 * MAINTAINERS (Target Instruction Set Architectures): Update
6875 arm-elf. Can be built with -Werror, has been multiarched.
6877 * value.h (unpack_long): Make buffer parameter constant.
6878 (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
6879 * scm-lang.h (scm_parse): Ditto.
6880 * defs.h (extract_typed_address, extract_address): Ditto.
6881 (extract_long_unsigned_integer): Ditto.
6882 * inferior.h (unsigned_pointer_to_address): Ditto.
6883 (signed_pointer_to_address): Ditto.
6884 * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
6885 * gdbarch.h, gdbarch.c: Regenerate.
6886 * findvar.c (extract_long_unsigned_integer): Update.
6887 (extract_address): Update.
6888 (extract_typed_address): Update.
6889 (unsigned_pointer_to_address): Update.
6890 * values.c (unpack_long): Update.
6891 (unpack_double): Update.
6892 (unpack_pointer): Update.
6893 (unpack_field_as_long): Update.
6894 * d10v-tdep.c (d10v_pointer_to_address): Update.
6895 * avr-tdep.c (avr_pointer_to_address): Update.
6896 * scm-lang.c (scm_unpack): Update.
6897 * findvar.c (signed_pointer_to_address): Update.
6899 2003-01-06 Michal Ludvig <mludvig@suse.cz>
6901 * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
6902 since it is in i386-tdep.c.
6904 2003-01-06 J. Brobecker <brobecker@gnat.com>
6906 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
6907 failure introduced in the previous change.
6909 2003-01-05 Michael Chastain <mec@shout.net>
6911 * README: Remove references to deleted remote-*.c files:
6912 remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
6913 remote-nrom.c, remote-os9k.c, remote-udi.c.
6915 2003-01-05 Mark Kettenis <kettenis@gnu.org>
6917 * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
6918 * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
6919 i386_get_longjmp_target.
6921 2003-01-05 Andrew Cagney <ac131313@redhat.com>
6923 * arm-tdep.c (prologue_cache): Change to a pointer.
6924 (_initialize_arm_tdep): Allocate prologue_cache.
6925 (check_prologue_cache): Update.
6926 (save_prologue_cache): Update.
6927 (arm_gdbarch_init): Update.
6929 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
6931 * stabsread.c (update_method_name_from_physname): Call complaint()
6934 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
6936 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
6937 * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
6938 * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
6940 * blockframe.c: Include "gdbcmd.h" and "command.h".
6941 (backtrace_below_main): New variable.
6942 (file_frame_chain_valid, func_frame_chain_valid)
6943 (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
6944 (generic_func_frame_chain_valid): Remove functions.
6945 (frame_chain_valid, do_flush_frames_sfunc): New functions.
6946 (_initialize_blockframe): New function.
6947 * Makefile.in (blockframe.o): Update dependencies.
6948 * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
6949 comment. Call frame_chain_valid ().
6950 * frame.h: Remove old prototypes. Add prototype for
6951 frame_chain_valid and update comments to match.
6952 * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
6954 * gdbarch.h: Regenerated.
6955 * gdbarch.c: Regenerated.
6957 * alpha-tdep.c (alpha_gdbarch_init): Don't call
6958 set_gdbarch_frame_chain_valid.
6959 * avr-tdep.c (avr_gdbarch_init): Likewise.
6960 * cris-tdep.c (cris_gdbarch_init): Likewise.
6961 * frv-tdep.c (frv_gdbarch_init): Likewise.
6962 * h8300-tdep.c (h8300_gdbarch_init): Likewise.
6963 * i386-tdep.c (i386_svr4_init_abi): Likewise.
6964 (i386_nw_init_abi): Likewise.
6965 (i386_gdbarch_init): Likewise.
6966 * ia64-tdep.c (ia64_gdbarch_init): Likewise.
6967 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
6968 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
6969 * mcore-tdep.c (mcore_gdbarch_init): Likewise.
6970 * mips-tdep.c (mips_gdbarch_init): Likewise.
6971 * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
6972 * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
6973 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
6974 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
6975 * s390-tdep.c (s390_gdbarch_init): Likewise.
6976 * sh-tdep.c (sh_gdbarch_init): Likewise.
6977 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
6978 * v850-tdep.c (v850_gdbarch_init): Likewise.
6979 * vax-tdep.c (vax_gdbarch_init): Likewise.
6980 * x86-64-tdep.c (x86_64_init_abi): Likewise.
6982 * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
6983 * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
6984 * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
6985 * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
6986 * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
6987 * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
6988 * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
6989 * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
6991 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
6993 * Makefile.in (acconfig_h): Remove incorrect macro.
6995 (osabi.o): Update dependencies.
6996 * configure.tgt: Set gdb_osabi based on target triplet.
6997 * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
6998 * configure: Regenerated.
6999 * config.in: Regenerated.
7000 * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
7001 (GDB_OSABI_DEFAULT): Define if not already defined.
7002 (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
7003 (set_osabi_string): New variables.
7004 (gdbarch_register_osabi): Add new OS ABI to
7005 gdb_osabi_available_names.
7006 (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
7007 (set_osabi, show_osabi): New functions.
7008 (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
7010 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
7012 * arch-utils.c (gdbarch_info_init): Set osabi to
7013 GDB_OSABI_UNINITIALIZED.
7014 * gdbarch.sh: Add osabi to struct gdbarch and to struct
7015 gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
7016 in gdbarch_list_lookup_by_info and in gdbarch_update_p.
7017 * gdbarch.c: Regenerated.
7018 * gdbarch.h: Regenerated.
7019 * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
7021 (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
7022 * osabi.h (enum gdb_osabi): Move to defs.h.
7023 (gdbarch_init_osabi): Update prototype.
7024 * defs.h (enum gdb_osabi): Moved here.
7025 * Makefile.in: Update dependencies.
7027 * alpha-tdep.h: Don't include "osabi.h".
7028 (struct gdbarch_tdep): Remove osabi member.
7029 * alpha-tdep.c: Include "osabi.h".
7030 (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
7031 iterate over arches. Update call to gdbarch_init_osabi.
7032 (alpha_dump_tdep): Don't dump osabi.
7033 * alpha-linux-tdep.c: Include "osabi.h".
7034 * alpha-osf1-tdep.c: Include "osabi.h".
7035 * alphafbsd-tdep.c: Include "osabi.h".
7036 * alphanbsd-tdep.c: Include "osabi.h".
7038 * arm-tdep.h: Don't include "osabi.h".
7039 (struct gdbarch_tdep): Remove osabi member.
7040 * arm-tdep.c: Include "osabi.h".
7041 (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
7042 iterate over arches. Update call to gdbarch_init_osabi.
7043 (arm_dump_tdep): Don't dump osabi.
7044 * arm-linux-tdep.c: Include "osabi.h".
7045 * armnbsd-tdep.c: Include "osabi.h".
7047 * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
7048 Update call to gdbarch_init_osabi.
7050 * i386-tdep.h: Don't include "osabi.h".
7051 (struct gdbarch_tdep): Remove osabi member.
7052 * i386-tdep.c: Include "osabi.h".
7053 (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
7054 iterate over arches. Update call to gdbarch_init_osabi.
7055 (i386_dump_tdep): Don't dump osabi.
7056 * i386-linux-tdep.c: Include "osabi.h".
7057 * i386-sol2-tdep.c: Include "osabi.h".
7058 * i386bsd-tdep.c: Include "osabi.h".
7059 * i386gnu-tdep.c: Include "osabi.h".
7060 * i386ly-tdep.c: Include "osabi.h".
7061 * i386nbsd-tdep.c: Include "osabi.h".
7062 * i386obsd-tdep.c: Include "osabi.h".
7064 * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
7065 (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
7066 check osabi when iterating over arches. Update call to
7068 (mips_dump_tdep): Don't dump osabi.
7070 * ns32k-tdep.h: Don't include "osabi.h".
7071 (struct gdbarch_tdep): Remove.
7072 * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
7073 gdbarch_lookup_osabi. Don't iterate over arches. Don't
7074 allocate tdep. Update call to gdbarch_init_osabi.
7075 (ns32k_dump_tdep): Remove.
7076 (_initialize_ns32k_tdep): Update call to gdbarch_register.
7077 * ns32knbsd-tdep.c: Include "osabi.h".
7079 * ppc-tdep.h: Don't include "osabi.h".
7080 (struct gdbarch_tdep): Remove osabi member.
7081 * rs6000-tdep.c: Include "osabi.h".
7082 (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
7083 osabi when iterating over arches. Update call to
7085 (rs6000_dump_tdep): Don't dump osabi.
7086 * ppc-linux-tdep.c: Include "osabi.h".
7087 * ppcnbsd-tdep.c: Include "osabi.h".
7089 * sh-tdep.h: Don't include "osabi.h".
7090 (struct gdbarch_tdep): Remove osabi member.
7091 * sh-tdep.c: Include "osabi.h".
7092 (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
7093 iterate over arches. Update call to gdbarch_init_osabi.
7094 (sh_dump_tdep): Don't dump osabi.
7095 * shnbsd-tdep.c: Include "osabi.h".
7097 * sparc-tdep.c: Include "osabi.h".
7098 (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
7099 iterate over arches. Update call to gdbarch_init_osabi.
7100 (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
7103 * vax-tdep.h: Don't include "osabi.h".
7104 (struct gdbarch_tdep): Remove.
7105 * vax-tdep.c: Include "osabi.h".
7106 (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
7107 iterate over arches. Don't allocate tdep. Update call
7108 to gdbarch_init_osabi.
7109 (vax_dump_tdep): Remove.
7110 (_initialize_vax_tdep): Update call to gdbarch_register.
7112 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
7114 * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
7116 (breakpoint_re_set_one): Don't fetch the value for a disabled
7119 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
7121 * buildsym.h (processing_hp_compilation): Remove obsolete variable.
7122 * gdbarch.sh Remove include of "value.h" in gdbarch.h.
7123 (COERCE_FLOAT_TO_DOUBLE): Remove.
7124 * gdbarch.c: Regenerate.
7125 * gdbarch.h: Regenerate.
7126 * Makefile.in: Remove value_h from gdbarch_h.
7127 * valops.c (coerce_float_to_double): New variable.
7128 (default_coerce_float_to_double): Remove.
7129 (standard_coerce_float_to_double): Remove.
7130 (value_arg_coerce): Use coerce_float_to_double.
7131 (_initialize_valops): Add "set coerce-float-to-double".
7132 * value.h (default_coerce_float_to_double): Remove prototype.
7133 (standard_coerce_float_to_double): Remove prototype.
7135 * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
7137 * mdebugread.c (parse_symbol): Likewise.
7138 * stabsread.c (define_symbol): Mark all functions as prototyped.
7140 * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
7141 * alpha-tdep.c (alpha_gdbarch_init): Remove call to
7142 set_gdbarch_coerce_float_to_double.
7143 * arm-tdep.c (arm_gdbarch_init): Likewise.
7144 * frv-tdep.c (frv_gdbarch_init): Likewise.
7145 * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
7146 * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
7147 * mips-tdep.c (mips_gdbarch_init): Likewise.
7148 (mips_coerce_float_to_double): Remove.
7149 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
7150 (rs6000_coerce_float_to_double): Remove.
7151 * s390-tdep.c (s390_gdbarch_init): Likewise.
7152 * sh-tdep.c (sh_gdbarch_init): Likewise.
7153 (sh_coerce_float_to_double): Remove.
7154 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
7155 (sparc_coerce_float_to_double): Remove.
7156 * v850-tdep.c (v850_gdbarch_init): Likewise.
7157 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
7158 * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
7159 * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
7160 (hppa_coerce_float_to_double): Remove prototype.
7161 * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
7163 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
7165 * regformats/reg-m68k.dat: Remove fpcode and fpflags.
7167 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
7169 Suggested by Stewart Brown <sb24@avaya.com>:
7170 * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
7171 in recursive calls. Handle TYPE_CODE_TYPEDEF.
7172 (c_type_print_varspec_suffix): Likewise.
7174 2003-01-04 Mark Kettenis <kettenis@gnu.org>
7176 * configure.in: Don't set and AC_SUBST SUBDIRS.
7177 * configure: Regenerated.
7179 * configure.in: Remove code dealing with shared libraries.
7180 * Makefile.in: Remove HLDFLAGS and HLDENV.
7181 * configure: Regenerated.
7183 2003-01-04 Andrew Cagney <ac131313@redhat.com>
7185 * frame.c (deprecated_frame_xmalloc): New function.
7186 (deprecated_set_frame_saved_regs_hack): New function.
7187 (deprecated_set_frame_extra_info_hack): New function.
7188 * frame.h (deprecated_frame_xmalloc): Declare.
7189 (deprecated_set_frame_saved_regs_hack): Declare.
7190 (deprecated_set_frame_extra_info_hack): Declare.
7192 2003-01-04 Mark Kettenis <kettenis@gnu.org>
7194 * configure.in: Move code that provides the --enable-gdbtk option
7195 right after the code that handles the --enable-tui option, and
7197 * configure: Regenerated.
7199 * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
7200 AC_CHECK_FUNCS and remove the old check for pread64.
7201 * acinclude.m4 (AC_GNU_SOURCE): New macro.
7202 * acconfig.h (_GNU_SOURCE): Add.
7203 (HAVE_PREAD64): Remove.
7204 * configure, aclocal.m4, config.in: Regenerated.
7206 2003-01-03 Andrew Cagney <ac131313@redhat.com>
7208 * alpha-tdep.c: Use get_frame_saved_regs.
7209 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
7210 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
7211 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
7212 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
7213 * vax-tdep.c, xstormy16-tdep.c: Ditto.
7215 2003-01-03 Mark Kettenis <kettenis@gnu.org>
7217 * configure.in: Remove all use of the SUBDIRS variable; add
7218 directories using the AC_CONFIG_SUBDIRS macro instead. Polish
7219 code providing the --enable-multi-ice option, and move it right in
7220 front of the code that checks whether gdbserver is supported.
7222 * configure: Regenerated.
7223 * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
7226 2003-01-03 Andrew Cagney <cagney@redhat.com>
7228 * alpha-tdep.c: Use deprecated_update_frame_base_hack.
7229 * avr-tdep.c, cris-tdep.c: Ditto.
7230 * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
7231 * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
7233 2003-01-03 Mark Kettenis <kettenis@gnu.org>
7235 * configure.in: Remove --enable-netrom option.
7236 * configure: Regenerated.
7238 2003-01-03 Mark Kettenis <kettenis@gnu.org>
7240 * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
7241 declaration for `struct re_pattern_buffer' instead.
7242 * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
7244 2003-01-03 J. Brobecker <brobecker@gnat.com>
7246 * mdebugread.c (parse_symbol): Count until the stEnd matching
7249 2003-01-02 Mark Kettenis <kettenis@gnu.org>
7251 * configure.in: Remove --with-cpu option.
7252 subscripts. Remove evil changequotes here.
7253 * acconfig.h (TARGET_CPU_DEFAULT): Remove.
7254 * config.in, configure: Regenerated.
7256 * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
7257 * configure.in: Cleanup section that sources GDB and BFD configure
7258 subscripts. Remove evil changequotes here.
7259 * config.in, configure: Regenerated.
7261 2003-01-02 Andrew Cagney <ac131313@redhat.com>
7263 * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
7264 frame accessor methods.
7265 * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
7266 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
7267 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
7268 * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
7269 * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
7270 * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
7271 * z8k-tdep.c: Ditto.
7273 2003-01-02 Mark Kettenis <kettenis@gnu.org>
7275 * configure.in: Remove UI_OUT configuration code.
7276 * ada-lang.c: Update assuming UI_OUT is always true.
7277 * Makefile.in (UIOUT_CFLAGS): Remove.
7278 * configure: Regenerated.
7279 * TODO: Remove blurb about elimination of -DUI_OUT.
7281 * configure.in: Move code that provides the --enable-gdbcli,
7282 --enable-gdbmi options right before the code that handles the
7283 --enable-tui option. Polish a bit.
7284 * configure: Regenerated.
7286 * configure.in: Rewrite check for GNU regex and the
7287 --without-included regex option, and move it into the "Checks for
7288 library functions" section. This makes us use the system regex
7289 again by default on systems with version 2 of the GNU C library.
7290 This was apparently broken.
7291 * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
7292 * acconfig.h (USE_INCLUDED_REGEX): Remove.
7293 * config.in, configure: Regenerated.
7295 * configure.in: Move code that provides the --enable-tui option
7296 before the "Checks for libraries" section. Polish the code
7297 somewhat and set need_curses to yes if we build the TUI. Rewrite
7298 code that looks for a library providing termcap functionality to
7299 match more closely what's done in the Readline library, and move
7300 it into to the "Checks for libraries" section.
7301 * configure: Regenerated.
7302 * Makefile.in (TERMCAP): Remove variable.
7303 * config/i386/go32.mh (TERMCAP): Remove variable.
7305 2003-01-02 Andrew Cagney <ac131313@redhat.com>
7307 * MAINTAINERS: Mention gdb_mbuild.sh.
7308 * gdb_mbuild.sh: Rewrite.
7310 2003-01-02 Mark Kettenis <kettenis@gnu.org>
7312 * configure.in: Fix typo in last change.
7313 * config.in, configure: Regenerated.
7315 2003-01-02 Andrew Cagney <ac131313@redhat.com>
7317 * valarith.c (value_binop): Delete obsolete code and comments.
7318 * configure.host: Ditto.
7319 * buildsym.h (make_blockvector): Ditto.
7320 * buildsym.c (make_blockvector): Ditto.
7321 * defs.h (enum language): Ditto.
7322 (chill_demangle): Ditto.
7323 * elfread.c (elf_symtab_read): Ditto.
7324 * dwarfread.c (CHILL_PRODUCER): Ditto.
7325 (set_cu_language): Ditto.
7326 (handle_producer): Ditto.
7327 * expprint.c (print_subexp): Ditto.
7328 * gdbtypes.c (chill_varying_type): Ditto.
7329 * gdbtypes.h (builtin_type_chill_bool): Ditto.
7330 (builtin_type_chill_char, builtin_type_chill_long): Ditto.
7331 (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
7332 (chill_varying_type): Ditto.
7333 * language.h (_LANG_chill): Ditto.
7334 * language.c (binop_result_type, integral_type): Ditto.
7335 (character_type, string_type, structured_type): Ditto.
7336 (lang_bool_type, binop_type_check): Ditto.
7337 * stabsread.h (os9k_stabs): Ditto.
7338 * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
7339 (define_symbol, read_type, read_struct_fields): Ditto.
7340 (read_array_type, read_enum_type, read_huge_number): Ditto.
7341 (read_range_type, start_stabs): Ditto.
7342 * symfile.c (init_filename_language_table): Ditto.
7343 (add_psymbol_with_dem_name_to_list): Ditto.
7344 * symtab.c (symbol_init_language_specific): Ditto.
7345 (symbol_init_demangled_name, symbol_demangled_name): Ditto.
7346 * symtab.h (struct general_symbol_info): Ditto.
7347 (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
7348 * typeprint.c (typedef_print): Ditto.
7349 * utils.c (fprintf_symbol_filtered): Ditto.
7350 * valops.c (value_cast, search_struct_field, value_slice): Delete
7352 (varying_to_slice): Delete function.
7353 * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
7354 (varying_to_slice): Delete declaration.
7355 * MAINTAINERS: Update.
7357 2003-01-02 Mark Kettenis <kettenis@gnu.org>
7359 * configure.in: Reorganize "Checks for library functions section"
7360 a bit. Remove check for `btowc' and `isascii' functions.
7361 * configure: Regenerated.
7363 * acconfig.h (_MSE_INT_H): Remove.
7364 * configure.in: Create "Checks for header files" section, and move
7365 appropriate tests there. Don't check for objlist.h, wchar.h,
7366 wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
7367 misdetection fix. Also add "Checks for types", "Checks for
7368 compiler characteristics" and "Checks for library functions"
7370 * config.in, configure: Regenerated.
7372 * configure.in: Create "Checks for programs" section, and move
7373 appropriate tests there.
7375 2003-01-01 Mark Kettenis <kettenis@gnu.org>
7377 * configure.in: Create "Checks for libraries" section, and move
7378 appropriate tests there. Cleanup check for wctype in libw. Use
7379 AC_SEARCH_LIBS to see whether we need libsocket.
7380 * configure: Regenerated.
7382 For older changes see ChangeLog-2002
7388 version-control: never