aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-04-30Add OpenBSD/m68k support.Mark Kettenis11-0/+457
* NEWS (New native configurations): Mention OpenBSD/m68k. * m68kbsd-tdep.c: New file. * m68kbsd-nat.c: New file. * Makefile.in (ALLDEPFILES): Add m68kbsd-nat.c and m68kbsd-tdep.c. (m68kbsd-nat.o, m68kbsd-tdep.o): New dependencies. * configure.host: Add m68k-*-openbsd. * configure.tgt: Add m68k-*-openbsd. * config/m68k/tm-obsd.h: New file. * config/m68k/obsd.mt: New file. * config/m68k/obsd.mh: New file. * config/djgpp/fnchange.lst: Add entries for m68kbsd-nat.c and m68kbsd-tdep.c.
2004-04-302004-04-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-9/+5
* mipsnbsd-tdep.c (mipsnbsd_pc_in_sigtramp): Delete function. (mipsnbsd_init_abi): Do not set pc_in_sigtramp.
2004-04-30* m68k-tdep.c (REMOTE_BPT_VECTOR): Remove define.Mark Kettenis3-6/+5
* config/m68k/tm-nbsd.h (REMOTE_BPT_VECTOR): Remove define.
2004-04-30 Revert 2004-04-16 change.Brian Ford4-18/+11
* i386-tdep.c (i386_gdbarch_init): Fix comment typos. (i386_coff_init_abi): Remove. * i386-tdep.h (i386_coff_init_abi): Remove. * i386-cygwin-tdep.c (i386_cygwin_init_abi): Remove call to above.
2004-04-302004-04-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-17/+4
* blockframe.c (find_pc_partial_function): Delete use of DEPRECATED_PC_IN_SIGTRAMP, DEPRECATED_SIGTRAMP_START and DEPRECATED_SIGTRAMP_END.
2004-04-302004-04-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-19/+6
* config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Delete. * config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Delete. * config/mips/tm-nbsd.h: Delete undef DEPRECATED_IN_SIGTRAMP. * config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Delete. * config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Delete.
2004-04-302004-04-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-79/+19
* defs.h (deprecated_inside_entry_file): Delete declaration. * blockframe.c (deprecated_inside_entry_file): Delete function. (legacy_frame_chain_valid): Delete call. * sh64-tdep.c (sh64_frame_chain): Delete call. * objfiles.h: Update comments. * i386-interix-tdep.c (i386_interix_frame_chain_valid): Delete call. * frame.c (get_prev_frame): Delete call, update comments.
2004-04-30 * MAINTAINERS (Write After Approval): Add myself.Brian Ford2-0/+5
2004-04-30gas/H.J. Lu7-25/+92
2004-04-30 H.J. Lu <hongjiu.lu@intel.com> * config/obj-elf.c (get_section): New function. (obj_elf_change_section): Support multiple sections with same name. gas/testsuite/ 2004-04-30 H.J. Lu <hongjiu.lu@intel.com> * gas/elf/elf.exp: Remove group1, add group1a and group1b for section group. * gas/elf/group1a.d: New file. * gas/elf/group1b.d: Likewise. * gas/elf/group1.e: Removed.
2004-04-302004-04-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+37
* elf.c (bfd_section_from_shdr): Maintain the section order in a section group. (special_sections): Add ".note.GNU-stack". (elf_fake_sections): Handle section group for relocatable link..
2004-04-302004-04-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-0/+45
* section.c (bfd_sections_find_if): New. * bfd-in2.h: Regenerated.
2004-04-302004-04-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-3/+7
* readelf.c (process_section_headers): Use %3lu on sh_info.
2004-04-302004-04-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-95/+21
* gdbarch.sh (BELIEVE_PCC_PROMOTION_TYPE): Delete. * gdbarch.h, gdbarch.c: Re-generate. * stabsread.c (define_symbol): Delete BELIEVE_PCC_PROMOTION_TYPE code.
2004-04-30 * ldlang.c (unique_section_p): Pass section parm, return true onAlan Modra4-4/+19
group sections. (output_section_callback): Adjust. * ldlang.h (unique_section_p): Update prototype. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
2004-04-30 * section.c (bfd_make_section_anyway): Add all sections to hash tab.Alan Modra35-36/+169
* elf-bfd.h (bfd_elf_is_group_section): Declare. * elf.c (bfd_elf_is_group_section): New function. * elfxx-target.h (bfd_elfNN_bfd_is_group_section * section.c (bfd_generic_is_group_section): New function. * targets.c (struct bfd_target): Add _bfd_is_group_section field. (BFD_JUMP_TABLE_LINK): Adjust. * aout-adobe.c (aout_32_bfd_is_group_section): Define. * aout-target.h (MY_bfd_is_group_section): Define. * aout-tic30.c (MY_bfd_is_group_section): Define. * bfd.c (bfd_is_group_section): Define. * binary.c (binary_bfd_is_group_section): Define. * bout.c (b_out_bfd_is_group_section): Define. * coff-alpha.c (_bfd_ecoff_bfd_is_group_section): Define. * coff-mips.c (_bfd_ecoff_bfd_is_group_section): Define. * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Adjust. * coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Adjust. * coffcode.h (coff_bfd_is_group_section): Define. * i386msdos.c (msdos_bfd_is_group_section): Define. * i386os9k.c (os9k_bfd_is_group_section): Define. * ieee.c (ieee_bfd_is_group_section): Define. * ihex.c (ihex_bfd_is_group_section): Define. * libbfd-in.h (_bfd_nolink_bfd_is_group_section): Define. * mach-o.c (bfd_mach_o_bfd_is_group_section): Define. * mmo.c (mmo_bfd_is_group_section): Define. * nlm-target.h (nlm_bfd_is_group_section): Define. * oasys.c (oasys_bfd_is_group_section): Define. * pef.c (bfd_pef_bfd_is_group_section): Define. * ppcboot.c (ppcboot_bfd_is_group_section): Define. * srec.c (srec_bfd_is_group_section): Define. * tekhex.c (tekhex_bfd_is_group_section): Define. * versados.c (versados_bfd_is_group_section): Define. * vms.c (vms_bfd_is_group_section): Define. * xsym.c (bfd_sym_bfd_is_group_section): Define. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate.
2004-04-302004-04-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-103/+9
* gdb-events.sh (selected_thread_changed) (selected_frame_level_changed, target_changed): Delete. * gdb-events.h, gdb-events.c: Re-generate. * valops.c (value_assign): Update. * stack.c (select_frame_command, up_silently_base) (down_silently_base): Update.
2004-04-30 * ld.texinfo (--gc-sections): Remove restriction forEric Botcazou2-3/+8
dynamic linking.
2004-04-30Fix handling of case sensitive register aliases and add a test for the bugNick Clifton6-40/+59
2004-04-30 * elflink.c (elf_gc_mark): Follow indirect and warning syms.Alan Modra2-0/+7
2004-04-302004-04-30 Orjan Friberg <orjanf@axis.com>Orjan Friberg2-1/+5
* observer.texi (GDB Observers): Correct spelling.
2004-04-30Fix bug in ranlib.sh script - quote the $1 argument in case it contains spacesNick Clifton2-2/+6
2004-04-30* Corrections to previous patch. Amend ChangeLog.Ben Elliston2-9/+11
* ppc-opc.c (XCMPL): Renmame to XOPL. Update users. (powerpc_opcodes): Add "dbczl" instruction for PPC970.
2004-04-30 * ppc-opc.c (powerpc_opcodes): Add "dbczl" instruction for PPC970.Ben Elliston5-12/+28
[testsuite] * gas/ppc/power4.s: Add dcbz and dcbzl test cases. * gas/ppc/power4.d: Update accordingly.
2004-04-30Eh... sanitize date of last entryHans-Peter Nilsson1-1/+1
2004-04-30 * configure.in: Update version to 2.15.91.Hans-Peter Nilsson3-305/+299
* configure: Regenerate.
2004-04-302004-04-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-41/+62
* mips-tdep.c (mips_register_type): Re-write, handle 32-bit ABI registers correctly. (print_gp_register_row, mips32_heuristic_proc_desc) (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call) (mips_o64_push_dummy_call, mips_eabi_push_dummy_call): Eliminate references to mips_isa_regsize.
2004-04-30daily updateAlan Modra1-1/+1
2004-04-292004-04-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-30/+23
* mips-tdep.c (struct gdbarch_tdep): Delete mips_fp_register_double. (FP_REGISTER_DOUBLE): Delete macro, replace with test for mips_abi_regsize. (mips_gdbarch_init): Do not set mips_fp_register_double. (mips_dump_tdep): Do not print FP_REGISTER_DOUBLE.
2004-04-29Remove >>>>> from someones long-ago commit.Andrew Cagney1-1/+0
2004-04-292004-04-29 Joel Brobecker <brobecker@gnat.com>Andrew Cagney2-5/+20
Committed by Andrew Cagney. * infrun.c (handle_inferior_event): Rely on frame IDs to detect function calls.
2004-04-292004-04-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-100/+111
* mips-tdep.c (mips_abi_regsize): Replace tdep parameter with gdbarch, use mips_abi, update callers. (mips_stack_argsize): Replace tdep parameter with gdbarch, use mips_abi_regsize, update callers. (struct gdbarch_tdep): Delete mips_default_stack_argsize and mips_default_abi_regsize. (mips_gdbarch_init): Do not set mips_default_stack_argsize and mips_default_abi_regsize.
2004-04-292004-04-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-111/+125
* mips-tdep.c (mips_abi_regsize): Rename mips_saved_regsize. (mips_abi_regsize_string): Rename mips_saved_regsize_string. (struct gdbarch_tdep): Rename mips_default_saved_regsize to mips_default_abi_regsize. (mips_isa_regsize): Rename mips_regisze. * mipsnbsd-tdep.c: Update. * mips-linux-tdep.c: Update. * irix5-nat.c: Update. * mips-tdep.h (mips_isa_regsize): Update.
2004-04-29* i386-prologue.exp: Add testcase for jump instruction as firstMark Kettenis3-0/+37
instruction of the real code. * i386-prologue.c (jump_at_beginning): New function.
2004-04-292004-04-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-151/+8
* gdb-events.sh (WITH_GDB_EVENTS): Delete macro and references. Delete all disabled code. * gdb-events.h, gdb-events.c: Re-generate.
2004-04-29Add support for generating DWARF2 debug sections in the x86 PE portNick Clifton9-28/+152
2004-04-29 Mark Kettenis <kettenis@gnu.org>Mark Kettenis2-1/+13
* i386-tdep.c (i386_skip_prologue): follow the last jump only if the function begins with a branch instruction.
2004-04-29* i386-tdep.c: Fix spelling mistakes.Mark Kettenis2-13/+17
2004-04-29merge from gccDJ Delorie2-5/+6
2004-04-292004-04-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>Andrew Cagney6-139/+176
Andrew Cagney <cagney@redhat.com> * configure.in (mips-sgi-irix5*): Define _KMEMUSER for <sys/proc.h>. * acconfig.h: Provide default _KMEMUSER value. * config.in, configure: Re-generate. * NEWS: Mention fix.
2004-04-29 * pe-dll.c: Revert changes accidentally committed 2004-03-08.Alan Modra2-13/+17
(fill_edata): Correct pointer arithmetic.
2004-04-29[ bfd/ChangeLog ]Chris Demetriou8-414/+61
2004-04-28 Chris Demetriou <cgd@broadcom.com> * reloc.c: Remove BFD_RELOC_PCREL_HI16_S and BFD_RELOC_PCREL_LO16. * bfd-in2.h: Regenerate. * libbfd.h: Likewise. [ gas/ChangeLog ] 2004-04-28 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c (HAVE_32BIT_ADDRESSES, append_insn, macro_build) (load_address, macro, mips_ip, md_parse_option) (mips_force_relocation, mips_validate_fix, md_apply_fix3) (s_change_sec, pic_need_relax, tc_gen_reloc): Remove all embedded-PIC handling, and update comments. (SWITCH_TABLE): Remove. * config/tc-mips.h (DIFF_EXPR_OK): Delete. (enum mips_pic_level): Remove EMBEDDED_PIC. (EXTERN_FORCE_RELOC): Remove embedded-PIC handling. (TC_FORCE_RELOCATION): Update comment. * ecoff.c (ecoff_build_lineno): Add comment about some code that might be safe to remove now that MIPS embedded-PIC is gone.
2004-04-292004-04-24 Randolph Chung <tausq@debian.org>Randolph Chung12-3/+879
* configure.host (hppa*-*-linux*): New target. * configure.tgt (hppa*-*-linux*): Likewise. * hppa-tdep.c (hppa_gdbarch_init): Set cannot_fetch_register, move gdbarch_init_osabi() call earlier so that osabi-specific frame unwinders can be registered first. * config/djgpp/fnchange.lst: Add entries for hppa-linux-tdep.c and hppa-linux-nat.c. * config/pa/tm-hppa.h (ISR_REGNUM, PID0_REGNUM, PID1_REGNUM) (PID2_REGNUM, PID3_REGNUM): Add definitions of some register numbers. * config/pa/linux.mh: New file. * config/pa/linux.mt: New file. * config/pa/nm-linux.h: New file. * config/pa/xm-linux.h: New file. * hppa-linux-nat.c: New file. * hppa-linux-tdep.c: New file.
2004-04-292004-04-28 Randolph Chung <tausq@debian.org>Randolph Chung2-26/+64
* hppa-tdep.c (hppa32_return_value): Handle both 4- and 8-byte fp return values. (hppa32_push_dummy_call): Fix small struct and floating point argument passing, and make sure the stack frame is properly aligned.
2004-04-29daily updateAlan Modra1-1/+1
2004-04-282004-04-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-5/+7
* stack.c (print_stack_frame): Fix description.
2004-04-28* gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 onMark Kettenis2-7/+5
x86_64-*-*.
2004-04-28 * som.c (struct som_misc_symbol_info): Add is_comdat, is_common andDave Anglin7-65/+250
dup_common fields. (setup_sections): Use som_subspace_dictionary_record struct instead subspace_dictionary_record. Set SEC_LINK_ONCE if subspace is is_comdat, is_common or dup_common. (som_prep_headers): Use som_subspace_dictionary_record struct. Set is_comdat, is_common and dup_common in section subspace_dict from copy_data. (som_begin_writing): Use som_subspace_dictionary_record struct. (som_finish_writing): Likewise. (som_bfd_derive_misc_symbol_info): Add support to set is_comdat, is_common and dup_common flags in info for symbol. Add comment regarding linker support for these fields. Slightly reorganize function. (som_build_and_write_symbol_table): Set is_comdat, is_common and dup_common fields in symbol table from symbol info. (bfd_som_set_subsection_attributes): Add comdat, common and dup_common arguments. Set corresponding fields in copy_data. Change all callers. (som_bfd_ar_write_symbol_stuff): Set dup_common flag in library symbol table. (som_vec): Add SEC_LINK_ONCE to applicable section flags. * som.h (som_subspace_dictionary_record): Define. (som_copyable_section_data_struct): Add is_comdat, is_common and dup_common fields. (som_section_data_struct): Use som_subspace_dictionary_record struct instead of subspace_dictionary_record. (bfd_boolean bfd_som_set_subsection_attributes): Adjust prototype. * config/obj-som.c (obj_som_init_stab_section): Add new arguments in call to obj_set_subsection_attributes. (obj_som_init_stab_section): Likewise. * config/tc-hppa.c (default_subspace_dict): Add comdat field. (pa_def_subspaces): Provide comdat default. (pa_subspace): Handle new "comdat" parameter. Set SEC_LINK_ONCE and not SEC_IS_COMMON if section is comdat, common or dup_common. Update calls to create_new_subspace and update_subspace to pass comdat flag. (create_new_subspace, update_subspace): Add new comdat argument. Use it in calls to obj_set_subsection_attributes. * doc/c-hppa.texi (.subspa, .nsubspa): Document new comdat parameter and use of comdat, common and dup_comm parameters.
2004-04-282004-04-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-0/+11
* NEWS: Mention gdb/gdbserver/configure execute permission changed. PR server/519.
2004-04-282004-04-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney16-91/+102
* stack.c (print_stack_frame_stub): Delete declaration. (struct print_stack_frame_args, print_stack_frame) (print_frame_info, print_frame): Replace "source" with print what. Replace "print" with "print_level". Replace "args" with "print_args". * frame.h (show_and_print_stack_frame, print_stack_frame) (print_frame_info): Update declarations. * stack.c (select_and_print_frame, frame_command) (current_frame_command, up_command, down_command): Update calls - use get_selected_frame, pass "enum print_what" for source, do not call frame_relative_level. * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Ditto. * remote-rdp.c (remote_rdp_open): Ditto. * remote-mips.c (common_open): Ditto. * remote-e7000.c (e7000_start_remote): Ditto. * ocd.c (ocd_start_remote): Ditto. * mi/mi-main.c (mi_cmd_exec_return): Ditto. * infrun.c (normal_stop): Ditto. * inflow.c (kill_command): Ditto. * infcmd.c (finish_command): Ditto. * corelow.c (core_open): Ditto. * tracepoint.c (finish_tfind_command): Ditto. * thread.c (info_threads_command, info_threads_command) (restore_current_thread, do_captured_thread_select): Ditto. * ada-tasks.c (task_command): Ditto.
2004-04-28* gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 onMark Kettenis2-4/+5
i*86-*-*.