* ia64-linux-nat.c (ia64_register_addr): Add gdbarch parameter,
[binutils-gdb.git] / gdb / ChangeLog
index f4eb180cdfbef6a99954ea6e56a048d41a84c4ba..586e4d89ebc983488519739171afc195fcbbebe5 100644 (file)
@@ -1,3 +1,151 @@
+2007-10-12  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * ia64-linux-nat.c (ia64_register_addr): Add gdbarch parameter,
+       replacing use of global current_gdbarch.
+       (ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise.
+       (ia64_linux_fetch_register, ia64_linux_store_register): Update callers.
+
+       * ia64-tdep.c (SIGCONTEXT_REGISTER_ADDRESS): Remove macro.
+       (ia64_sigtramp_frame_init_saved_regs): Add next_frame parameter,
+       replace uses of SIGCONTEXT_REGISTER_ADDRESS.
+       (ia64_sigtramp_frame_cache): Update caller.
+
+2007-10-12  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdbarch.sh (deprecated_use_struct_convention): Remove.
+       (extract_return_value, store_return_value): Remove.
+       (return_value): Remove default implementation.
+       * gdbarch.c, gdbarch.h: Regenerate.
+
+       * stack.c (return_command): Remove compatibility hack.
+       * arch-utils.c (legacy_return_value): Remove.
+       * arch-utils.h (legacy_return_value): Likewise.
+
+       * arch-utils.c (always_use_struct_convention): Remove.
+       * arch-utils.h (always_use_struct_convention): Likewise.
+       * value.c (generic_use_struct_convention): Remove.
+       * defs.h (generic_use_struct_convention): Likewise.
+
+2007-10-12  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * avr-tdep.c (avr_return_value): New function.
+       (avr_gdbarch_init): Call set_gdbarch_return_value instead of
+       set_gdbarch_extract_return_value.
+
+       * fvr-tdep.c (frv_return_value): New function.
+       (frv_gdbarch_init): Call set_gdbarch_return_value instead of
+       set_gdbarch_extract_return_value, set_gdbarch_store_return_value,
+       and set_gdbarch_deprecated_use_struct_convention.
+
+       * ia64-tdep.c (ia64_use_struct_convention): Make static.
+       Add check for structure, union, or array types.
+       (ia64_extract_return_value): Make static.
+       (ia64_store_return_value): Make static.  Support multi-word values.
+       (ia64_return_value): New function.
+       (ia64_gdbarch_init): Call set_gdbarch_return_value instead of
+       set_gdbarch_extract_return_value, set_gdbarch_store_return_value,
+       and set_gdbarch_deprecated_use_struct_convention.
+
+2007-10-12  Joel Brobecker  <brobecker@adacore.com>
+
+       * solib-target.c (solib_target_parse_libraries)
+       [HAVEHAVE_LIBEXPAT not defined]: Fix thinko in return type.
+
+2007-10-12  Jim Blandy  <jimb@codesourcery.com>
+
+       * serial.h (struct serial_ops): Document read_prim to return zero
+       at EOF.
+       * ser-base.c (do_ser_base_readchar): Return SERIAL_EOF when
+       read_prim returns zero, not SERIAL_TIMEOUT.
+
+2007-10-12  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * alpha-mdebug-tdep.c: Include "gdb_string.h".
+       (find_proc_desc): Add fix-up code for setjmp procedure descriptor.
+       * mdebugread.c (parse_procedure): Remove setjmp fix-up code.
+       * Makefile.in (alpha-mdebug-tdep.o): Update dependencies.
+
+       * config/alpha/alpha.mt (DEPRECATED_TM_FILE): Remove.
+       * config/alpha/alpha-linux.mt (DEPRECATED_TM_FILE): Remove.
+       * config/alpha/alpha-osf1.mt (DEPRECATED_TM_FILE): Remove.
+       * config/alpha/fbsd.mt (DEPRECATED_TM_FILE): Remove.
+       * config/alpha/tm-alpha.h: Remove file.
+
+2007-10-12  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * breakpoint.c (breakpoint_sals_to_pc): Do not check for
+       DEPRECATED_PC_REQUIRES_RUN_BEFORE_USE.
+
+       * config/pa/tm-hppa.h: Delete file.
+       * config/pa/hppa64.mt: Do not set DEPRECATED_TM_FILE.
+       * config/pa/hppahpux.mt: Likewise.
+       * config/pa/hppa.mt: Likewise.
+       * config/pa/linux.mt: Likewise.
+       * hppa-tdep.c (hppa_pc_requires_run_before_use): Delete.
+
+2007-10-12  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/arm/nm-nbsdaout.h: Remove file.
+       * config/nm-nbsdaout.h: Likewise.
+       * config/nm-nbsd.h: Likewise.
+
+2007-10-12  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * block.h (struct block): Remove "gcc_compile_flag" member.
+       (BLOCK_GCC_COMPILED): Remove.
+       * block.c (allocate_block): Do not clear BLOCK_GCC_COMPILED.
+       * buildsym.c (finish_block): Do not set it.
+       * symmisc.c (dump_symtab_1): Do not dump it.
+
+       * value.h (using_struct_return): Remove "gcc_p" argument.
+       * value.c (using_struct_return): Likewise.
+       * eval.c (evaluate_subexp_standard): Adapt callers.
+       * infcall.c (call_function_by_hand): Likewise.
+       * stack.c (return_command): Likewise.
+       * sparc-tdep.c (sparc32_push_dummy_code): Likewise.
+
+       * gdbarch.sh (push_dummy_code): Remove "using_gcc" parameter.
+       * gdbarch.c, gdbarch.h: Regenerate.
+       * cris-tdep.c (cris_push_dummy_code): Adapt prototype.
+       * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Likewise.
+       * sparc-tdep.c (sparc32_push_dummy_code): Likewise.
+       * infcall.c (generic_push_dummy_code, push_dummy_code): Likewise.
+       (push_dummy_code, call_function_by_hand): Adapt callers.
+
+2007-10-12  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * infcmd.c (print_return_value): Remove STRUCT_RETURN argument.
+       (finish_command_continuation, finish_command): Adapt callers.
+
+2007-10-12  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * infcall.c (call_function_by_hand): Remove special handling
+       for HP aCC compiled code.
+
+2007-10-12  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * cris-tdep.c (cris_push_dummy_call): Support arguments passed by
+       reference.  Fix endianness bugs.
+       (cris_reg_struct_has_address): Remove.
+       (cris_gdbarch_init): Remove set_gdbarch_deprecated_reg_struct_has_addr
+       and set_gdbarch_deprecated_use_struct_convention calls.
+
+       * gdbarch.sh (deprecated_reg_struct_has_addr): Remove.
+       * gdbarch.c, gdbarch.h: Regenerate.
+       * infcall.c (call_function_by_hand): Remove handling of
+       deprecated_reg_struct_has_addr.
+
+2007-10-11  Daniel Jacobowitz  <dan@codesourcery.com>
+           Kazu Hirata  <kazu@codesourcery.com>
+
+       * breakpoint.c (do_enable_breakpoint): Delay enabling until after
+       checking watchpoint resources.
+
+2007-10-11  Kazu Hirata  <kazu@codesourcery.com>
+
+       * memattr.c (inaccessible_by_default): Change the initial
+       value to 1.
+
 2007-10-11  Daniel Jacobowitz  <dan@codesourcery.com>
 
        PR gdb/2280