aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2004-05-06Patch from David Mosberger-Tang.Jim Wilson2-0/+27
* config/tc-ia64.c (dot_serialize): Declare. (dot_serialize): New function. (md_pseudo_table): Add ".serialize.data" and ".serialize.instruction" directives.
2004-05-06 * gdb.base/sep.exp: No longer setup_kfail when the program wasJoel Brobecker2-20/+5
built with dwarf2.
2004-05-06Remove duplicate code and provide a function for generating internally ↵Nick Clifton10-75/+115
consistent 'value out of range' messages
2004-05-06* emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to newAlexandre Oliva2-0/+6
elf32-frvfdpic.
2004-05-06* configure.in: Set em=linux for frv-*-*linux*.Alexandre Oliva5-7/+97
* configure: Rebuilt. * config/tc-frv.h (TARGET_FORMAT): Use elf32-frvfdpic if... (frv_md_fdpic_enabled): New. * config/tc-frv.c (frv_md_fdpic_enabled): New. (DEFAULT_FDPIC): New. (frv_flags): Use DEFAULT_FDPIC. (frv_pic_flag): Likewise. (OPTION_NOPIC): New. (md_longopts): Add -mnopic. (md_parse_option): Handle it. (md_show_usage): Add -mfdpic and -mnopic.
2004-05-06* configure.in (bfd_elf32_frvfdpic_vec): New.Alexandre Oliva6-827/+1085
* configure: Rebuilt. * targets.c (bfd_elf32_frvfdpic_vec): New. * config.bfd: Enable it on frv-*-elf and frv-*-*linux*, as default on the latter. * elf32-frv.c: Prefix all identifiers added for FDPIC support with frvfdpic instead of frv. Rearrange elf-target macros such that the FDPIC-specific ones are only defined for this new target vector. (bfd_elf32_frvfdpic_vec): Declare. (IS_FDPIC): New. (elf32_frv_relocate_section): Use it to enable segment checking and to control rofixup emission. Add output section vma to applied relocation in non-LOAD non-ALLOC sections. Use _bfd_error_handler for errors. (_frv_create_got_section): Create .rel.got and .rofixup only in FDPIC. Create non-dynamic _gp at .got+2048 in non-FDPIC, like the linker script. (elf32_frvfdpic_size_dynamic_sections): Assume FDPIC. (elf32_frvfdpic_modify_segment_map): Likewise. (elf32_frv_finish_dynamic_sections): New, do-nothing. (elf32_frvfdpic_finish_dynamic_sections): Assume FDPIC. Improve error message if we miscompute the rofixup size. (frvfdpic_elf_use_relative_eh_frame): Assume FDPIC. (frvfdpic_elf_encode_eh_address): Likewise. (elf32_frv_check_relocs): Reject FDPIC-only relocs in non-FDPIC. Record relocs only in FDPIC. Make sure _gp is defined for GPREL relocs. Reject unknown relocation types. (elf32_frv_object_p): Make sure target vector matches FDPIC bits. (frv_elf_merge_private_bfd_data): Likewise. (ELF_MAXPAGESIZE): Revert to 0x1000 for elf32-frv; keep it as 0x4000 for newly-added elf32-frvfdpic.
2004-05-06* ld-frv/fdpic.exp: Restore $LDFLAGS at the end.Alexandre Oliva3-2/+10
* ld-frv/fr450-link.d: Match fdpic as well.
2004-05-06* gas/frv/reloc1.d: Match elf32-frvfdpic as well.Alexandre Oliva4-3/+9
* gas/frv/fr405-insn.d: Likewise. * gas/frv/fr450-insn.d: Likewise.
2004-05-06 * ld-sh/sh64/crange1.rd: Update sh_info to decimal.Kaz Kojima8-7/+17
* ld-sh/sh64/crange2.rd: Likewise. * ld-sh/sh64/crange3.rd: Likewise. * ld-sh/sh64/crange3-cmpct.rd: Likewise. * ld-sh/sh64/crange3-media.rd: Likewise. * ld-sh/sh64/crangerel1.rd: Likewise. * ld-sh/sh64/crangerel2.rd: Likewise.
2004-05-06daily updateAlan Modra1-1/+1
2004-05-05Preserve the ignore count when we resolve a pending breakpoint. Also addJim Ingham4-0/+54
a test for this to pending.exp.
2004-05-05Remove checks of the return value from bfd_cache_ookup()Nick Clifton4-6/+9
2004-05-052004-05-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-46/+8
* gdbarch.sh (PARM_BOUNDARY): Delete. gdbarch.h, gdbarch.c: Re-generate. * valops.c (PARM_BOUNDARY): Delete macro. (value_push): Delete PARM_BOUNDARY code. * m68k-tdep.c (m68k_gdbarch_init): Do not set parm_boundary.
2004-05-05PR/136 - Have bfd_cache_lookup_worker() abort rather than return anNick Clifton3-26/+35
(unchecked-for) NULL.
2004-05-05Add support for 521x,5249,547x,548x.Nick Clifton13-367/+544
2004-05-05 * ppc-opc.c (PPCVEC): Remove PPC_OPCODE_PPC.Alan Modra2-1/+6
2004-05-05 * ld-powerpc/tlsexe.r: Update sh_info to decimal.Alan Modra7-15/+24
* ld-powerpc/tlsexe32.r: Likewise. * ld-powerpc/tlsexetoc.r: Likewise. * ld-powerpc/tlsso.r: Likewise. * ld-powerpc/tlsso32.r: Likewise. * ld-powerpc/tlstocso.r: Likewise.
2004-05-05 * tc-s390.h (md_do_align, HANDLE_ALIGN): Remove.Jakub Jelinek3-32/+10
(NOP_OPCODE): Define. (s390_align_code): Remove prototype. * tc-s390.c (s390_align_code): Remove.
2004-05-05* ppc-linux-nat.c (fetch_ppc_registers, store_ppc_registers):Jim Blandy2-4/+41
Don't assume that the gprs, fprs, and UISA sprs are contiguous, start at register number zero, and end with fpscr. Instead, use the numbers from the tdep structure.
2004-05-05* config/rs6000/tm-rs6000.h (FP0_REGNUM): Document that thisJim Blandy12-68/+146
should no longer be used in code specific to the RS6000 and its derivatives. * ppc-tdep.h (struct gdbarch_tdep): Add 'ppc_fp0_regnum' member. * rs6000-tdep.c (rs6000_gdbarch_init): Initialize tdep->ppc_fp0_regnum. (ppc_supply_fpregset, ppc_collect_fpregset) (rs6000_push_dummy_call, rs6000_extract_return_value) (rs6000_dwarf2_stab_reg_to_regnum, rs6000_store_return_value) (rs6000_frame_cache): Use tdep->ppc_fp0_regnum instead of FP0_REGNUM. * aix-thread.c (supply_fprs, fetch_regs_kernel_thread) (fill_gprs64, fill_gprs32, fill_fprs, store_regs_kernel_thread): Same. * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_fetch_registers, bdm_ppc_store_registers): Same. * ppc-linux-nat.c (ppc_register_u_addr, fetch_register) (store_register, fill_fpregset): Same. * ppc-linux-tdep.c (ppc_linux_sigtramp_cache) (ppc_linux_supply_fpregset): Same. * ppcnbsd-nat.c (getfpregs_supplies): Same. * ppcnbsd-tdep.c (ppcnbsd_supply_fpreg, ppcnbsd_fill_fpreg): Same. * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call, do_ppc_sysv_return_value, ppc64_sysv_abi_push_dummy_call, ppc64_sysv_abi_return_value): Same. * rs6000-nat.c (regmap, fetch_inferior_registers) (store_inferior_registers, fetch_core_registers): Same.