aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-04-112003-04-11 Andrew Cagney <cagney@redhat.com>Andrew Cagney38-101/+149
* gdbarch.sh (DEPRECATED_SAVED_PC_AFTER_CALL): Deprecate SAVED_PC_AFTER_CALL. * gdbarch.h, gdbarch.c: Regenerate. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. * x86-64-tdep.c (x86_64_init_abi): Update. * vax-tdep.c (vax_gdbarch_init): Update. * v850-tdep.c (v850_gdbarch_init): Update. * sparc-tdep.c (sparc_gdbarch_init): Update. * sh-tdep.c (sh_gdbarch_init): Update. * s390-tdep.c (s390_gdbarch_init): Update. * rs6000-tdep.c (rs6000_gdbarch_init): Update. * ns32k-tdep.c (ns32k_gdbarch_init): Update. * mn10300-tdep.c (mn10300_gdbarch_init): Update. * mips-tdep.c (mips_gdbarch_init): Update. * mcore-tdep.c (mcore_gdbarch_init): Update. * m68k-tdep.c (m68k_gdbarch_init): Update. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. * ia64-tdep.c (ia64_gdbarch_init): Update. (ia64_saved_pc_after_call): Update declaration. * i386ly-tdep.c (i386lynx_init_abi): Update. * i386-tdep.c (i386_gdbarch_init): Update. * hppa-tdep.c (hppa_gdbarch_init): Update. * h8300-tdep.c (h8300_gdbarch_init): Update. * frv-tdep.c (frv_gdbarch_init): Update. * cris-tdep.c (cris_gdbarch_init): Update. * avr-tdep.c (avr_gdbarch_init): Update. * arm-tdep.c (arm_gdbarch_init): Update. * alpha-tdep.c (alpha_gdbarch_init): Update. * ns32knbsd-nat.c (frame_num_args): Update. * ns32k-tdep.c (umax_frame_num_args): Update. * mips-tdep.c (mips_init_frame_pc_first): Update. * infrun.c (step_over_function): Update. * i386-linux-tdep.c (skip_hurd_resolver): Update. * i386-interix-tdep.c (i386_interix_back_one_frame): Update. * config/sparc/tm-sparc.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. (DEPRECATED_INIT_FRAME_PC_FIRST): Update. * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. * config/pa/tm-hppa.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. * arm-linux-tdep.c (skip_hurd_resolver): Update. * arch-utils.c (init_frame_pc_default): Update. * alpha-tdep.c (alpha_init_frame_pc_first): Update. * x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update declaration.
2003-04-112003-04-11 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-19/+8
* i387-tdep.c: Update copyright. (i387_to_double): Delete function. (double_to_i387): Delete function.
2003-04-112003-04-11 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-2/+7
* gdb.threads/pthreads.exp (test_startup): When setting a breakpoint match on sourcefile name, instead of directory name.
2003-04-11* libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on mips*.Alexandre Oliva2-1/+6
* */configure: Rebuilt.
2003-04-112003-04-10 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-8/+17
* d10v-tdep.c (d10v_frame_this_id): Set the code addr to the frame's function's address. Simplify. (d10v_frame_unwind_cache): Check that the frame's function is non-zero.
2003-04-11* gas/mips/elf-rel-got-n32.d, gas/mips/elf-rel-got-n32.s,Alexandre Oliva8-0/+2897
gas/mips/elf-rel-got-n64.d, gas/mips/elf-rel-got-n64.s, gas/mips/elf-rel-xgot-n32.d, gas/mips/elf-rel-xgot-n64.d: New. * gas/mips/mips.exp: Test them.
2003-04-11* ld-mips-elf/elf-rel-got-n32.d,Alexandre Oliva6-4/+1526
ld-mips-elf/elf-rel-got-n64.d, ld-mips-elf/elf-rel-xgot-n32.d, ld-mips-elf/elf-rel-xgot-n64.d: New. * ld-mips-elf/mips-elf.exp (hasn32): Define as condition for new tests to run.
2003-04-11* config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): New.Alexandre Oliva3-139/+614
* config/tc-mips.c: Use signed add for n32 address arithmetic. (append_insn): When filling delay slots with instructions that have fixups that tc_gen_reloc might consider modifyable in variant frags, start a new frag. (load_address): Generate GOT_DISP with of without offset depending on whether symbol is local. For -xgot, use GOT_PAGE/GOT_OFST or GOT_HI16/GOT_LO16. (macro) <M_DLA_AB, M_LA_AB>: Likewise. <M_JAL_A>: In NewABI, use CALL16 or GOT_DISP for small got, CALL_HI16/CALL_LO16 or GOT_PAGE/GOT_OFST for big got. <ld_st>: In NewABI with small got, always use GOT_PAGE/GOT_OFST, with the latter in the load/store instruction. With big got, use GOT_HI16/GOT_LO16 or GOT_PAGE/GOT_OFST. (tc_gen_reloc): Adjust variant frags with GOT_DISP in NewABI. Add tc_frag_data.tc_fr_offset to addends. Decay CALL16, GOT_OFST and GOT_DISP to GOT_DISP in NewABI. (md_convert_frag): Use memmove for safe copying of overlapping regions.
2003-04-11* elfxx-mips.c (mips_elf_calculate_relocation): DecayAlexandre Oliva2-3/+69
GOT_PAGE/GOT_OFST referencing overridable symbol to GOT_DISP/addend. (_bfd_mips_elf_check_relocs): Handle GOT_PAGE referencing global symbol as GOT_DISP.
2003-04-11daily updateAlan Modra1-1/+1
2003-04-11*** empty log message ***gdbadmin1-1/+1
2003-04-10* s390-tdep.c (s390_gdbarch_init): Put back accidentally deletedJim Blandy2-0/+7
call to set_gdbarch_deprecated_push_arguments.
2003-04-10 * elf32-xtensa.c (elf_xtensa_relocate_section): Don't continue to theBob Wilson2-5/+9
next relocation on an undefined symbol.
2003-04-102003-04-10 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-20/+289
* frame.c (fprint_frame_id): New function. (fprint_frame_type, fprint_frame): New function. (frame_pc_unwind, frame_func_unwind): Add/update trace code. (create_sentinel_frame, get_frame_id): Ditto. (frame_id_p, frame_id_eq): Ditto. (frame_id_inner, create_new_frame): Ditto. (legacy_get_prev_frame, get_prev_frame): Ditto. (deprecated_update_frame_pc_hack): Ditto. (frame_register_unwind): Ditto. (deprecated_update_frame_base_hack): Ditto.
2003-04-102003-04-10 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+13
* gdb.base/completion.exp: Use string_to_regexp to match the working directory name.
2003-04-10 * i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function.Corinna Vinschen3-1/+39
(i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new frame_chain function. * Makefile.in: Add dependencies due to above change.
2003-04-10 * blockframe.c (legacy_frame_chain_valid): Move call toCorinna Vinschen2-5/+11
DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and inside_entry_file.
2003-04-102003-04-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-47/+96
* frame.h (struct frame_id): Replace "pc" and "base" with "stack_addr" and "code_addr". Update comments. (frame_id_build): Update parameter names and comment. (struct frame_info): Replace "id_p" and "id" with "this_id". * dummy-frame.c (dummy_frame_this_id): Update. * breakpoint.c (print_one_breakpoint): Update. * frame.c (get_frame_id): Update. (get_frame_base, frame_id_build): Update. (create_sentinel_frame, legacy_get_prev_frame): Update. (deprecated_update_frame_base_hack): Update. (frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID. (frame_id_inner): Ditto.
2003-04-102003-04-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-2/+8
* defs.h (gdb_print_host_address): Make "addr" parameter a pointer constant. * utils.c (gdb_print_host_address): Update.
2003-04-10*** empty log message ***gdbadmin1-1/+1
2003-04-10daily updateAlan Modra1-1/+1
2003-04-09* gdb.c++/derivation.exp, gdb.c++/overload.exp,Jim Blandy4-0/+60
gdb.c++/userdef.exp: If GDB fails to restore the selected frame after an inferior function call, report the failure, but allow the test to continue.
2003-04-09 * rs6000-tdep.c (frame_get_saved_regs): Don't assume that theKevin Buettner2-1/+6
register number for R0 is 0.
2003-04-09 * frame.h (struct gdbarch): Add opaque structure definitionJoel Brobecker2-0/+6
to avoid a compilation warning on LynxOS 4.0.
2003-04-09 * doc/c-m68hc11.texi (M68HC11-Opts): Document -m68hcs12, -mshort,Stephane Carrez2-18/+233
-mlong, -mshort-double and -mlong-double options; use table @code. (M68HC11-Syntax): Update to document 68HC12 operands. (M68HC11-Modifiers): New section for operand modifiers. (M68HC11-Directives): New section for specific assembler directives. (M68HC11-Branch): Fix Overfull hbox error.
2003-04-092003-04-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-32/+30
* frame.h (struct frame_info): Delete field "pc". Replace "pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc" structure. * frame.c (frame_pc_unwind): Update. (create_sentinel_frame): Do not set "pc". (get_prev_frame): Do not set "pc". Use frame_pc_unwind. (get_frame_pc): Call frame_pc_unwind. (deprecated_update_frame_pc_hack): Update. (create_new_frame): Use "pc" not "->pc".
2003-04-09 * elf64-alpha.c (elf64_alpha_relocate_section) <R_ALPHA_GPREL32>:Richard Henderson2-1/+18
Ignore relocations against r_symndx == 0.
2003-04-092003-04-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-24/+11
* frame.c (get_frame_id): Eliminate code updating "frame". (legacy_get_prev_frame): Ditto. (get_frame_base): Return id.base directly. (deprecated_update_frame_base_hack): Update "id.base". * frame.h (struct frame_info): Delete field "frame".
2003-04-092003-04-09 H.J. Lu <hjl@gnu.org>H.J. Lu3-2/+6
* elf64-alpha.c (elf64_alpha_relocate_section): Don't return FALSE for undefined symbols. * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
2003-04-092003-04-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney20-1758/+1784
* NEWS: Mention that the "Sequent family" is obsolete. * configure.tgt: Obsolete i[3456]86-sequent-bsd*, i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. * configure.host: Obsolete i[3456]86-sequent-bsd*, i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. * config/i386/tm-ptx4.h: Obsolete file. * config/i386/tm-ptx.h: Obsolete file. * symm-tdep.c: Obsolete file. * config/i386/symmetry.mt: Obsolete file. * config/i386/tm-symmetry.h: Obsolete file. * symm-nat.c: Obsolete file. * config/i386/nm-symmetry.h: Obsolete file. * config/i386/xm-symmetry.h: Obsolete file. * config/i386/symmetry.mh: Obsolete file. * config/i386/nm-ptx4.h: Obsolete file. * config/i386/ptx4.mh: Obsolete file. * config/i386/ptx.mt: Obsolete file. * config/i386/ptx.mh: Obsolete file. * config/i386/xm-ptx4.h: Obsolete file. * config/i386/xm-ptx.h: Obsolete file.
2003-04-092003-04-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney11-5186/+5201
Obsolete mips*-*-mach3*. * NEWS: Mention that mips*-*-mach3* is obsolete. * m3-nat.c: Obsolete file. * config/nm-m3.h: Obsolete file. * config/mips/tm-mipsm3.h: Obsolete file. * config/mips/mipsm3.mt: Obsolete file. * config/mips/mipsm3.mh: Obsolete file. * config/mips/xm-mipsm3.h: Obsolete file. * mipsm3-nat.c: Obsolete file. * configure.host: Obsolete mips-dec-mach3*. * configure.tgt: Obsolete mips*-*-mach3*.
2003-04-092003-04-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney10-38/+89
* doublest.h: Update copyright. (deprecated_store_floating, deprecated_extract_floating): Rename store_floating and extract_floating. Update comments. * doublest.c: Update copyright. (extract_floating_by_length): Replace extract_floating. (store_floating_by_length): Replace store_floating. (deprecated_extract_floating): New function. (deprecated_store_floating): New function. (extract_typed_floating): Call extract_floating_by_length. (store_typed_floating): Call store_floating_by_length. * x86-64-tdep.c (x86_64_store_return_value): Update. * sh-tdep.c (sh3e_sh4_extract_return_value): Update. (sh64_extract_return_value): Update. (sh_sh4_register_convert_to_virtual): Update. (sh_sh64_register_convert_to_virtual): Update. (sh_sh4_register_convert_to_raw): Update. (sh_sh64_register_convert_to_raw): Update. * rs6000-tdep.c (rs6000_register_convert_to_virtual): Update. (rs6000_register_convert_to_raw): Update. * ia64-tdep.c (ia64_register_convert_to_virtual): Update. (ia64_register_convert_to_raw): Update. * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update. (REGISTER_CONVERT_TO_VIRTUAL): Update. * arm-linux-tdep.c (arm_linux_push_arguments): Update. * alpha-tdep.c (alpha_register_convert_to_virtual): Update. (alpha_register_convert_to_raw): Update.
2003-04-09Add initX, finiX, ctors, dtors sections to respect C++ constructor/destructor.Nick Clifton3-0/+69
Add ctors/dtors start/stop definitions.
2003-04-09* dwarf2.c (_bfd_dwarf2_find_nearest_line): Try DWARF3-standardAlexandre Oliva2-17/+31
and IRIX-specific shift-to-64-bit 4-byte lengths before following addr_size.
2003-04-09* doc/binutils.texi (objdump) [--debugging]: Suggest readelf -wAlexandre Oliva2-0/+7
for debugging information types not supported by objdump.
2003-04-09 * configure.in: Recognize canonical form of i[3-6]86-pe*.Alan Modra3-250/+257
* configure: Regenerate.
2003-04-09* readelf.c (display_debug_info): Apply RELA relocations on theAlexandre Oliva2-15/+104
entire section. (byte_put_little_endian, byte_put_big_endian): New functions. (byte_put): New variable. (get_file_header): Initialize it.
2003-04-09* config/tc-mips.c (macro): Add comments explaining the rationaleAlexandre Oliva2-1/+22
for Chris' change.
2003-04-09* config/tc-mips.c (macro): Put back `+ 0x8000' in test for 64-bitAlexandre Oliva2-1/+9
constant address that Alexandre took out by accident. Reject 64-bit addresses that are not sign extensions of 32 bits only if we don't support 64-bit address constants.
2003-04-09* elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): Detect (ctor)Alexandre Oliva2-4/+10
pointer size from ABI, not arch_bits_per_address.
2003-04-09 * mips.h: Correct comment typo.Alan Modra2-1/+5
2003-04-09*** empty log message ***gdbadmin1-1/+1
2003-04-09daily updateAlan Modra1-1/+1
2003-04-08 * config/tc-ppc.c (md_apply_fix3): Generate ADDR16 relocs.Alan Modra2-6/+21
2003-04-082003-04-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-18/+94
* gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate. * gdbarch.h, gdbarch.c: Re-generate. * d10v-tdep.c (d10v_saved_pc_after_call): Delete function. (d10v_gdbarch_init): Do not set saved_pc_after_call. * infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P conditionally, use frame_pc_unwind as an alternative. Add comments. * arch-utils.c (init_frame_pc_default): Only call SAVED_PC_AFTER_CALL when available.
2003-04-082003-04-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-0/+6
* gdb792.exp: Skip when C++.
2003-04-082003-04-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-3/+6
* gdbint.texinfo (Target Architecture Definition): Delete references to EXTRA_FRAME_INFO.
2003-04-082003-04-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-5/+5
* gdbint.texinfo (Target Architecture Definition): Delete PRINT_TYPELESS_INTEGER.
2003-04-082003-04-08 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni12-33/+75
* infrun.c (stop_soon): Rename from stop_soon_quietly. (struct inferior_status): Rename stop_soon_quietly field to stop_soon. (clear_proceed_status): Rename stop_soon_quietly to stop_soon. (start_remote): Ditto. (handle_inferior_event): Ditto. (save_inferior_status): Ditto. (restore_inferior_status): Ditto. * infcmd.c (attach_command): Ditto. * fork-child.c (startup_inferior): Ditto. * inferior.h (stop_soon): Rename from stop_soon_quietly. * alpha-tdep.c (heuristic_proc_start): Ditto. * mips-tdep.c (heuristic_proc_start): Ditto. * solib-svr4.c (svr4_solib_create_inferior_hook): Ditto. * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto. * solib-osf.c (osf_solib_create_inferior_hook): Ditto. * solib-irix.c (irix_solib_create_inferior_hook): Ditto. * remote-vx.c (vx_create_inferior): Ditto.
2003-04-082003-04-08 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni11-27/+75
* infrun.c (stop_soon_quietly): Make it an enum, to better override the default behavior of handle_inferior_event. (clear_proceed_status): Update uses of stop_soon_quietly to reflect that it is now an enum. (start_remote): Ditto. (handle_inferior_event): Change logic a bit if stop_soon_quietly is set to handle the new GNU/Linux kernel behavior for attach/sigstop. Update uses of stop_soon_quietly. * inferior.h (enum stop_kind): New enum. * infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP. Reset normal handle_inferior_event behavior, afterwards. * fork-child.c (startup_inferior): Update. * alpha-tdep.c (heuristic_proc_start): Update. * solib-svr4.c (svr4_solib_create_inferior_hook): Update. * solib-sunos.c (sunos_solib_create_inferior_hook): Update. * solib-osf.c (osf_solib_create_inferior_hook): Update. * solib-irix.c (irix_solib_create_inferior_hook): Update. * remote-vx.c (vx_create_inferior): Update. * mips-tdep.c (heuristic_proc_start): Update.