aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-06-102004-06-10 Andrew Cagney <cagney@gnu.org>Andrew Cagney15-146/+60
* gdbarch.sh (DEPRECATED_PC_IN_CALL_DUMMY): Delete. * gdbarch.h, gdbarch.c: Re-generate. * frame.h (deprecated_pc_in_call_dummy): Delete "sp" and "fp" parameters. * dummy-frame.c (deprecated_pc_in_call_dummy): Update. * arm-tdep.c (arm_pc_is_thumb_dummy): Call deprecated_pc_in_call_dummy instead of DEPRECATED_PC_IN_CALL_DUMMY. (arm_skip_prologue): Ditto. * xstormy16-tdep.c (xstormy16_pop_frame, xstormy16_scan_prologue) (xstormy16_frame_saved_pc, xstormy16_frame_chain): Ditto. * v850-tdep.c (v850_find_callers_reg, v850_frame_chain) (v850_pop_frame, v850_frame_saved_pc, v850_frame_init_saved_regs): Ditto. * sh64-tdep.c (sh64_frame_chain, sh64_get_saved_pr) (sh64_init_extra_frame_info, sh64_get_saved_register) (sh64_pop_frame): Ditto. * mips-tdep.c (non_heuristic_proc_desc): Ditto. * mcore-tdep.c (mcore_find_callers_reg, mcore_frame_saved_pc) (mcore_pop_frame, mcore_init_extra_frame_info): Ditto. * h8300-tdep.c (h8300_frame_chain, h8300_frame_saved_pc) (h8300_pop_frame): Ditto. * blockframe.c (legacy_inside_entry_func) (legacy_frame_chain_valid): Ditto. * frame.c (frame_type_from_pc, legacy_get_prev_frame): Update call to deprecated_pc_in_call_dummy.
2004-06-10*** empty log message ***gdbadmin1-1/+1
2004-06-09Include Makefile.*, not just Makefile.in, in the top-level policy.Ben Elliston1-1/+1
2004-06-09Update with respect to DejaGnu and Expect.Ben Elliston1-10/+4
2004-06-092004-06-09 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-33/+20
* gdbarch.sh (:REGISTER_TO_VALUE, VALUE_TO_REGISTER): Do not provide a default value. (CONVERT_REGISTER_P): Default to generic_convert_register_p. * gdbarch.h, gdbarch.c: Re-generate. * arch-utils.c (generic_convert_register_p): Rename legacy_convert_register_p (legacy_register_to_value, legacy_value_to_register): Delete functions. * arch-utils.h (generic_convert_register_p): Rename legacy_convert_register_p. (legacy_register_to_value, legacy_value_to_register): Delete declarations.
2004-06-092004-06-09 Andrew Cagney <cagney@gnu.org>Andrew Cagney8-227/+25
* gdbarch.sh (DEPRECATED_REGISTER_CONVERT_TO_RAW) (DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL) (DEPRECATED_REGISTER_CONVERTIBLE): Delete. * gdbarch.h, gdbarch.c: Re-generate. * infcmd.c (default_print_registers_info): Simplify. * findvar.c (value_of_register): Simplify. * mi/mi-main.c (get_register): Simplify. * arch-utils.c (legacy_convert_register_p): Always return 0. (legacy_register_to_value, legacy_value_to_register): Always call internal_error.
2004-06-092004-06-09 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-8/+5
* infptrace.c (child_xfer_memory) [CLEAR_INSN_CACHE]: Delete #ifdef CLEAR_INSN_CACHE code. * target.c (generic_mourn_inferior) [CLEAR_DEFERRED_STORES]: Delete #ifdef CLEAR_DEFERRED_STORES code.
2004-06-092004-06-09 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-132/+2
* solib-svr4.c [HANDLE_SVR4_EXEC_EMULATORS]: Delete #ifdef code.
2004-06-092004-06-09 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-6/+8
* config/ia64/tm-linux.h (TARGET_ELF64): Delete macro, Update copyright. * config/ia64/tm-aix.h (TARGET_ELF64): Ditto.
2004-06-092004-06-09 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-6/+2
* config/mips/mipsv4.mh: Delete file.
2004-06-092004-06-09 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-7/+6
* config/pa/tm-hppa64.h (HPREAD_ADJUST_STACK_ADDRESS): Delete unreferenced macro. (hpread_adjust_stack_address): Delete declaration.
2004-06-092004-06-09 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-2/+7
* gdb.base/structs.exp (test_struct_calls): Fix KFAIL for gdb/1455, bug is specific to "long long" and "double".
2004-06-092004-06-09 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-24/+7
* gdb.base/structs.exp (test_struct_returns, test_struct_returns) (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*, x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447 fixed.
2004-06-09* elflink.c (elf_sort_symbol): Compare section id, not pointers.Alexandre Oliva2-2/+5
(elf_link_add_object_symbols): Likewise.
2004-06-092004-06-09 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-36/+42
* gdb.base/structs.exp (test_struct_returns): Replace "return_value_unknown" and "finish_value_unknown" by "return_value_known" and "finish_value_known". Instead of "return_value_unknown" iff "finish_value_unknown", check "return_value_known" implies "finish_value_known".
2004-06-092004-06-09 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-0/+7
* gdbint.texinfo (Native Debugging): Restore "@table @code" deleted by previous patch.
2004-06-092004-06-09 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini8-218/+589
* Makefile.tpl (touch-stage[+id+]): New. (restage[+prev+]): Depend on touch-stage[+id+]. * Makefile.tpl (RECURSE_FLAGS_TO_PASS): New. Use it throughout. * Makefile.def: Add profile and feedback bootstrap stages. Remove next field from bootstrap stages. * Makefile.tpl (LN, LN_S): Substitute. (stageN-start, stageN-end): Use double-colon rules, to provide a hook for additional setup commands. (distclean-stageN-gcc, restageN): Create dependencies from [+prev+], not from [+next+]. (stageN-bubble): Add commands for successive stages from [+prev+], using double-colon rules. (all-stageN-gcc): Fix typo. (stagefeedback-start, profiledbootstrap): New. * Makefile.in: Regenerate. * configure.in: Call ACX_PROG_LN. * configure: Regenerate. config/ChangeLog: 2004-06-09 Paolo Bonzini <bonzini@gnu.org> * acx.m4 (ACX_PROG_LN): From gcc, modified to accept a parameter.
2004-06-09* elf-m10300.c (_bfd_mn10300_elf_reloc_type_class): New.Alexandre Oliva2-0/+27
(elf_backend_reloc_type_class): New.
2004-06-09*** empty log message ***gdbadmin1-1/+1
2004-06-08opcodes/Jakub Jelinek6-292/+392
* ia64-gen.c (in_iclass): Handle more postinc st and ld variants. * ia64-asmtab.c: Rebuilt. gas/testsuite/ * gas/ia64/dv-raw-err.s: Add some new postinc tests. * gas/ia64/dv-raw-err.l: Updated.
2004-06-082004-06-08 Andrew Cagney <cagney@gnu.org>Andrew Cagney16-123/+91
* infptrace.c [ATTACH_DETACH]: Remove #ifdef wrappers. (attach, detach): When neither PT_ATTACH / PT_DETACH nor PTRACE_ATTACH / PTRACE_DETACH available call error. (PT_ATTACH, PT_DETACH): Move definition to attach / detach. * infttrace.c (update_thread_state_after_attach, attach, detach): Remove #ifdef wrappers. * inftarg.c (child_attach, child_detach): Remove #ifdef wrappers. * gnu-nat.c [ATTACH_DETACH]: Remove #ifdef wrappers. * config/nm-bsd.h (ATTACH_DETACH): Delete. * config/nm-sysv4.h (ATTACH_DETACH): Delete. * config/nm-nbsd.h (ATTACH_DETACH): Delete. * config/nm-linux.h (ATTACH_DETACH): Delete. * config/rs6000/nm-rs6000.h (ATTACH_DETACH): Delete. * config/pa/nm-hppah.h (ATTACH_DETACH): Delete. * config/i386/nm-i386sco5.h (ATTACH_DETACH): Delete. * config/i386/nm-i386sco4.h (ATTACH_DETACH): Delete. * config/i386/nm-i386gnu.h (ATTACH_DETACH): Delete. Index: doc/ChangeLog 2004-06-08 Andrew Cagney <cagney@gnu.org> * gdbint.texinfo (Native Debugging): Delete documentation on ATTACH_DETACH.
2004-06-08 * configure.in: Set $configdir to the right OS specific value.Corinna Vinschen3-603/+584
Use value when setting $tcldir and $tkdir. * configure: Regenerate.
2004-06-082004-06-08 Martin Hunt <hunt@redhat.com>Martin Hunt2-0/+6
* gdb.base/float.exp: Add pattern for mips targets.
2004-06-08 * gdb/dwarf2-frame.c (decode_frame_entry_1): Decode version 3 CIEPaul Brook2-3/+17
records.
2004-06-082004-06-08 Paul N. Hilfinger <Hilfinger@gnat.com>Paul N. Hilfinger3-0/+47
* ada-lang.c (lookup_symbol_in_language): New function to allow re-use of another language's symbol lookup code. (Placed here temporarily while Ada support is being integrated into the public tree). (restore_language): New auxiliary function for lookup_symbol_in_language. * ada-lang.h (lookup_symbol_in_language): Declare (Placed here temporarily while Ada support is being integrated into the public tree).
2004-06-08* configure.in (hppa*-*-netbsd*, hppa*-*-openbsd): Set COREFILE toMark Kettenis3-75/+89
netbsd-core.lo. * configure: Regenerate.
2004-06-08* Makefile.in (check//%): New.Alexandre Oliva2-2/+30
2004-06-08* mn10300-tdep.c (mn10300_extract_return_value): Rewrite.Alexandre Oliva2-17/+163
(mn10300_store_return_value): Rewrite. (mn10300_type_align): New. (mn10300_use_struct_convention): Rewrite. (mn10300_return_value): New, using all of the above. (mn10300_pop_frame_regular): Add saved_regs_size. (mn10300_gdbarch_init): Remove deprecated rewritten entry points.
2004-06-08* mn10300-tdep.c (mn10300_analyze_prologue): Don't compute savedAlexandre Oliva2-2/+7
regs if PC is on movm.
2004-06-082004-06-08 Randolph Chung <tausq@debian.org>Randolph Chung2-1/+8
* gdb.base/float.exp: Add pattern for hppa*-* target; make the failure message for unknown architectures more clear.
2004-06-08 * gdb.ada/null_record.exp: Use "start" instead of "begin" toJoel Brobecker2-2/+7
start the execution of the program.
2004-06-08daily updateAlan Modra1-1/+1
2004-06-08*** empty log message ***gdbadmin1-1/+1
2004-06-07Add native Linux support for the PowerPC E500.Jim Blandy4-5/+426
* ppc-tdep.h (struct gdbarch_tdep): New member: 'ppc_gprs_pseudo_p'. * rs6000-tdep.c (rs6000_gdbarch_init): Initialize it to false on all architectures except the E500. * ppc-linux-nat.c: (PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): New #definitions. (struct gdb_evrregset_t): New type. (have_ptrace_getsetevrregs): New variable. (get_spe_registers, read_spliced_spe_reg, fetch_spe_register, fetch_spe_registers): New functions. (fetch_register): Call fetch_spe_register as appropriate. Assert that we're only passed raw register numbers. (fetch_ppc_registers): Call fetch_spe_registers as appropriate. Don't fetch gprs if they're pseudoregisters. (set_spe_registers, write_spliced_spe_reg, store_spe_register, store_spe_registers): New functions. (store_register): Call store_spe_register as appropriate. Assert that we're only passed raw register numbers. (store_ppc_registers): Call store_spe_registers as appropriate. Don't store gprs if they're pseudoregisters.
2004-06-072004-06-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-2/+13
* thread-db.c (thread_get_info_callback): Fill in the thread_info struct if one exists, even if we are dealing with a zombie thread.
2004-06-072004-06-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney4-11/+12
* target.h (PC_REQUIRES_RUN_BEFORE_USE): Delete definition. * config/pa/tm-hppa.h (DEPRECATED_PC_REQUIRES_RUN_BEFORE_USE): Rename PC_REQUIRES_RUN_BEFORE_USE. * breakpoint.c (breakpoint_sals_to_pc): Update. Wrap reference in #ifdef.
2004-06-07* gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.Jim Blandy4-0/+263
* gdb.arch/i386-cpuid.h: New helper file.
2004-06-07 From: Albert Chin-A-Young <china@thewrittenword.com>Daniel Jacobowitz2-5/+11
* bfd/elf-bfd.h (struct eh_cie_fde): Convert unsigned char bitfields to unsigned int.
2004-06-072004-06-07 Randolph Chung <tausq@debian.org>Randolph Chung2-43/+26
* hppa-tdep.c (hppa_frame_cache): Handle the cases when we start unwinding after sp has been saved to the stack but before the end of the prologue, and after the fp has been modified but before it has been saved to the stack. (hppa_frame_base_address, hppa_frame_base, hppa_frame_base_sniffer): Remove superfluous definitions. (hppa_gdbarch_init): Remove superfluous frame base sniffer.
2004-06-072004-06-07 Randolph Chung <tausq@debian.org>Randolph Chung2-3/+8
* gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior has started.
2004-06-072004-06-07 Guy Martin <gmsoft@gentoo.org>Randolph Chung2-0/+12
Committed by Randolph Chung. * hppa-linux-nat.c: Include the correct version of the header file depending on the kernel version.
2004-06-072004-06-06 Randolph Chung <tausq@debian.org>Randolph Chung2-1/+5
* gdb.texinfo (push_dummy_call): Use @code{struct value}.
2004-06-072004-06-06 Randolph Chung <tausq@debian.org>Randolph Chung2-26/+5
* infrun.c (trap_expected_after_continue): Remove HP_OS_BUG workaround. (proceed, init_wait_for_inferior, handle_inferior_event): Likewise.
2004-06-072004-06-06 Randolph Chung <tausq@debian.org>Randolph Chung5-75/+27
* hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline) (hppa_hpux_skip_trampoline_code): Don't cache symbol values. * hppa-linux-tdep.c (hppa_linux_in_dyncall): Likewise. * hppa-tdep.c (hppa_symbol_address): New function definition. * hppa-tdep.h (hppa_symbol_address): New function declaration.
2004-06-072004-06-06 Randolph Chung <tausq@debian.org>Randolph Chung2-1/+10
* gdb.texinfo (push_dummy_call): Update argument list to match the new push_dummy_call method signature. Describe the function argument.
2004-06-072004-06-06 Randolph Chung <tausq@debian.org>Randolph Chung5-1/+149
* hppa-tdep.h (struct value): Forward declaration. (gdbarch_tdep): Define tdep find_global_pointer method. * hppa-tdep.c (hppa32_push_dummy_call): Find the global pointer associated with the function we are trying to call, and write it to the gp register. (hppa32_convert_from_funct_ptr_addr): New function. (hppa_find_global_pointer): New function. (hppa_gdbarch_init): Set default find_global_pointer method; set convert_from_func_ptr_addr method. * hppa-linux-tdep.c (hppa_linux_find_global_pointer): New function. (hppa_linux_init_abi): Set find_global_pointer method. * Makefile.in (hppa-linux-tdep.o): Add value.h dependency.
2004-06-072004-06-06 Randolph Chung <tausq@debian.org>Randolph Chung30-44/+101
* gdbarch.sh (PUSH_DUMMY_CALL): Change CORE_ADDR func_addr argument to struct value *function. * gdbarch.c: Regenerate. * gdbarch.h: Likewise. * infcall.c (call_function_by_hand): Pass entire function value to push_dummy_call. * Makefile.in (alpha-tdep.o, frv-tdep.o, ia64-tdep.o, mips-tdep.o) (ppc-sysv-tdep.o, rs6000-tdep.o): Update dependencies. * alpha-tdep.c (alpha_push_dummy_call): Update call signature. * amd64-tdep.c (amd64_push_dummy_call): Likewise. * arm-tdep.c (arm_push_dummy_call): Likewise. * avr-tdep.c (avr_push_dummy_call): Likewise. * cris-tdep.c (cris_push_dummy_call): Likewise. * d10v-tdep.c (d10v_push_dummy_call): Likewise. * frv-tdep.c (frv_push_dummy_call): Likewise. * h8300-tdep.c (h8300_push_dummy_call): Likewise. * hppa-tdep.c (hppa32_push_dummy_call) (hppa64_push_dummy_call): Likewise. * i386-tdep.c (i386_push_dummy_call): Likewise. * ia64-tdep.c (ia64_push_dummy_call): Likewise. * m32r-tdep.c (m32r_push_dummy_call): Likewise. * m68hc11-tdep.c (m68hc11_push_dummy_call): Likewise. * m68k-tdep.c (m68k_push_dummy_call): Likewise. * m88k-tdep.c (m88k_push_dummy_call): Likewise. * mips-tdep.c (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call) (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Likewise. * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call) (ppc64_sysv_abi_push_dummy_call): Likewise. * ppc-tdep.h (ppc_sysv_abi_push_dummy_call) (ppc64_sysv_abi_push_dummy_call): Likewise. * rs6000-tdep.c (rs6000_push_dummy_call): Likewise. * s390-tdep.c (s390_push_dummy_call): Likewise. * sh-tdep.c (sh_push_dummy_call_fpu) (sh_push_dummy_call_nofpu): Likewise. * sparc-tdep.c (sparc32_push_dummy_call): Likewise. * sparc64-tdep.c (sparc64_push_dummy_call): Likewise. * vax-tdep.c (vax_push_dummy_call): Likewise.
2004-06-07*** empty log message ***gdbadmin1-1/+1
2004-06-07daily updateAlan Modra1-1/+1
2004-06-06*** empty log message ***gdbadmin1-1/+1