aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-05-09* m68k-tdep.c (m68k_convert_register_p, m68k_register_to_value)Mark Kettenis2-0/+64
(m68k_value_to_register): New functions. (m68k_gdbarch_init): Set convert_register_p, register_to_value and value_to_register.
2004-05-08* defs.h (enum return_value_convention): AddMark Kettenis5-55/+118
RETURN_VALUE_ABI_RETURNS_ADDRESS and RETURN_VALUE_ABI_PRESERVES_ADDRESS. * infcmd.c (legacy_return_value): New function. (print_return_value): Rwerite to implement RETURN_VALUE_ABI_RETURNS_ADDRESS. * values.c (using_struct_return): Check for inequality to RETURN_VALUE_REGISTER_CONVENTION instead of equality to RETURN_VALUE_STRUCT_CONVENTION. * i386-tdep.c (i386_return_value): Implement RETURN_VALUE_ABI_RETURNS_ADDRESS.
2004-05-08* vax-tdep.c: Tweak comments. Reorder include files. Don'tMark Kettenis3-26/+36
include "symtab.h", "opcode/vax.h" and "inferior.h". (vax_skip_prologue): Replace calls to read_memory_integer by calls to read_memory_unsigned_integer. (vax_gdbarch_init): Reorder. (_initialize_vax_tdep): Spell out prototype. * Makefile.in (vax-tdep.o): Update dependencies.
2004-05-082004-05-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-22/+6
* infrun.c (resume): Delete call to DO_DEFERRED_STORES. * target.c (target_detach, target_disconnect): Ditto. 2004-05-08 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Delete description of DO_DEFERRED_STORES.
2004-05-082004-05-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-11/+13
* infcall.c (call_function_by_hand): When no DEPRECATED_SAVE_DUMMY_FRAME_TOS call generic_save_dummy_frame_tos. * rs6000-tdep.c (rs6000_gdbarch_init): Do not set DEPRECATED_SAVE_DUMMY_FRAME_TOS. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. * mcore-tdep.c (mcore_gdbarch_init): Ditto.
2004-05-08 * scripttempl/avr.sc: Do not set LMA for "eeprom" section.Marek Michalkiewicz2-1/+4
2004-05-082004-05-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney9-96/+12
* gdbint.texinfo (Target Architecture Definition): Delete references to DEPRECATED_FIX_CALL_DUMMY. 2004-05-08 Andrew Cagney <cagney@redhat.com> * gdbarch.sh (DEPRECATED_FIX_CALL_DUMMY): Delete. * gdbarch.h, gdbarch.c: Re-generate. * ns32k-tdep.c (ns32k_gdbarch_init): Do not set deprecated_fix_call_dummy. * v850-tdep.c (v850_gdbarch_init): Ditto. * infcall.c (call_function_by_hand): Do not call DEPRECATED_FIX_CALL_DUMMY.
2004-05-082004-05-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney16-188/+24
* gdbarch.sh (DEPRECATED_CALL_DUMMY_WORDS) (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Delete. * gdbarch.h, gdbarch.c: Re-generate. * arm-linux-tdep.c (arm_linux_call_dummy_words) (arm_linux_init_abi): Do not set deprecated_call_dummy_words or deprecated_sizeof_call_dummy_words. * arm-tdep.c (arm_call_dummy_words, arm_gdbarch_init): Ditto. * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. * v850-tdep.c (v850_gdbarch_init): Ditto. * sh64-tdep.c (sh64_gdbarch_init): Ditto. * ns32k-tdep.c (ns32k_call_dummy_words, ns32k_gdbarch_init): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. * mcore-tdep.c (mcore_gdbarch_init): Ditto. * arch-utils.h (legacy_call_dummy_words) (legacy_sizeof_call_dummy_words): Delete declarations. * arch-utils.c (legacy_call_dummy_words) (legacy_sizeof_call_dummy_words): Delete variables. Index: doc/ChangeLog 2004-05-08 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Delete description of DEPRECATED_CALL_DUMMY_WORDS, DEPRECATED_SIZEOF_CALL_DUMMY_WORDS, and CALL_DUMMY.
2004-05-082004-05-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney9-128/+29
* gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Delete. * gdbarch.h, gdbarch.c: Re-generate. * inferior.h (PUSH_DUMMY_FRAME): Delete macro. * infcall.c (call_function_by_hand): Eliminate call to DEPRECATED_PUSH_DUMMY_FRAME. * ns32k-tdep.c (ns32k_gdbarch_init): Do not set deprecated push_dummy_frame. (ns32k_push_dummy_frame): Delete function.
2004-05-082004-05-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney9-88/+16
* ns32k-tdep.c (ns32k_gdbarch_init): Do not set deprecated_call_dummy_breakpoint_offset or deprecated_call_dummy_start_offset. * dummy-frame.c, arm-tdep.c: Update comments. * gdbarch.sh (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET) (DEPRECATED_CALL_DUMMY_START_OFFSET): Delete. * gdbarch.h, gdbarch.c: Re-generate. Index: doc/ChangeLog 2004-05-08 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Delete reference to DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
2004-05-082004-05-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-84/+5
* infcall.c (legacy_push_dummy_code): Delete function. (push_dummy_code): Delete call.
2004-05-082004-05-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-20/+16
* gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Delete. * gdbarch.h, gdbarch.c: Re-generate. * blockframe.c (legacy_frame_chain_valid): Simplify by eliminating DEPRECATED_USE_GENERIC_DUMMY_FRAMES. * infcall.c (legacy_push_dummy_code, call_function_by_hand): Ditto. * frame.c (frame_type_from_pc, legacy_get_prev_frame): Ditto.
2004-05-082004-05-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-44/+5
* breakpoint.h (deprecated_frame_in_dummy): Delete declaration. (struct frame_info): Delete opaque declaration. * breakpoint.c (deprecated_frame_in_dummy): Delete function. * frame.c (get_frame_type): Delete call.
2004-05-082004-05-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-39/+7
* ns32k-tdep.c (ns32k_gdbarch_init): Do not set deprecated pc_in_call_dummy. * inferior.h (deprecated_pc_in_call_dummy_on_stack): Delete. * blockframe.c (deprecated_pc_in_call_dummy_on_stack): Delete.
2004-05-08* alphanbsd-tdep.c: Include "gdb_string.h".Mark Kettenis4-8/+16
* armnbsd-tdep.c: Update copyright year. Include "gdb_string.h". * Makefile.in (alphanbsd-tdep.o, armnbsd-tdep.o): Update dependencies.
2004-05-08* delta68-nat.c: Remove file.Mark Kettenis4-148/+7
* m68k-tdep.c (delta68_in_sigtramp, delta68_frame_args_address) (delta68_frame_saved_pc, delta68_frame_num_args): Remove functions. * Makefile.in (ALLDEPFILES): Remove delta68-nat.c. (delta68-nat.o): Remove dependency.
2004-05-08* m68k-tdep.c (m68k_frameless_function_invocation): RemoveMark Kettenis2-15/+7
function. (m68k_gdbarch_init): Don't set deprecated_frameless_function_invocation.
2004-05-08* elf32-frv.c (_frvfdpic_add_dyn_reloc): Don't warn when we getAlexandre Oliva2-3/+21
a zero symndx for which we hadn't accounted a dynamic relocation. (_frvfdpic_add_rofixup): Likewise.
2004-05-082004-05-07 Randolph Chung <tausq@debian.org>Randolph Chung3-7/+16
* hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Use read_memory_nobpt for code reading when doing frame unwinding. * hppa-linux-tdep.c (insns_match_pattern): Likewise.
2004-05-082004-05-07 Randolph Chung <tausq@debian.org>Randolph Chung2-9/+35
* hppa-linux-tdep.c (hppa_linux_sigtramp_find_sigcontext): Pass in pc instead of sp, handle sigaltstack case. (hppa_linux_sigtramp_frame_unwind_cache): Adjust calls to hppa_linux_sigtramp_find_sigcontext, and set base to the frame of the signal handler and not that of the caller. (hppa_linux_sigtramp_unwind_sniffer): Adjust calls to hppa_linux_sigtramp_find_sigcontext.
2004-05-082004-05-07 Randolph Chung <tausq@debian.org>Randolph Chung4-21/+134
* Makefile.in (ALLDEPFILES): Add hppa-linux-tdep.c and hppa-linux-nat.c. (hppa-linux-tdep.o, hppa-linux-nat.o): Define rules. * hppa-linux-nat.c (fetch_register, store_register): Define. (fetch_inferior_registers, store_inferior_registers): Define. (supply_gregset): Add comment and clean up some unneeded code. (fill_gregset): Add comment and fix so that it saves registers in the right place in the gregset. (fill_fpregset): Fix buffer overrun problem. * config/pa/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
2004-05-082004-05-07 Randolph Chung <tausq@debian.org>Randolph Chung4-58/+164
* hppa-tdep.c (hppa_frame_prev_register_helper): New function to do common handling of the pcoqt register. (hppa_frame_prev_register, hppa_stub_frame_prev_register): Convert to use helper function. (hppa_frame_unwind_sniffer): Only use if unwind entry is present. (hppa_fallback_frame_cache, hppa_fallback_frame_this_id) (hppa_fallback_frame_prev_register, hppa_fallback_frame_unwind): New generic fallback unwinder when all else fails. (hppa_gdbarch_init): Add fallback sniffer. * hppa-tdep.h (hppa_frame_prev_register_helper): Prototype. * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_prev_register): Convert to use helper function.
2004-05-08 * config/djgpp/fnchange.lst: Add translation rules forJoel Brobecker2-0/+7
gdb.arch/powerpc-aix-prologue.c and gdb.arch/powerpc-aix-prologue.exp.
2004-05-08 * gdb.arch/powerpc-aix-prologue.c: New file.Joel Brobecker3-0/+142
* gdb.arch/powerpc-aix-prologue.exp: New file.
2004-05-08daily updateAlan Modra1-1/+1
2004-05-07* frame.c (get_prev_frame_1): Work around GCC bug.Mark Kettenis3-6/+26
* frame.h: Add comment about GCC bug.
2004-05-072004-05-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-1/+49
* observer.c: Include "commands.h" and "gdbcmd.h". (observer_debug, _initialize_observer): Add the command "set/show debug observer". * observer.sh: When observer debugging, log notify calls. * Makefile.in (observer.o): Update dependencies. Index: doc/ChangeLog 2004-05-07 Andrew Cagney <cagney@redhat.com> * observer.texi (GDB Observers): Add "Debugging" section. Include cross reference to "set/show debug observer". * gdb.texinfo (Debugging Output): Document "set/show debug observer".
2004-05-072004-05-07 Jason Molenda (jmolenda@apple.com)Jason Molenda2-3/+7
* cli/cli-decode.c: Fix "SHOW_DOR" comment typeos.
2004-05-07* aix-thread.c (fetch_regs_kernel_thread, fill_gprs64,Jim Blandy2-8/+18
fill_gprs32, store_regs_kernel_thread): Use tdep->ppc_gp0_regnum to recognize gpr regnums, instead of assuming that tdep->ppc_fp0_regnum marks the end of the general-purpose registers.
2004-05-07* ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Assert thatJim Blandy2-0/+11
the given architecture has floating-point registers.
2004-05-07 * config/tc-mips.c (append_insn, mips_emit_delays): Extend -mfix-vr4120Richard Sandiford8-159/+367
to cope with VR4181A errata MD(1) and MD(4).
2004-05-072004-05-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-16/+133
* readelf.c (section_groups): New. (group_count): New. (section_headers_groups): New. (process_section_groups): Populate group_count, section_groups and section_headers_groups. (process_unwind): Support section group. (process_object): Always call process_section_groups. Free section_groups and section_headers_groups.
2004-05-07 * ldlang.c (print_padding_statement): Cast size_t to bfd_vmaJoern Rennecke2-1/+6
before printing it with %W.
2004-05-07* emultempl/pe.em (real_flags): New static.Brian Ford4-0/+39
(OPTION_LARGE_ADDRESS_AWARE): New define. (gld${EMULATION_NAME}_add_options): Add --large-address-aware option. (gld_${EMULATION_NAME}_list_options): Likewise. (gld${EMULATION_NAME}_handle_option): Likewise. (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data. * ld.texinfo: Document it. * NEWS: Mention it.
2004-05-07* coffcode.h (coff_write_object_contents) [COFF_IMAGE_WITH_PE]:Brian Ford3-10/+21
Propagate IMAGE_FILE_LARGE_ADDRESS_AWARE. * peXXigen.c (_bfd_XX_print_private_bfd_data_common): Recognize IMAGE_FILE_LARGE_ADDRESS_AWARE. Use PE defines.
2004-05-072004-05-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-43/+12
* gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Replace with macro defined to 1. * gdbarch.h, gdbarch.c: Re-generate. * ns32k-tdep.c (ns32k_gdbarch_init): Do not set deprecated_use_generic_dummy_frames.
2004-05-07* NEWS: Mention DWARF 2 support for i386pe.Brian Ford2-0/+6
2004-05-07* NEWS: Mention .secrel32 for pe[i]-i386.Brian Ford2-0/+7
2004-05-07* NEWS: Mention Cygwin DWARF 2 support.Brian Ford2-0/+6
2004-05-072004-05-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney9-79/+14
* objfiles.h (struct entry_info): Delete unused fields deprecated_entry_file_lowpc and deprecated_entry_file_highpc. * objfiles.c (init_entry_point_info, objfile_relocate): Update. * mipsread.c (mipscoff_symfile_read): Update. * mdebugread.c (parse_partial_symbols): Update. * dwarfread.c (read_file_scope): Update. * dwarf2read.c (read_file_scope): Update. * dbxread.c (read_dbx_symtab, read_dbx_symtab): Update. * coffread.c (complete_symtab): Update.
2004-05-07* infcall.c (_initialize_infcall): Fix typo.Mark Kettenis2-1/+5
2004-05-072004-05-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-0/+35
* cli/cli-decode.c (add_setshow_zinteger_cmd): New function. * command.h (add_setshow_zinteger_cmd): Declare.
2004-05-07* gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,Jim Blandy6-1/+166
gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
2004-05-07* elf32-frv.c (elf32_frvfdpic_modify_segment_map): ReturnAlexandre Oliva2-0/+59
immediately if there's no link info. (elf32_frvfdpic_copy_private_bfd_data): New. (bfd_elf32_bfd_copy_private_bfd_data): Use it for frvfdpic.
2004-05-07* config/tc-frv.h (MAX_MEM_FOR_RS_ALIGN_CODE): New.Alexandre Oliva2-0/+46
(HANDLE_ALIGN): New.
2004-05-07 * Makefile.am (DIST_SUBDIRS): Define.Daniel Jacobowitz5-34/+68
* aclocal.m4: Regenerate with automake 1.8.4. * Makefile.in: Likewise. * doc/Makefile.in: Likewise.
2004-05-072004-05-06 Randolph Chung <tausq@debian.org>Randolph Chung12-129/+170
* config/pa/tm-hppa.h (RO_REGNUM, FLAGS_REGNUM, RP_REGNUM) (HPPA_FP_REGNUM, HPPA_SP_REGNUM, SAR_REGNUM, IPSW_REGNUM) (PCOQ_HEAD_REGNUM, PCSQ_HEAD_REGNUM, PCOQ_TAIL_REGNUM, PCSQ_TAIL_REGNUM) (EIEM_REGNUM, IIR_REGNUM, ISR_REGNUM, IOR_REGNUM, SR4_REGNUM) (RCR_REGNUM, PID0_REGNUM, PID1_REGNUM, PID2_REGNUM, PID3_REGNUM) (CCR_REGNUM, TR0_REGNUM, CR27_REGNUM, HPPA_FP0_REGNUM, FP4_REGNUM) (ARG0_REGNUM, ARG1_REGNUM, ARG2_REGNUM, ARG3_REGNUM): Move *_REGNUM definitions ... * hppa-tdep.h: ... to here, with HPPA_ prefix. * Makefile.in (hppah-nat.o): Add $(hppa_tdep_h) * hppa-hpux-tdep.c (hppa32_hpux_frame_find_saved_regs_in_sig) (hppa64_hpux_frame_find_saved_regs_in_sig) (child_get_current_exception_event): Add HPPA_ prefix to *_REGNUM usage. * hppa-linux-nat.c (GR_REGNUM, TR_REGNUM, greg_map): Likewise. * hppa-linux-tdep.c (hppa_dwarf_reg_to_regnum) (hppa_linux_target_write_pc, hppa_linux_sigtramp_frame_unwind_cache) (hppa_linux_sigtramp_frame_prev_register): Likewise. * hppa-tdep.c (hppa32_return_value, hppa64_return_value) (hppa32_push_dummy_call, hppa64_push_dummy_call, hppa64_frame_align) (hppa_target_read_pc, hppa_target_write_pc, hppa_frame_cache) (hppa_frame_prev_register, hppa_stub_frame_unwind_cache) (hppa_stub_frame_prev_register, hppa_unwind_dummy_id) (hppa_skip_permanent_breakpoint, hppa_instruction_nullified) (hppa32_register_type, hppa_cannot_store_register) (hppa_fetch_pointer_argument, hppa_pseudo_register_read): Likewise. * hppah-nat.c (store_inferior_registers, fetch_register): Likewise. * hpread.c (hpread_process_one_debug_symbol): Likewise. * pa64solib.c (pa64_solib_have_load_event) (pa64_solib_have_unload_event, pa64_solib_loaded_library_pathname) (pa64_solib_unloaded_library_pathname): Likewise. * somsolib.c (som_solib_have_load_event, som_solib_have_unload_event) (som_solib_library_pathname): Likewise.
2004-05-07 * dwarf2.c (add_line_info): Also set info->filename to NULL ifZack Weinberg2-5/+9
filename argument is null; do not call strlen on a null pointer.
2004-05-07daily updateAlan Modra1-1/+1
2004-05-06 * elf32-arm.h (elf32_arm_relocate_section): Remove R_ARM_PLT32Daniel Jacobowitz2-5/+7
special case.