X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2FChangeLog;h=cfa5e1f421963bec2ab84f92d4c2ec9616db07e7;hb=138e7be507e1244fa17077ed394f0bad769ebc5d;hp=0599d7c8c0310cf07b81da1513db37f258c58118;hpb=e8ac10a6d24baaa047da8824433a6393cc8af7c3;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0599d7c8c0..cfa5e1f421 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,605 @@ +2003-07-11 Mark Kettenis + + * alpha-tdep.h (struct gdbarch_tdep): Add members `sc_pc_offset', + `sc_regs_offset' and `sc_fpregs_offset'. + * alpha-tdep.c (SIGFRAME_PC_OFF, SIGFRAME_REGSAVE_OFF, + SIGFRAME_FPREGSAVE_OFF): Remove defines. + (alpha_sigtramp_register_address): Rewrite to use new members of + `struct gdbarch_tdep'. + (alpha_gdbarch_init): Initialize new members of struct + gdbarch_tdep'. + * alphafbsd-tdep.c (alphafbsd_use_struct_convention): Use + ALPHA_REGISTER_SIZE instead of DEPRECATED_REGISTER_SIZE. + (alphafbsd_sigtramp_start, alphafbsd_sigtramp_end): Nre variables. + (alphafbsd_pc_in_sigtramp): Implement. + (alphafbsd_sigtramp_offset): New function. + (alphafbsd_sigcontext_addr): New function. + (alphafbsd_init_abi): Initialize signal trampoline related members + of `struct gdbarch_tdep'. + (_initialize_alphafbsd_tdep): Add prototype. + +2003-07-11 Theodore A. Roth + + * Makefile.in (install-only): Quote sed expression when generating + transformed_name. + +2003-07-11 Richard Henderson + + * Makefile.in (dwarf2-frame.o): Add complaints_h. + * dwarf2-frame.c: Include complaints.h. + (decode_frame_entry_1): Rename from decode_frame_entry; tidy + variable initialization; return NULL on error. + (decode_frame_entry): New. + +2003-07-11 Andrew Cagney + + * frame.h (frame_address_in_block): Delete declaration. + * blockframe.c (frame_address_in_block): Delete function. + (get_frame_block): Use get_frame_address_in_block. + (block_innermost_frame): Ditto. + * stack.c (print_frame, backtrace_command_1): Ditto. + + * frame.h (get_frame_address_in_block): Declare. + (frame_unwind_address_in_block): Declare. + * frame.c (frame_unwind_address_in_block): New function. + (get_frame_address_in_block): New function. + +2003-07-10 Andrew Cagney + + * gdbarch.sh: Simplify predicate methods. Remove need to provide + pre-default. Note: re-generate has no effect. + +2003-07-10 Andrew Cagney + + * gdbarch.sh: When a variable, but not a function, compare against + 0. Fix problem in previous patch. + * gdbarch.c: Re-generate. + +2003-07-10 Andrew Cagney + + * gdbarch.sh: Use gdb_assert instead of internal_error. Compare + functions against NULL, not 0. + * gdbarch.c: Re-generate. + +2003-07-10 Fred Fish + + * coff-solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Default to a + null string instead of a null pointer. + * solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Ditto. + +2003-07-09 Michael Snyder + + * sh-tdep.c (sh_dsp_register_sim_regno): Off-by-one error. + +2003-07-09 Mark Kettenis + + * x86-64-tdep.h (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, + X86_64_RDI_REGNUM, X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, + X86_64_RIP_REGNUM, X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, + X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM): Moved here ... + * x86-64-tdep.c: ... from here. + +2003-07-09 Andreas Schwab + + * m68k-tdep.h (enum struct_return): Define. + (struct gdbarch_tdep): Add struct_return. + * m68k-tdep.c (m68k_push_dummy_call): Non-scalars bigger than 4 + bytes are padded to the right, not to the left. Pass struct value + address in register %a1, not on stack. + (m68k_use_struct_convention): New function. + (m68k_gdbarch_init): Set use_struct_convention. Initialize + struct_return in tdep to pcc_struct_return. + * m68klinux-tdep.c (m68k_linux_init_abi): Set struct_return to + reg_struct_return. + +2003-07-09 Joel Brobecker + + * somread.c (som_symfile_offsets): Fix compilation error. + +2003-07-09 Andrew Cagney + + * regcache.c (register_size): Only check REGISTER_RAW_SIZE once. + Add comments about the checks. + +2003-07-08 Andrew Cagney + + * Makefile.in: Make dependency section headers consistent. + (config_h): Move to $BUILD headers section. + (exc_request_U_h, exc_request_S_h, msg_reply_S_h): Ditto. + (msg_U_h, notify_S_h, process_reply_S_h): Ditto. + (ada-exp.tab.c): Move to YACC/LEX section. + (ada-lex.c, c-exp.tab.c, f-exp.tab.c): Ditto. + (jv-exp.tab.c, m2-exp.tab.c, objc-exp.tab.c, p-exp.tab.c): Ditto. + +2003-07-08 Kris Warkentin + + * nto-procfs.c: Cleaned up a bunch of ARI hits. + Include "gdb_dirent.h" instead of , replace all instances + of strerror with safe_strerror, use ISO C function definitions, + and replace instances of sprintf with snprintf. + +2003-07-07 Andrew Cagney + + * frame.c (get_prev_frame): Enable check for identical frames. + Update comments. Update error messages. + +2003-07-07 Joel Brobecker + + * hpread.c (hpread_psymtab_to_symtab_1): Fix compilation failure. + +2003-07-07 Joel Brobecker + + * xcoffread.c (xcoff_psymtab_to_symtab_1): Remove call to + sort_symtab_syms, no longer necessary. + +2003-07-07 Joel Brobecker + + * config/mips/tm-irix6.h (MIPS_REGISTER_TYPE): Add comment. + +2003-07-07 Joel Brobecker + + * mips-tdep.c (mips_register_raw_size): Fix compilation failure. + (mips_register_byte): Likewise. + +2003-07-07 Daniel Jacobowitz + + * Makefile.in (sparc_tdep_h): New. + (sparc-linux-nat.o, sparc-nat.o, sparc-tdep.o, sparc64nbsd-nat.o) + (sparcnbsd-nat.o, sparcnbsd-tdep.o): Depend on $(sparc_tdep_h). + * sparc-linux-nat.c: Include "sparc-tdep.h". + * sparc-nat.c: Likewise. + * sparc-tdep.c: Likewise. + * sparc64nbsd-nat.c: Likewise. + * sparcnbsd-nat.c: Likewise. + * sparcnbsd-tdep.c: Likewise. + * sparc-tdep.h: New file. + * config/sparc/tm-sparc.h: Remove prototypes for sparc_y_regnum + and sparc_npc_regnum. + +2003-07-07 Daniel Jacobowitz + + * mips-linux-nat.c (mips_linux_cannot_fetch_register) + (mips_linux_cannot_store_register): List supported instead of + unsupported registers. + +2003-07-07 Daniel Jacobowitz + + * disasm.c (dump_insns): Separate instructions from addresses. + +2003-07-07 Andreas Schwab + + * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update + dependencies. + * m68k-tdep.c (NUM_FREGS): Delete. + (SIG_PC_FP_OFFSET): Delete. + (TARGET_M68K): Delete. + (P_MOVEAL_SP_FP, P_ADDAW_SP, P_ADDAL_SP, P_SUBQW_SP, + P_SUBQL_SP, P_LEA_SP_SP, P_LEA_PC_A5, P_FMOVEMX_SP, + P_MOVEL_SP, P_MOVEML_SP): Define. + (P_MOVL_SP_FP, P_MOVL, P_JSR, P_BSR, P_LEAL, P_MOVML, P_FMOVM, + P_TRAP): Delete. + (m68k_register_raw_size): Delete. + (m68k_register_virtual_size): Delete. + (m68k_register_type): Renamed from m68k_register_virtual_type and + add gdbarch argument. + (m68k_store_struct_return): Delete. + (m68k_deprecated_extract_return_value): Delete. + (m68k_deprecated_extract_struct_value_address): Delete. + (m68k_frame_chain): Delete. + (m68k_frame_saved_pc): Delete. + (m68k_fix_call_dummy): Delete. + (m68k_push_dummy_frame): Delete. + (m68k_pop_frame): Delete. + (m68k_extract_return_value): New function. + (m68k_store_return_value): Rewrite using regcache. + (m68k_extract_struct_value_address): Rewrite using regcache. + (m68k_push_dummy_call): New function. + (struct m68k_frame_cache): Define. + (m68k_alloc_frame_cache): New function. + (m68k_analyze_frame_setup): New function. + (m68k_analyze_register_saves): New function. + (m68k_analyze_prologue): New function. + (m68k_skip_prologue): Rewrite using above functions. + (m68k_unwind_pc): New function. + (m68k_frame_cache): New function. + (m68k_frame_this_id): New function. + (m68k_frame_prev_register): New function. + (m68k_frame_unwind): New variable. + (m68k_frame_p): New function. + (m68k_sigtramp_frame_cache): New function. + (m68k_sigtramp_frame_this_id): New function. + (m68k_sigtramp_frame_prev_register): New function. + (m68k_sigtramp_frame_unwind): New variable. + (m68k_sigtramp_frame_p): New function. + (m68k_frame_base_address): New function. + (m68k_frame_base): New function. + (m68k_unwind_dummy_id): New function. + (fill_gregset): Use regcache_collect. + (fill_fpregset): Likewise. + (m68k_saved_pc_after_call): Only define if SYSCALL_TRAP is + defined. + (m68k_gdbarch_init): Don't define call_dummy_words. Don't set + deprecated_init_frame_pc, deprecated_store_struct_return, + deprecated_extract_return_value, deprecated_store_return_value, + deprecated_frame_chain, deprecated_frame_saved_pc, + deprecated_frame_init_saved_regs, deprecated_register_raw_size, + deprecated_register_virtual_size, + deprecated_max_register_raw_size, + deprecated_max_register_virtual_size, + deprecated_register_virtual_type, deprecated_register_size, + deprecated_register_byte, deprecated_register_bytes, + deprecated_fp_regnum, deprecated_use_generic_dummy_frames, + call_dummy_location, deprecated_call_dummy_breakpoint_offset, + deprecated_pc_in_call_dummy, deprecated_call_dummy_length, + deprecated_call_dummy_start_offset, deprecated_call_dummy_words, + deprecated_sizeof_call_dummy_words, deprecated_fix_call_dummy, + deprecated_push_dummy_frame, deprecated_pop_frame, + deprecated_dummy_write_sp. Set deprecated_saved_pc_after_call + only if SYSCALL_TRAP is defined. Set extract_return_value, + store_return_value, extract_struct_value_address, register_type, + push_dummy_call, unwind_dummy_id, unwind_pc. Add two frame unwind + predicates. + * m68k-tdep.h (M68K_D1_REGNUM, M68K_NUM_REGS, + M68K_MAX_REGISTER_SIZE): Define. + (struct m68k_sigtramp_info): Define. + (struct gdbarch_tdep): Add get_sigtramp_info. + * m68klinux-nat.c (fetch_register): Use register_size instead of + REGISTER_RAW_SIZE. Don't put assignment in if. + (store_register): Likewise. + (fetch_inferior_registers): Likewise. + (store_inferior_registers): Likewise. + * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Delete. + (m68k_linux_frame_saved_pc): Delete. + (m68k_linux_sigcontext_reg_offset, + m68k_linux_ucontext_reg_offset): Define. + (m68k_linux_get_sigtramp_info): New function. + (m68k_linux_extract_return_value): Rewrite using regcache. + (m68k_linux_store_return_value): Likewise. + (m68k_linux_extract_struct_value_address): Likewise. + (m68k_linux_init_abi): Set get_sigtramp_info in tdep structure. + Don't set deprecated_frame_saved_pc, + deprecated_extract_return_value, deprecated_store_return_value, + deprecated_extract_struct_value_address. Set + extract_return_value, store_return_value, + extract_struct_value_address. + +2003-07-07 Andrew Cagney + + * expprint.c: Include "user-regs.h" instead of "frame.h". + (print_subexp): Use user_reg_map_regnum_to_name, instead of + frame_map_regnum_to_name. + * frame.c: Include "user-regs.h" instead of "builtin-regs.h". + (frame_map_name_to_regnum): Simplify, call + user_reg_map_name_to_regnum. + (frame_map_regnum_to_name): Simplify, call + user_reg_map_regnum_to_name. + (frame_register_unwind): Update. + * std-regs.c: Include "user-regs.h" instead of "builtin-regs.h". + (_initialize_frame_reg): Call user_reg_add_builtin. + * findvar.c: Include "user-regs.h" instead of "builtin-regs.h". + (value_of_register): Use value_of_user_reg. + * eval.c (evaluate_subexp_standard): Update. + * parse.c (write_dollar_variable): Update. + * d10v-tdep.c (d10v_print_registers_info): Update. + * infcmd.c (registers_info): Update. + * Makefile.in (SFILES): Delete "builtin-regs.c", add "user-regs.c". + (builtin_regs_h): Delete macro. + (user_regs_h): Define. + (COMMON_OBS): Delete "builtin-regs.o", add "user-regs.o". + (builtin-regs.o): Delete target. + (user-regs.o): Specify dependencies. + (expprint.o): Update dependencies. + (findvar.o): Update dependencies. + (frame.o): Update dependencies. + (std-regs.o): Update dependencies. + +2003-07-06 Christopher Faylor + + * win32-nat.c (solib_symbols_add): Use one variable for all section + address stuff. Pass variable rather than address of variable to + safe_symbol_file_add. + +2003-07-06 Andreas Schwab + + * m68klinux-nat.c (fill_fpregset): Fix use of loop index. + +2003-07-04 Joel Brobecker + + * rs6000-nat.c (vmap_symtab): Fix compilation error. + +2003-07-04 Kris Warkentin + + * config/i386/nto.mh: Set XM_FILE to xm-i386.h + +2003-07-04 Kris Warkentin + + * nto-procfs.c: New file. Native procfs support for QNX Neutrino. + * config/i386/nto.mh: New file. + * config/i386/nm-nto.h: New file. + * configure.host: Add i[3456]86-*-nto*. + +2003-07-03 Joel Brobecker + + * remote-vx.c (vx_add_symbols): Fix compilation error. + +2003-07-03 Andrew Cagney + + * gdbarch.sh (REGISTER_NAME): Do not supply a default. + * gdbarch.h, gdbarch.c: Re-generate. + * config/sparc/tm-sparc.h (REGISTER_NAME): Define. + (legacy_register_name): Declare. + * config/sparc/tm-sp64.h (legacy_register_name): Declare. + (REGISTER_NAME): Define. + * sparc-tdep.c (legacy_register_name): New function. + * config/pa/tm-hppa64.h (REGISTER_NAMES): Delete macro. + (REGISTER_NAME): Define. + (hppa64_register_name): Declare. + * config/pa/tm-hppa.h (REGISTER_NAMES): Delete macro. + * hppa-tdep.c (hppa_gdbarch_init): Set hppa_register_name. + (hppa64_register_name): New function. + (hppa_register_name): New function. + * arch-utils.c (legacy_register_name): Delete. + * arch-utils.h (legacy_register_name): Delete. + +2003-07-03 Daniel Jacobowitz + + * cli/cli-interp.c (cli_interpreter_resume): Update the + cli_uiout's stream to gdb_stdout. + +2003-07-03 Andrew Cagney + + * gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Add + predicate. + * gdbarch.h, gdbarch.c: Re-generate. + * regcache.c (init_regcache_descr): Use legacy code when either + REGISTER_BYTE or REGISTER_RAW_SIZE is set. + +2003-07-02 Daniel Jacobowitz + + * NEWS: Move "set logging" entry into GDB 6.0 section. + +2003-07-02 Jim Blandy + + * s390-tdep.c (struct frame_extra_info): new member: + 'stack_bought_valid'. + (s390_get_frame_info): Set fextra_info->stack_bought_valid if we + initialize fextra_info->stack_bought. + (s390_frameless_function_invocation): Don't trust the value of + fextra_info_ptr->stack_bought unless + fextra_info->stack_bought_valid is set. + + New S390 prologue analyzer. + * s390-tdep.c (struct prologue_value, enum pv_boolean): New types. + (pv_set_to_unknown, pv_set_to_constant, pv_set_to_register, + pv_constant_last, pv_add, pv_add_constant, pv_subtract, + pv_logical_and, pv_is_identical, pv_is_register, pv_is_array_ref, + compute_x_addr, s390_on_stack, s390_store, + s390_get_signal_frame_info): New functions. + (S390_NUM_SPILL_SLOTS): New macro. + (s390_get_frame_info): Rewritten. + (is_arg_reg): Deleted. + + Break out the decoding of S/390 instructions into separate + functions, to make it more legible, and easier to check + against the spec. + * s390-tdep.c (is_ri, is_ril, is_rr, is_rre, is_rs, is_rse, + is_rx, is_rxe): New functions. + (op1_aghi, op2_aghi, op1_ahi, op2_ahi, op_ar, op_basr, op1_bras, + op2_bras, op_l, op_la, op1_larl, op2_larl, op_lgr, op1_lghi, + op2_lghi, op1_lhi, op2_lhi, op_lr, op_nr, op_ngr, op_s, op_st, + op_std, op1_stg, op2_stg, op_stm, op1_stmg, op2_stmg, op_svc): New + enums for opcode values. (Is this an improvement?) + +2003-07-02 Andrew Cagney + + * i386-tdep.c: Revert change committed as part of trad-frame code + below. + +2003-07-02 Daniel Jacobowitz + + * breakpoint.c (insert_catchpoint): Make static. + +2003-07-02 Andreas Schwab + + * ia64-tdep.c (ia64_push_dummy_call): Define as combination of + former ia64_push_arguments and ia64_push_return_address, and use + regcache functions instead of read/write_register. + (ia64_gdbarch_init): Set push_dummy_call instead of + deprecated_push_arguments and deprecated_push_return_address. + +2003-07-01 Andreas Jaeger + + * x86-64-tdep.c (x86_64_push_arguments): Align stack to 16-byte + before the call. + Set %rax only to number of SSE registers used. + +2003-07-01 Andrew Cagney + + * trad-frame.h: Update comments, a -1 .addr is reserved. + (trad_frame_value_p, trad_frame_addr_p): Declare. + (trad_frame_reg_p): Declare. + (trad_frame_set_value): Rename trad_frame_register_value. + (trad_frame_set_unknown): Declare. + * trad-frame.c (trad_frame_realreg_p): New function. + (trad_frame_addr_p, trad_frame_value_p): New function. + (trad_frame_set_unknown): New function. + (trad_frame_alloc_saved_regs): Initialize .addr to -1, not zero. + (trad_frame_prev_register): Use trad_frame_realreg_p, + trad_frame_addr_p and trad_frame_value_p. + (trad_frame_set_value): Rename trad_frame_register_value. + * d10v-tdep.c (d10v_frame_unwind_cache): Use trad_frame_addr_p + and trad_frame_set_value. + +2003-06-30 Jim Blandy + + Patch from IBM (authors unspecified, probably Ulrich Weigand and + Gerhard Tonn) for argument passing on the S/390 and S/390x: + * s390-tdep.c (S390_STACK_FRAME_OVERHEAD): This is always space + for 16 registers, and then 32 more bytes. + (S390_STACK_PARAMETER_ALIGNMENT, S390_NUM_FP_PARAMETER_REGISTERS): + New macros. + (is_double_arg): The s390x doesn't handle DOUBLE_ARGS specially. + Move up in the file, since it's now used by is_simple_arg. + (is_simple_arg): Don't assume registers are four bytes long. + Exclude all double arguments. Extended floats are not simple + args. + (is_power_of_two): New function. + (pass_by_copy_ref): Call is_power_of_two, and check that the + length fits in a register, rather than listing all the acceptable + sizes. Extended floats are not passed by reference. + (s390_push_arguments): Don't assume registers are four bytes long. + Reserve an argument register to point to the buffer for structures + returned by value. Use S390_NUM_FP_PARAMETER_REGISTERS and + S390_STACK_FRAME_OVERHEAD. + +2003-06-30 Andreas Schwab + + * utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to + format error message. + +2003-06-30 Joel Brobecker + + * sparc-tdep.c (stop_after_trap): Remove declaration, not used. + +2003-06-30 David Carlton + + Band-aid for PR c++/1245. + * Makefile.in (cp-support.o): Depend on complaints_h. + * cp-support.c: Include complaints.h. Add declaration for + find_last_component. + (cp_find_first_component): Separate code into + cp_find_first_component_aux. + (cp_find_first_component_aux): Call demangled_name_complaint. + (demangled_name_complaint): New. + +2003-06-30 Andrew Cagney + + * remote.c (remote_write_bytes): Explicitly compute and then use + the payload size. Update comments to reflect. Fixes problem of + GDB not sending small packets as found by Fred Fish. + +2003-06-30 Andrew Cagney + + * remote.c (remote_async_wait): Fix -Wformat problem. + +2003-06-29 Andrew Cagney + + * remote.c (remote_wait): Call error, and not warning, when the + packet is corrupt. + (remote_async_wait): Ditto. + +2003-06-29 Daniel Jacobowitz + + * sparc-tdep.c (sparc_y_regnum): Make external again. + +2003-06-29 Daniel Jacobowitz + + * cli/cli-logging.c (pop_output_files): Add void to function + definition. + +2003-06-29 Andrew Cagney + + * frame.c (frame_register_unwind): Use unsigned char when dumping + the buffer contents. + +2003-06-28 Daniel Jacobowitz + + * cli/cli-logging.c: New file. + * cli-out.c (struct ui_out_data): Add original_stream. + (cli_redirect): New function. + (cli_ui_out_impl): Add cli_redirect. + (cli_out_new): Initialize original_stream. + * ui-out.c (default_ui_out_impl): Add NULL for redirect member. + (uo_redirect, ui_out_redirect): New. + * ui-out.h (struct ui_out_impl): Add redirect member. + (redirect_ftype): New. + (ui_out_redirect): Add prototype. + * Makefile.in: Add rules for cli-logging.c. + * NEWS: Mention "set logging". + +2003-06-27 Elena Zannoni + + * config/powerpc/ppc64-linux.mh (NATDEPFILES): Add linux-nat.o. + +2003-06-27 Andrew Cagney + + * m68hc11-tdep.c (m68hc11_call_dummy_address): Delete function. + (m68hc11_gdbarch_init): Do not set call_dummy_address. + * avr-tdep.c (avr_call_dummy_address): Delete function. + (avr_gdbarch_init): Do not set call_dummy_address. + +2003-06-27 Elena Zannoni + + * symfile.c (syms_from_objfile): Move variables to inner block. + Move the checks for the non-mainline case a bit earlier to avoid + doing some useless computations. + +2003-06-27 Elena Zannoni + + * dwarfread.c (decode_modified_type): Gag new compiler warning. + +2003-06-26 Elena Zannoni + + * dwarf2read.c (dwarf2_locate_sections): Ignore empty .eh_frame + sections. + +2003-06-26 Michael Chastain + + * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1210.cc, + gdb/testsuite/gdb.c++/pr-1210.exp. + +2003-06-26 Andrew Cagney + + * config/djgpp/fnchange.lst: Fix 8.3 problem with sim/ppc's + altivec_expression.h and altivec_registers.h. + +2003-06-26 Andrew Cagney + + * mips-tdep.c (gdb_print_insn_mips): Only explicitly set + info->mach when MIPS16. Patch suggested by Fred Fish. + +2003-06-26 Andrew Cagney + + * utils.c (internal_vproblem): Print the problem to a reason + buffer and then pass to query. Make the msg variable more local. + +2003-06-26 Andrew Cagney + + * gdbarch.sh (FRAME_ARGS_ADDRESS): Add predicate. Deprecate. + (FRAME_LOCALS_ADDRESS): Add predicate. Deprecate. + * gdbarch.h, gdbarch.c: Re-generate. + * frame-base.c (default_frame_args_address): Update. Use + default_frame_base_address when DEPRECATED_FRAME_ARGS_ADDRESS is + not available. + (default_frame_locals_address): Ditto for + DEPRECATED_FRAME_LOCALS_ADDRESS. + * vax-tdep.c (vax_sigtramp_saved_pc): Update. + (vax_frame_num_args): Update. + (vax_gdbarch_init): Update. + * rs6000-tdep.c (rs6000_gdbarch_init): Update. + * ns32k-tdep.c (ns32k_gdbarch_init): Update. + * mcore-tdep.c (mcore_gdbarch_init): Update. + * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. + * ia64-tdep.c (ia64_gdbarch_init): Update. + * symtab.h (address_class): Update comments. + * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Update. + * config/sparc/tm-sparc.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. + (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. + * config/pa/tm-hppa64.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. + (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. + (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. + * config/m68k/tm-delta68.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. + * alpha-mdebug-tdep.c: Update. + * ada-lang.c (add_symbols_from_enclosing_procs): Update. + +2003-06-26 Andreas Jaeger + + * x86-64-tdep.c (x86_64_push_arguments): Always set %rax to number + of SSE registers so that varargs functions work. Rework handling + of passing arguments on the stack. + (x86_64_store_return_value): Return double and float values in SSE + register. + 2003-06-24 Michael Chastain * PROBLEMS: Document pr gdb/1091 and pr gdb/1193, @@ -210,13 +812,13 @@ * linux-nat.h: New file. * linux-nat.c: Include linux-nat.h. - * lin-lwp.c: Include linux-nat.h. + * lin-lwp.c: Include linux-nat.h. Move struct lwp_info def to linux-nat.h. - * linux-proc.c: Include linux-nat.h. + * linux-proc.c: Include linux-nat.h. (linux_make_note_section): Iterate over lwps instead of threads. (linux_do_thread_registers): Use lwp instead of merged pid. * config/nm-linux.h: Move miscelaneous def'ns to linux-nat.h. - * Makefile.in (lin-lwp.o, linux-proc.o, linux-nat.o): + * Makefile.in (lin-lwp.o, linux-proc.o, linux-nat.o): Add dependency on linux_nat_h. 2003-06-19 Theodore A. Roth @@ -327,7 +929,7 @@ * h8300-tdep.c (h8300s_register_name): Enable MACH and MACL registers for H8/300S. (h8300_print_registers_info): Ditto. - (h8300_gdbarch_init): Accommodate register count for H8/300S. + (h8300_gdbarch_init): Accommodate register count for H8/300S. 2003-06-18 Daniel Jacobowitz @@ -443,7 +1045,7 @@ * h8300-tdep.c (E_PSEUDO_CCR_REGNUM): New define. (E_PSEUDO_EXR_REGNUM): Ditto. (h8300_is_argument_spill): Check for instructions moving argument - registers into safe registers. + registers into safe registers. (h8300_skip_prologue): Check for stm instruction to push registers used for register variables onto stack. (gdb_print_insn_h8300): Remove. @@ -499,7 +1101,7 @@ * avr-tdep.c (avr_scan_prologue): Update comment describing the various prologue types. - Properly scan prologues generated by gcc with the -mcall-prologues + Properly scan prologues generated by gcc with the -mcall-prologues option. Add code to scan -mcall-prologues for mega devices. @@ -550,7 +1152,7 @@ * rdi-share/host.h (Fail): Change to a varargs function. * remote-rdi.c (Fail): Update. - + 2003-06-15 Mark Kettenis * i386-tdep.c (i386_next_regnum): Fix bounds checking. @@ -568,7 +1170,7 @@ * x86-64-tdep.c (x86_64_convert_register_p): New function. (x86_64_init_abi): Set convert_register_p, register_to_value and value_to_register here. - + 2003-06-14 Andrew Cagney * mips-tdep.c (mips_register_to_value): Make static. @@ -673,7 +1275,7 @@ * gdbarch.sh: Document what PUSH_DUMMY_CALL replaces. * gdbarch.h, gdbarch.c: Re-generate. - + 2003-06-13 Andrew Cagney * gdbarch.sh: Document what UNWIND_DUMMY_ID replaces. Clarify @@ -945,8 +1547,8 @@ 2003-06-11 Jeff Johnston - * doublest.c (convert_doublest_to_floatformat): When dealing - with the implied integer bit, only alter mant_bits if we are + * doublest.c (convert_doublest_to_floatformat): When dealing + with the implied integer bit, only alter mant_bits if we are processing a full 32 bits of mantissa. 2003-06-11 David Carlton @@ -1062,7 +1664,7 @@ 2003-06-11 Jeff Johnston - * ia64-tdep.c (ia64_gdbarch_init): Set number of long double + * ia64-tdep.c (ia64_gdbarch_init): Set number of long double bits to 128. 2003-06-11 Andrew Cagney @@ -1188,7 +1790,7 @@ dependencies for building remote.o. * remote-fileio.c: New file implementing the remote File-I/O protocol. * remote-fileio.h: New header file defining remote File-I/O interface. - * remote.c (remote_write_bytes, remote_read_bytes): Remove + * remote.c (remote_write_bytes, remote_read_bytes): Remove static storage class. (remote_wait, remote_async_wait): Call remote_fileio_request() on 'F' packet. @@ -1325,7 +1927,7 @@ * acinclude.m4 (gcc_AC_CHECK_DECL, (gcc_AC_CHECK_DECL): Stolen from GCC's acinclude.m4. * configure.in: Check for getopt's delcaration. - * aclocal.m4, config.in, configure: Re-generate. + * aclocal.m4, config.in, configure: Re-generate. * main.c (error_init): Delete declaration. * defs.h (error_init): Declare. * rs6000-tdep.c (rs6000_fetch_pointer_argument): Make static. @@ -1442,7 +2044,7 @@ (OBJC_FETCH_POINTER_ARGUMENT): Shorthand macro for using FETCH_POINTER_ARGUMENT with Objective-C method arguments. (find_implementation, resolve_msgsend, resolve_msgsend_stret, - resolve_msgsend_super, resolve_msgsend_super_stret): + resolve_msgsend_super, resolve_msgsend_super_stret): Use it. 2003-06-07 Andrew Cagney @@ -1521,7 +2123,7 @@ * sh-tdep.c (sh_gdbarch_init): Ditto. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. - + 2003-06-07 Andrew Cagney * elfread.c (elf_symtab_read): Replace "special_local_sym_p" and @@ -1554,7 +2156,7 @@ * win32-nat.c (solib_symbols_add): Allocate section_addrs dynamically. * xcoffread.c (xcoff_symfile_offsets): Avoid use of SECT_OFF_MAX. - + 2003-06-06 Andrew Cagney * d10v-tdep.c (struct d10v_unwind_cache): Delete "return_pc". @@ -1566,7 +2168,7 @@ 2003-06-06 Michal Ludvig - * x86-64-tdep.c (x86_64_fill_fxsave): Pass correct regnums + * x86-64-tdep.c (x86_64_fill_fxsave): Pass correct regnums to regcache_collect(). 2003-06-05 J. Brobecker @@ -1620,7 +2222,7 @@ * hppa-tdep.c (hppa_prepare_to_proceed): Remove, no longer used. 2003-06-04 Jeff Johnston - + * acconfig.h: Add HAVE_TKILL_SYSCALL definition check. * config.in: Regenerated. * configure.in: Add test for syscall function and check for @@ -1638,7 +2240,7 @@ (stop_wait_callback): Check for threads already having exited and delete such threads fromt the lwp list when discovered. (stop_callback): Don't assert retcode of kill call. - + Roland McGrath * i386-linux-nat.c (ps_get_thread_area): New function needed by nptl libthread_db. @@ -1651,7 +2253,7 @@ (alpha_heuristic_frame_prev_register): Likewise. * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise. - * alpha-mdebug-tdep.c (alpha_mdebug_after_prologue): Use + * alpha-mdebug-tdep.c (alpha_mdebug_after_prologue): Use alpha-specific register id names. (alpha_mdebug_frame_unwind_cache): Likewise. (alpha_mdebug_frame_prev_register): Likewise. @@ -1706,7 +2308,7 @@ 2003-06-03 Theodore A. Roth - * remote.c (init_remote_state): Compute sizeof_g_packet by + * remote.c (init_remote_state): Compute sizeof_g_packet by accumulation of the size of all registers instead of blindly using DEPRECATED_REGISTER_BYTES. @@ -1777,7 +2379,7 @@ 2003-06-02 Elena Zannoni - * target.h (TARGET_SYMFILE_POSTREAD): Delete unused macro. + * target.h (TARGET_SYMFILE_POSTREAD): Delete unused macro. * symfile.c (reread_symbols): Delete call to TARGET_SYMFILE_POSTREAD. (syms_from_objfile): Ditto. @@ -1797,7 +2399,7 @@ (alpha_convert_flt_dbl, alpha_convert_dbl_flt): Remove. (alpha_lds, alpha_sts): New. (alpha_convert_register_p): Change from _register_convertible. - (alpha_register_to_value): Change from _convert_to_virtual; + (alpha_register_to_value): Change from _convert_to_virtual; restructure and fail for type sizes other than 4 or 8. (alpha_value_to_register): Similarly. (alpha_extract_return_value): Use alpha_sts. @@ -1857,7 +2459,7 @@ * alpha-tdep.c (alpha_push_dummy_call): Use builtin_type_ieee_double_little instead of builtin_type_double. - * alpha-tdep.c (alpha_push_dummy_call): Handle ABI mandated + * alpha-tdep.c (alpha_push_dummy_call): Handle ABI mandated sign-extension of 32-bit values. (alpha_store_return_value): Similarly. @@ -2782,7 +3384,7 @@ 2003-05-23 Raoul Gough Committed by Elena Zannoni . - * coffread.c(coff_symtab_read): Do relocate static symbols from PE + * coffread.c(coff_symtab_read): Do relocate static symbols from PE files, don't relocate absolute symbols (and do use mst_abs). 2003-05-23 Andrew Cagney @@ -2944,7 +3546,7 @@ * c-exp.y (typebase): Remove duplicate occurence of `SIGNED_KEYWORD LONG LONG'. Use builtin_type_long_long instead - of lookup_signed_typename. + of lookup_signed_typename. 2003-05-18 Mark Kettenis @@ -3091,13 +3693,13 @@ * Makefile.in (cp-valprint.o): Update dependencies. 2003-05-15 Jeff Johnston - + * ia64-tdep.c: Increase max_skip_non_prologue_insns to 40. (examine_prologue): Support looking through leaf functions, knowing - they start with mov r2,r12. Support skipping over indirect stores - of the input registers. Upon hitting a non-nop branch instruction - or predicated instruction, bail out by setting lim_pc to the current - pc value in the loop. At the end, if the lim_pc value is still + they start with mov r2,r12. Support skipping over indirect stores + of the input registers. Upon hitting a non-nop branch instruction + or predicated instruction, bail out by setting lim_pc to the current + pc value in the loop. At the end, if the lim_pc value is still beyond our calculated value and we have trust_limit set, use the lim_pc value. @@ -3124,8 +3726,8 @@ declaration. 2003-05-15 David Carlton - - Committed by Elena Zannoni + + Committed by Elena Zannoni * symtab.c (lookup_symbol_aux): Delete calls to lookup_symbol_aux_minsyms. (lookup_symbol_aux_minsyms): Comment out function and @@ -3326,9 +3928,9 @@ * avr-tdep.c (avr_remote_translate_xfer_address): Ditto. 2003-05-07 Jeff Johnston - - * dwarf2read.c (dwarf_decode_lines): Only use output of - check_cu_functions() when calling record_line(). Do not update + + * dwarf2read.c (dwarf_decode_lines): Only use output of + check_cu_functions() when calling record_line(). Do not update the current address. 2003-05-07 Andrew Cagney @@ -3368,7 +3970,7 @@ * gdbarch.h, gdbarch.c: Re-generate. * remote.c (remote_xfer_memory): Use gdbarch_remote_translate_xfer_address. - + 2003-05-07 Jeff Johnston * infrun.c (prev_pc): Move declaration ahead of proceed(). @@ -3434,7 +4036,7 @@ * config/tm-qnxnto.h: New file. * config/i386/i386nto.mt: New file. * config/i386/tm-i386nto.h: New file. - + 2003-05-04 Andrew Cagney * gdbthread.h (save_infrun_state): Drop prev_func_name parameter. @@ -3457,7 +4059,7 @@ that REGISTER_BYTE is consistent with the regcache. * gdbarch.sh (REGISTER_BYTE): Add a predicate. * gdbarch.h, gdbarch.c: Regenerate. - + 2003-05-04 Mark Kettenis * i387-tdep.c (fxsave_offset): Add entries for %xmm8-%xmm15. @@ -3506,7 +4108,7 @@ (print_formatted): Call gdb_print_insn, instead of print_insn. * Makefile.in (printcmd.o): Update dependencies. (mcore-tdep.o, d10v-tdep.o): Ditto. - + 2003-05-02 Andrew Cagney * std-regs.c (value_of_builtin_frame_pc_reg): Delete #ifdef @@ -3831,7 +4433,7 @@ 2003-04-24 Adam Fedor - * objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): Remove + * objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): Remove architecture dependant compilation and mark as unimplemented (until they get put in the gdbarch vector). @@ -3845,7 +4447,7 @@ * infcall.c (call_function_by_hand): Eliminate redundant indentation. Move "saved_async" and "old_cleanups" to where they are needed. - + 2003-04-23 Andrew Cagney * infcall.c (call_function_by_hand): Eliminate the variables "rc" @@ -3856,7 +4458,7 @@ * infcall.c (call_function_by_hand): Move variables "start_sp", "dummy", "sizeof_dummy1" and "dummy1" and corresponding dummy call code to ON_STACK switch branch. - + 2003-04-23 Andrew Cagney * infcall.c (call_function_by_hand): Make declaration of "i", @@ -3887,7 +4489,7 @@ * config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro. Update all the tests using SOFT_FLOAT considering the fact that - this macro was always set to 0. + this macro was always set to 0. * config/pa/tm-hppa64.h: Update all the tests using SOFT_FLOAT considering the fact that this macro was always set to 0. * hppa-tdep.h (hppa_store_return_value): Likewise. @@ -3969,7 +4571,7 @@ (i386_fp_regnum_p, i386_fpc_regnum_p, i386_sse_regnum_p, i386_mxcsr_regnum_p): Remove redundant parentheses. (i386_register_name): Use i386_num_register_names. - + * i386-tdep.c (i386_extract_return_value, i386_store_return_value): Correct check for availability of floating-point registers. @@ -4006,7 +4608,7 @@ Committed by Elena Zannoni * gdb_gcore.sh: New script to create a core dump of a process. - + 2003-04-17 Elena Zannoni * values.c (value_being_returned): Don't fetch the return @@ -4015,11 +4617,11 @@ 2003-04-17 Jeff Johnston * thread-db.c: Reindented. - + 2003-04-17 Jeff Johnston - - * gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t, - td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t + + * gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t, + td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t as types. @@ -4045,7 +4647,7 @@ - + 2003-04-16 Kevin Buettner * rs6000-tdep.c (rs6000_gdbarch_init): For the SysV ABI, set @@ -4383,7 +4985,7 @@ * alpha-tdep.c (alpha_init_frame_pc_first): Update. * x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update declaration. - + 2003-04-11 Andrew Cagney * i387-tdep.c: Update copyright. @@ -4605,7 +5207,7 @@ be freed more than once, causing wild memory corruptions. (gdb_disassembly): Look for the substring "-thread", instead of "-threads" in the target name, to make sure to find - the 'multi-thread' target. Also, make sure we do the right thing + the 'multi-thread' target. Also, make sure we do the right thing with the "core" target. 2003-04-07 Kevin Buettner @@ -4746,7 +5348,7 @@ * frame-unwind.h: Include "frame.h". (struct frame_unwind): Add "type" field. * Makefile.in (frame_unwind_h): Add $(frame_h). - + 2003-04-04 Andrew Cagney * x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build. @@ -4842,13 +5444,13 @@ (d10v_frame_this_id): Use the previous frame's inner most stack address and this frame's func address for the frame ID. Use frame_id_build. Don't analyze beyond the current instruction. - + 2003-04-01 Andrew Cagney * frame.h (get_frame_locals_address, get_frame_args_address): Refer to the base address, instead of the address of the first local or parameter. - + 2003-04-01 Andrew Cagney Add frame debug info addresses: @@ -5098,7 +5700,7 @@ * valops.c (hand_function_call): Replace TARGET_WRITE_SP with DEPRECATED_DUMMY_WRITE_SP. Call when the method is available, instead of when push_dummy_call is not available. - + 2003-03-30 Andrew Cagney * infttrace.c: Include "gdbthread.h". @@ -5138,7 +5740,7 @@ * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always define. * gdbarch.h: Regenerate. - + 2003-03-29 Andrew Cagney * infttrace.h: New file. @@ -5222,7 +5824,7 @@ TARGET_WRITE_SP. * sparc-tdep.c (sparc_push_dummy_frame): Ditto. (sparc_pop_frame): Ditto. - + 2003-03-27 Andrew Cagney * NEWS: Mention removal of support for hppa*-*-bsd* and @@ -5364,7 +5966,7 @@ * cris-tdep.c (cris_gdbarch_init): Ditto. * m68k-tdep.c (m68k_gdbarch_init): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. - + 2003-03-25 Andrew Cagney * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace @@ -5396,7 +5998,7 @@ * avr-tdep.c (avr_gdbarch_init): Update. * arm-tdep.c (arm_gdbarch_init): Update. * alpha-tdep.c (alpha_gdbarch_init): Update. - + 2003-03-25 Andrew Cagney * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete. @@ -5530,7 +6132,7 @@ * arm-tdep.c (show_arm_command): Don't print out help. Instead, show the current setting of each value. (_initialize_arm_tdep): Delete variable new_cmd and add new vars - new_set and new_show. Use add_setshow_cmd_full and + new_set and new_show. Use add_setshow_cmd_full and add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32" commands and add new version as subcommands of "set/show arm". @@ -5542,7 +6144,7 @@ (num_disassembly_options): Renamed from num_flavor_options. (valid_disassembly_styles): Renamed from valid_flavors. (disassembly_style): Renamed from disassembly_flavor. - (set_disassembly_style_sfunc): Renamed from + (set_disassembly_style_sfunc): Renamed from set_disassembly_flavor_sfunc. (set_disassembly_style): Renamed from set_disassembly_flavor. (arm_othernames): Updated. @@ -5796,7 +6398,7 @@ * frame.c (frame_register): Update. (get_saved_register): Update. * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update. - + 2003-03-13 Andrew Cagney * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME. @@ -5943,7 +6545,7 @@ * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. - + 2003-03-12 Andrew Cagney Eliminate the need for POP_FRAME. @@ -6088,7 +6690,7 @@ * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. - + 2003-03-10 Andrew Cagney * gdbarch.sh (gdbarch_unwind_pc): New method. @@ -6136,7 +6738,7 @@ * gdbarch.sh: Don't generate two macro definitions when an undefined macro taking no arguments. * gdbarch.h: Regenerate. - + 2002-03-07 Michal Ludvig * x86-64-tdep.c (x86_64_save_dummy_frame_tos) @@ -6146,7 +6748,7 @@ 2003-03-07 Michal Ludvig * x86-64-tdep.c (x86_64_function_has_prologue): New function. - (x86_64_skip_prologue): Move prologue detection to + (x86_64_skip_prologue): Move prologue detection to separate function. * x86-64-tdep.h (x86_64_function_has_prologue): New prototype. @@ -6159,7 +6761,7 @@ * gdbarch.sh (unwind_dummy_id): New multi-arch method with predicate. * gdbarch.h, gdbarch.c: Regneerate. - + 2003-03-05 Andrew Cagney * d10v-tdep.c (struct d10v_unwind_cache): Add field "base". @@ -6331,7 +6933,7 @@ 2003-03-02 Stephane Carrez - * arch-utils.c (generic_register_byte): Fix to use the loop index + * arch-utils.c (generic_register_byte): Fix to use the loop index and not regnum when summing the size of all registers up to regnum. 2003-03-01 Andrew Cagney @@ -6380,13 +6982,13 @@ * avr-tdep.c (avr_gdbarch_init): Update. * arm-tdep.c (arm_gdbarch_init): Update. * alpha-tdep.c (alpha_gdbarch_init): Update. - + 2003-03-01 Andrew Cagney * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to option enum and switch. When no windows, set the interpreter to INTERP_CONSOLE. - + 2003-03-01 Andrew Cagney * main.c (captured_main): Replace magic option characters with an @@ -6555,7 +7157,7 @@ * cris-tdep.c (cris_gdbarch_init): Ditto. * avr-tdep.c (avr_gdbarch_init): Ditto. * arm-tdep.c (arm_gdbarch_init): Ditto. - + 2003-02-26 Kevin Buettner * mips-tdep.c (show_mips_abi): New function. @@ -6563,9 +7165,9 @@ command ``show mips abi''. 2003-02-26 Jeff Johnston - + From Elena Zannoni - * dbxread.c (process_one_symbol): Only record line 0 if one or + * dbxread.c (process_one_symbol): Only record line 0 if one or more sline entries have been seen for the function. 2003-02-26 Michael Chastain @@ -6818,24 +7420,24 @@ * c-valprint.c (c_val_print): Ditto. * expprint.c (print_subexp): Ditto. * findvar.c (locate_var_value): Ditto. - * infcmd.c (jump_command): Ditto. - * linespec.c (decode_line_2, decode_compound): Ditto. - * maint.c (maintenance_translate_address): Ditto. - * objc-lang.c (compare_selectors, compare_classes): Ditto. + * infcmd.c (jump_command): Ditto. + * linespec.c (decode_line_2, decode_compound): Ditto. + * maint.c (maintenance_translate_address): Ditto. + * objc-lang.c (compare_selectors, compare_classes): Ditto. * printcmd.c (build_address_symbolic, sym_info, print_frame_args): Ditto. - * p-valprint.c (pascal_val_print): Ditto. - * stabsread.c (define_symbol): Ditto. + * p-valprint.c (pascal_val_print): Ditto. + * stabsread.c (define_symbol): Ditto. * stack.c (print_frame, frame_info, print_block_frame_locals) - (print_frame_arg_vars, return_command): Ditto. - * symfile.c (compare_symbols, compare_psymbols): Ditto. - * symmisc.c (print_symbol): Ditto. + (print_frame_arg_vars, return_command): Ditto. + * symfile.c (compare_symbols, compare_psymbols): Ditto. + * symmisc.c (print_symbol): Ditto. * symtab.c (lookup_partial_symbol, lookup_block_symbol) (compare_search_syms, print_symbol_info, print_msymbol_info) - (rbreak_command): Ditto. - * tracepoint.c (tracepoints_info): Ditto. - * typeprint.c (typedef_print): Ditto. - * valops.c (value_of_variable, hand_function_call): Ditto. + (rbreak_command): Ditto. + * tracepoint.c (tracepoints_info): Ditto. + * typeprint.c (typedef_print): Ditto. + * valops.c (value_of_variable, hand_function_call): Ditto. * cli/cli-cmds.c (edit_command, list_command): Ditto. * ada-typeprint.c: Update Copyright. * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto. @@ -6975,7 +7577,7 @@ instead of the absence of the "nm.h" file, to determine of the configuration non-native. * configure: Regenerate. - + 2003-02-14 Elena Zannoni From Brian Ford @@ -7083,7 +7685,7 @@ * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of . * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies. - + 2003-02-06 Andrew Cagney * Makefile.in (symm-nat.o): Update dependencies. @@ -7139,7 +7741,7 @@ * infttrace.c (threads_continue_all_but_one): Fix precedence problem with '&' and '!='. (threads_continue_all_with_signals): Ditto. - + 2003-02-05 Jim Ingham Keith Seitz Elena Zannoni @@ -7234,7 +7836,7 @@ 2003-02-04 Andrew Cagney - * NEWS: Note that the m32r-*-elf* is obsolete. + * NEWS: Note that the m32r-*-elf* is obsolete. * monitor.c (monitor_expect): Obsolete reference to m32r. * configure.tgt: Mark m32r-*-elf* as obsolete. * MAINTAINERS: Mark m32k as obsolete. @@ -7358,7 +7960,7 @@ (allocate_objfile): Call it. * objfiles.h (terminate_minimal_symbol_table): New declaration. (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is - non-NULL. + non-NULL. * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether objfile has minimal symbols, compare minimal_symbol_count to zero, instead of comparing msymbols with NULL. @@ -7366,7 +7968,7 @@ * solib-sunos.c (solib_add_common_symbols): Call terminate_minimal_symbol_table. * symfile.c (reread_symbols): Same. - + 2003-02-03 Kevin Buettner * s390-tdep.c (s390_address_class_type_flags) @@ -7383,7 +7985,7 @@ * dwarf2cfi.c (pointer_encoding): Added new parameter. * dwarf2cfi.c, dwarf2read.c: Changed all warnings and - error messages to contain BFD filename. + error messages to contain BFD filename. 2003-02-02 Elena Zannoni @@ -7409,7 +8011,7 @@ (breakpoint_1): Use cleanup to invoke ui_out_table_end(). * cli/cli-setshow.c (cmd_show_list): Use make_cleanup_ui_out_tuple_begin_end. - + 2003-02-02 Andrew Cagney * frame.c (frame_unwind_register): New function. @@ -7496,7 +8098,7 @@ (som_solib_add): Use. * hppa-tdep.c (hppa_pointer_to_address_hack): New function. * hppa-tdep.c (unwind_command): Use. - + 2003-02-01 Andrew Cagney * gdb_dirent.h: Mark up valid uses of , d_namelen and @@ -7548,7 +8150,7 @@ * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts. * utils.c: Update comments documenting legitimate uses of PTR. - + * utils.c: Re-indent. * config/djgpp/fnchange.lst: Delete nindy files. @@ -7593,7 +8195,7 @@ elfstab_build_psymtabs. * gdb-stabs.h (struct dbx_symfile_info): Add stab_section. (DBX_STAB_SECTION): New macro. - * stabsread.h (elfstab_build_psymtabs): Update prototype. + * stabsread.h (elfstab_build_psymtabs): Update prototype. * symfile.c (symfile_dummy_outputs): New function. (symfile_relocate_debug_section): New function. * symfile.h (symfile_relocate_debug_section): Add prototype. @@ -7678,7 +8280,7 @@ Daniel Jacobowitz Fix PR gdb/961. - * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New + * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New variables. (RANGES_SECTION): New. (dwarf_ranges_buffer): New variable. @@ -7831,7 +8433,7 @@ now pass in either a `struct section_addr_info' list to say where each section is loaded, or a `struct section_offsets' table. Pass these new arguments through to syms_from_objfile as appropriate. - (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets, + (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets, with the appropriate quiescent values for the new arguments. * symfile.c: #include "gdb_assert.h". @@ -7981,7 +8583,7 @@ (COMMON_OBS): Add frame-unwind.o. (frame-unwind.o): Specify dependencies. (frame.o, dummy-frame.o): Update dependencies. - + 2003-01-18 Andrew Cagney * ada-valprint.c: Eliminate PTR. @@ -7992,7 +8594,7 @@ * remote-mips.c, remote-sds.c, remote-vx.c: Ditto. * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto. * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto. - + 2003-01-17 Andrew Cagney * main.c (captured_main): Don't use PTR. @@ -8037,7 +8639,7 @@ * breakpoint.c (until_break_command): Add new argument. Use it to decide whether to stop only at the current frame or not. * breakpoint.h (until_break_command): Update prototype. - * infcmd.c (until_command): Add new argument to until_break_command + * infcmd.c (until_command): Add new argument to until_break_command call. (advance_command): New function. (_initialize_infcmd): Update help string for 'until' command. @@ -8078,7 +8680,7 @@ * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront. Update copyright year. * dbxread.c(struct cont_elem): Obsolete. - (process_later, process_now): Obsolete functions. + (process_later, process_now): Obsolete functions. (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support. Update copyright year. * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros. @@ -8368,7 +8970,7 @@ * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto. * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto. * xstormy16-tdep.c: Ditto. - + 2003-01-07 Andrew Cagney * alpha-tdep.c: Use get_frame_base. @@ -8380,7 +8982,7 @@ * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto. * config/sparc/tm-sparc.h: Ditto. - + 2003-01-07 Andrew Cagney * frame.c (deprecated_get_frame_context): New function. @@ -8389,7 +8991,7 @@ (deprecated_set_frame_context): Declare. * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context. (cfi_init_extra_frame_info): Use deprecated_set_frame_context. - + 2003-01-07 Andrew Cagney * frame.c (deprecated_set_frame_next_hack): New function. @@ -8495,7 +9097,7 @@ 2003-01-06 Michal Ludvig - * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore + * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore since it is in i386-tdep.c. 2003-01-06 J. Brobecker @@ -8826,7 +9428,7 @@ * avr-tdep.c, cris-tdep.c: Ditto. * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. - + 2003-01-03 Mark Kettenis * configure.in: Remove --enable-netrom option. @@ -8849,7 +9451,7 @@ subscripts. Remove evil changequotes here. * acconfig.h (TARGET_CPU_DEFAULT): Remove. * config.in, configure: Regenerated. - + * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove. * configure.in: Cleanup section that sources GDB and BFD configure subscripts. Remove evil changequotes here. @@ -8866,7 +9468,7 @@ * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. * z8k-tdep.c: Ditto. - + 2003-01-02 Mark Kettenis * configure.in: Remove UI_OUT configuration code.