Andrew Cagney [Sun, 2 May 2004 00:21:41 +0000 (00:21 +0000)]
2004-05-01 Andrew Cagney <cagney@redhat.com>
* breakpoint.c (insert_bp_location): Use get_frame_id, and
frame_find_by_id instead of frame_relative_level.
(do_enable_breakpoint): Ditto.
* thread.c: Update copyright.
(info_threads_command): Ditto, simplify.
Alan Modra [Sun, 2 May 2004 00:00:07 +0000 (00:00 +0000)]
daily update
Andrew Cagney [Sat, 1 May 2004 22:41:34 +0000 (22:41 +0000)]
2004-05-01 Andrew Cagney <cagney@redhat.com>
* frame.c (deprecated_generic_get_saved_register): Delete
function, moved to "xstormy16-tdep.c".
* xstormy16-tdep.c (xstormy16_get_saved_register): Inline
deprecated_generic_get_saved_register from "frame.c".
(xstormy16_frame_saved_register): Call
xstormy16_get_saved_register.
* dummy-frame.c (deprecated_find_dummy_frame_regcache): Make
static.
* dummy-frame.h (deprecated_find_dummy_frame_regcache): Delete.
* frame.h (deprecated_generic_get_saved_register): Delete.
Michael Chastain [Sat, 1 May 2004 22:30:27 +0000 (22:30 +0000)]
2004-05-01 Michael Chastain <mec.gnu@mindspring.com>
* dwarfread.c: Update documentation on the state of dwarf-1.
Andrew Cagney [Sat, 1 May 2004 21:11:16 +0000 (21:11 +0000)]
2004-05-01 Andrew Cagney <cagney@redhat.com>
* stack.c (select_frame_command): Delete call to
frame_relative_level.
(print_frame, set_backtrace_limit_command, backtrace_limit_info):
Delete #if0 code.
(frame_info): Do not print FRAMELESS.
(print_block_frame_labels): Replace DEPRECATED_STREQ.
(catch_info): Delete #if0 code.
Andrew Cagney [Sat, 1 May 2004 19:35:22 +0000 (19:35 +0000)]
2004-05-01 Andrew Cagney <cagney@redhat.com>
* frame.c (create_sentinel_frame): Set type to SENTINEL_FRAME.
* dummy-frame.c (dummy_frame_this_id): Use get_frame_type, instead
of frame_relative_level.
* sentinel-frame.c (sentinel_frame_unwinder): Set unwinder's type
to SENTINEL_FRAME.
* frame.h (enum frame_type): Add SENTINEL_FRAME.
* s390-tdep.c (s390_prologue_frame_unwind_cache): Delete calls to
frame_relative_level.
Andrew Cagney [Sat, 1 May 2004 19:02:11 +0000 (19:02 +0000)]
2004-05-01 Andrew Cagney <cagney@redhat.com>
* frame.h (deprecated_set_frame_type): Delete declaration.
* frame.c (deprecated_set_frame_type): Delete function, update
comments.
Andrew Cagney [Sat, 1 May 2004 16:52:30 +0000 (16:52 +0000)]
2004-05-01 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_PC_IN_SIGTRAMP): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* shnbsd-tdep.c (shnbsd_init_abi): Do not set pc_in_sigtramp.
(shnbsd_pc_in_sigtramp): Delete.
* i386-interix-tdep.c (i386_interix_init_abi): Do not set
pc_in_sigtramp.
* hppa-hpux-tdep.c (hppa_hpux_init_abi): Do not set
pc_in_sigtramp.
* frame.h: Update comments.
* ppc-linux-tdep.c: Update comments.
* breakpoint.c (bpstat_what): Update comments.
Index: doc/ChangeLog
2004-05-01 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
description of DEPRECATED_PC_IN_SIGTRAMP.
Andrew Cagney [Sat, 1 May 2004 16:28:11 +0000 (16:28 +0000)]
2004-05-01 Andrew Cagney <cagney@redhat.com>
* Makefile.in (m68klinux-tdep.o, m68klinux-nat.o): Fix
m68klinux-tdep.o's dependencies, were previously added to
m68klinux-nat.o.
Andrew Cagney [Sat, 1 May 2004 15:34:49 +0000 (15:34 +0000)]
2004-05-01 Andrew Cagney <cagney@redhat.com>
* alpha-tdep.c (alpha_sigtramp_frame_sniffer): Use pc_in_sigtramp.
* alpha-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp.
* alphafbsd-tdep.c (alphafbsd_init_abi): Update.
* alpha-osf1-tdep.c (alpha_osf1_init_abi): Update.
* alpha-linux-tdep.c (alpha_linux_init_abi): Update.
Andrew Cagney [Sat, 1 May 2004 15:10:15 +0000 (15:10 +0000)]
2004-05-01 Andrew Cagney <cagney@redhat.com>
* Makefile.in (m68klinux-nat.o): Update dependencies.
* m68klinux-tdep.c: Include "trad-frame.h" and "frame-unwind.h".
(m68k_linux_sigtramp_frame_cache)
(m68k_linux_sigtramp_frame_this_id)
(m68k_linux_sigtramp_frame_prev_register)
(m68k_linux_sigtramp_frame_unwind)
(m68k_linux_sigtramp_frame_sniffer)
(struct m68k_linux_sigtramp_info, m68k_linux_init_abi): Code from
m68k-tdep.h and m68k-tdep.c, add "linux" to function and variable
names, use trad-frame.h.
* m68k-tdep.h (struct gdbarch_tdep): Delete get_sigtramp_info.
(struct m68k_sigtramp_info): Delete.
* m68k-tdep.c (m68k_sigtramp_frame_cache)
(m68k_sigtramp_frame_this_id, m68k_sigtramp_frame_prev_register)
(m68k_sigtramp_frame_unwind, m68k_sigtramp_frame_sniffer)
(m68k_gdbarch_init): Delete all the sigtramp code, moved to
"m68klinux-tdep.c".
Alan Modra [Sat, 1 May 2004 14:20:26 +0000 (14:20 +0000)]
* section.c (bfd_make_section_anyway): Copy the whole
bfd_hash_entry, not just "next" from existing entry.
Andrew Cagney [Sat, 1 May 2004 14:15:19 +0000 (14:15 +0000)]
2004-05-01 Andrew Cagney <cagney@redhat.com>
* infrun.c (check_sigtramp2): Delete check for
DEPRECATED_PC_IN_SIGTRAMP and INNER_THAN.
Mark Kettenis [Sat, 1 May 2004 14:08:47 +0000 (14:08 +0000)]
* m68k-tdep.h (m68kbsd_fpreg_offset): New prototype.
Andrew Cagney [Sat, 1 May 2004 14:00:57 +0000 (14:00 +0000)]
2004-05-01 Andrew Cagney <cagney@redhat.com>
* frv-linux-tdep.c: Include "trad-frame.h" and "frame-unwind.h".
(frv_linux_sigtramp_frame_cache)
(frv_linux_sigtramp_frame_this_id)
(frv_linux_sigtramp_frame_prev_register)
(frv_linux_sigtramp_frame_unwind)
(frv_linux_sigtramp_frame_sniffer): Copied from frv-tdep.c,
include "linux" in function and variable names, directly call
frv_linux_pc_in_sigtramp and frv_linux_sigcontext_reg_addr, use
the latest trad-frame code.
(frv_linux_init_abi): Append frv_linux_sigtramp_frame_sniffer, do
not set frv_sigcontext_reg_addr or deprecated_pc_in_sigtramp
* Makefile.in (frv-linux-tdep.o): Update dependencies.
* frv-tdep.h (frv_set_sigcontext_reg_addr): Delete declaration.
* frv-tdep.c (frv_sigtramp_frame_cache)
(frv_sigtramp_frame_this_id, frv_sigtramp_frame_prev_register)
(frv_sigtramp_frame_unwind, frv_sigtramp_frame_sniffer): Moved to
frv-linux-tdep.c.
(frv_gdbarch_init): Do not append a sigtramp sniffer.
(struct gdbarch_tdep): Delete sigcontext_reg_addr.
(frv_set_sigcontext_reg_addr): Delete function.
Andrew Cagney [Sat, 1 May 2004 13:14:20 +0000 (13:14 +0000)]
2004-05-01 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_SIGTRAMP_START)
(DEPRECATED_SIGTRAMP_END): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* arch-utils.c (legacy_pc_in_sigtramp): Simplify.
* config/vax/tm-vaxbsd.h: Update copyright.
(DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete.
(DEPRECATED_IN_SIGTRAMP): Define.
* config/m68k/tm-nbsd.h: Update copyright.
(DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete.
(DEPRECATED_IN_SIGTRAMP): Define.
Mark Kettenis [Sat, 1 May 2004 10:55:19 +0000 (10:55 +0000)]
* dwarf2-frame.c (read_encoded_value): Handle DW_EH_PE_funcrel
encondings. Fixes PR gdb/1628.
Mark Kettenis [Sat, 1 May 2004 09:52:47 +0000 (09:52 +0000)]
* dwarf2-frame.c (execute_cfa_program): Complain if we encounter a
DW_CFA_restore state without a matching DW_CFA_remember_state
instead of aborting. Fixes PR backtrace/1589.
Joel Brobecker [Sat, 1 May 2004 01:28:17 +0000 (01:28 +0000)]
* MAINTAINERS: Add self as AIX maintainer.
Update my e-mail address in write-after-approval section.
Andrew Cagney [Sat, 1 May 2004 00:52:36 +0000 (00:52 +0000)]
2004-04-30 Andrew Cagney <cagney@redhat.com>
* frame.c (frame_type_from_pc): Delete call to PC_IN_SIGTRAMP.
(legacy_get_prev_frame): Ditto.
Andrew Cagney [Sat, 1 May 2004 00:34:55 +0000 (00:34 +0000)]
2004-04-30 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_pc_in_sigtramp): Delete.
(mips_gdbarch_init): Do not set pc_in_sigtramp.
* mipsread.c (sigtramp_address): Delete extern variable.
(mipscoff_new_init): Delete reference.
* mdebugread.c (sigtramp_address, sigtramp_end): Delete variables.
(fixup_sigtramp): Delete function.
* config/mips/tm-mips.h (sigtramp_address, sigtramp_end)
(fixup_sigtramp): Delete declarations.
Andrew Cagney [Sat, 1 May 2004 00:09:12 +0000 (00:09 +0000)]
2004-04-30 Andrew Cagney <cagney@redhat.com>
* ppcnbsd-tdep.c (ppcnbsd_init_abi): Do not set
deprecated_pc_in_sigtramp.
(ppcnbsd_pc_in_sigtramp): Delete function.
Alan Modra [Sat, 1 May 2004 00:00:08 +0000 (00:00 +0000)]
daily update
Mark Kettenis [Fri, 30 Apr 2004 23:59:54 +0000 (23:59 +0000)]
* config/m68k/nm-nbsd.h: Tweak comments.
* config/m68k/nm-nbsdaout.h: Likewise.
Andrew Cagney [Fri, 30 Apr 2004 23:47:56 +0000 (23:47 +0000)]
2004-04-30 Andrew Cagney <cagney@redhat.com>
* arm-tdep.c (arm_sigtramp_unwind_sniffer): Call legacy_pc_in_sigtramp.
* ia64-tdep.c (ia64_sigtramp_frame_sniffer): Ditto.
Mark Kettenis [Fri, 30 Apr 2004 23:28:52 +0000 (23:28 +0000)]
Add OpenBSD/m68k support.
* 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.
Andrew Cagney [Fri, 30 Apr 2004 22:38:03 +0000 (22:38 +0000)]
2004-04-30 Andrew Cagney <cagney@redhat.com>
* mipsnbsd-tdep.c (mipsnbsd_pc_in_sigtramp): Delete function.
(mipsnbsd_init_abi): Do not set pc_in_sigtramp.
Mark Kettenis [Fri, 30 Apr 2004 21:47:07 +0000 (21:47 +0000)]
* m68k-tdep.c (REMOTE_BPT_VECTOR): Remove define.
* config/m68k/tm-nbsd.h (REMOTE_BPT_VECTOR): Remove define.
Brian Ford [Fri, 30 Apr 2004 21:13:58 +0000 (21:13 +0000)]
Revert 2004-04-16 change.
* 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.
Andrew Cagney [Fri, 30 Apr 2004 20:58:32 +0000 (20:58 +0000)]
2004-04-30 Andrew Cagney <cagney@redhat.com>
* blockframe.c (find_pc_partial_function): Delete use of
DEPRECATED_PC_IN_SIGTRAMP, DEPRECATED_SIGTRAMP_START and
DEPRECATED_SIGTRAMP_END.
Andrew Cagney [Fri, 30 Apr 2004 20:52:17 +0000 (20:52 +0000)]
2004-04-30 Andrew Cagney <cagney@redhat.com>
* 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.
Andrew Cagney [Fri, 30 Apr 2004 20:44:59 +0000 (20:44 +0000)]
2004-04-30 Andrew Cagney <cagney@redhat.com>
* 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.
Brian Ford [Fri, 30 Apr 2004 19:44:50 +0000 (19:44 +0000)]
* MAINTAINERS (Write After Approval): Add myself.
H.J. Lu [Fri, 30 Apr 2004 16:47:46 +0000 (16:47 +0000)]
gas/
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.
H.J. Lu [Fri, 30 Apr 2004 15:04:30 +0000 (15:04 +0000)]
2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
* 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..
H.J. Lu [Fri, 30 Apr 2004 15:01:15 +0000 (15:01 +0000)]
2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
* section.c (bfd_sections_find_if): New.
* bfd-in2.h: Regenerated.
H.J. Lu [Fri, 30 Apr 2004 14:56:03 +0000 (14:56 +0000)]
2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (process_section_headers): Use %3lu on sh_info.
Andrew Cagney [Fri, 30 Apr 2004 14:40:56 +0000 (14:40 +0000)]
2004-04-30 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (BELIEVE_PCC_PROMOTION_TYPE): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* stabsread.c (define_symbol): Delete BELIEVE_PCC_PROMOTION_TYPE
code.
Alan Modra [Fri, 30 Apr 2004 14:26:09 +0000 (14:26 +0000)]
* ldlang.c (unique_section_p): Pass section parm, return true on
group sections.
(output_section_callback): Adjust.
* ldlang.h (unique_section_p): Update prototype.
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
Alan Modra [Fri, 30 Apr 2004 14:23:40 +0000 (14:23 +0000)]
* section.c (bfd_make_section_anyway): Add all sections to hash tab.
* 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.
Andrew Cagney [Fri, 30 Apr 2004 14:12:46 +0000 (14:12 +0000)]
2004-04-30 Andrew Cagney <cagney@redhat.com>
* 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.
Eric Botcazou [Fri, 30 Apr 2004 11:49:45 +0000 (11:49 +0000)]
* ld.texinfo (--gc-sections): Remove restriction for
dynamic linking.
Nick Clifton [Fri, 30 Apr 2004 10:51:13 +0000 (10:51 +0000)]
Fix handling of case sensitive register aliases and add a test for the bug
Alan Modra [Fri, 30 Apr 2004 08:48:55 +0000 (08:48 +0000)]
* elflink.c (elf_gc_mark): Follow indirect and warning syms.
Orjan Friberg [Fri, 30 Apr 2004 07:38:50 +0000 (07:38 +0000)]
2004-04-30 Orjan Friberg <orjanf@axis.com>
* observer.texi (GDB Observers): Correct spelling.
Nick Clifton [Fri, 30 Apr 2004 07:37:15 +0000 (07:37 +0000)]
Fix bug in ranlib.sh script - quote the $1 argument in case it contains spaces
Ben Elliston [Fri, 30 Apr 2004 07:14:40 +0000 (07:14 +0000)]
* Corrections to previous patch. Amend ChangeLog.
* ppc-opc.c (XCMPL): Renmame to XOPL. Update users.
(powerpc_opcodes): Add "dbczl" instruction for PPC970.
Ben Elliston [Fri, 30 Apr 2004 06:46:53 +0000 (06:46 +0000)]
* ppc-opc.c (powerpc_opcodes): Add "dbczl" instruction for PPC970.
[testsuite]
* gas/ppc/power4.s: Add dcbz and dcbzl test cases.
* gas/ppc/power4.d: Update accordingly.
Hans-Peter Nilsson [Fri, 30 Apr 2004 06:29:36 +0000 (06:29 +0000)]
Eh... sanitize date of last entry
Hans-Peter Nilsson [Fri, 30 Apr 2004 06:28:46 +0000 (06:28 +0000)]
* configure.in: Update version to 2.15.91.
* configure: Regenerate.
Andrew Cagney [Fri, 30 Apr 2004 00:43:09 +0000 (00:43 +0000)]
2004-04-29 Andrew Cagney <cagney@redhat.com>
* 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.
Alan Modra [Fri, 30 Apr 2004 00:00:06 +0000 (00:00 +0000)]
daily update
Andrew Cagney [Thu, 29 Apr 2004 23:39:52 +0000 (23:39 +0000)]
2004-04-29 Andrew Cagney <cagney@redhat.com>
* 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.
Andrew Cagney [Thu, 29 Apr 2004 22:37:53 +0000 (22:37 +0000)]
Remove >>>>> from someones long-ago commit.
Andrew Cagney [Thu, 29 Apr 2004 22:36:24 +0000 (22:36 +0000)]
2004-04-29 Joel Brobecker <brobecker@gnat.com>
Committed by Andrew Cagney.
* infrun.c (handle_inferior_event): Rely on frame IDs to detect
function calls.
Andrew Cagney [Thu, 29 Apr 2004 19:42:01 +0000 (19:42 +0000)]
2004-04-29 Andrew Cagney <cagney@redhat.com>
* 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.
Andrew Cagney [Thu, 29 Apr 2004 18:28:43 +0000 (18:28 +0000)]
2004-04-29 Andrew Cagney <cagney@redhat.com>
* 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.
Mark Kettenis [Thu, 29 Apr 2004 18:05:31 +0000 (18:05 +0000)]
* i386-prologue.exp: Add testcase for jump instruction as first
instruction of the real code.
* i386-prologue.c (jump_at_beginning): New function.
Andrew Cagney [Thu, 29 Apr 2004 18:00:08 +0000 (18:00 +0000)]
2004-04-29 Andrew Cagney <cagney@redhat.com>
* gdb-events.sh (WITH_GDB_EVENTS): Delete macro and references.
Delete all disabled code.
* gdb-events.h, gdb-events.c: Re-generate.
Nick Clifton [Thu, 29 Apr 2004 16:40:20 +0000 (16:40 +0000)]
Add support for generating DWARF2 debug sections in the x86 PE port
Mark Kettenis [Thu, 29 Apr 2004 16:24:01 +0000 (16:24 +0000)]
Mark Kettenis <kettenis@gnu.org>
* i386-tdep.c (i386_skip_prologue): follow the last jump only if
the function begins with a branch instruction.
Mark Kettenis [Thu, 29 Apr 2004 16:13:21 +0000 (16:13 +0000)]
* i386-tdep.c: Fix spelling mistakes.
DJ Delorie [Thu, 29 Apr 2004 16:08:50 +0000 (16:08 +0000)]
merge from gcc
Andrew Cagney [Thu, 29 Apr 2004 14:29:14 +0000 (14:29 +0000)]
2004-04-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
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.
Alan Modra [Thu, 29 Apr 2004 13:05:49 +0000 (13:05 +0000)]
* pe-dll.c: Revert changes accidentally committed 2004-03-08.
(fill_edata): Correct pointer arithmetic.
Chris Demetriou [Thu, 29 Apr 2004 05:14:22 +0000 (05:14 +0000)]
[ bfd/ChangeLog ]
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.
Randolph Chung [Thu, 29 Apr 2004 03:36:50 +0000 (03:36 +0000)]
2004-04-24 Randolph Chung <tausq@debian.org>
* 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.
Randolph Chung [Thu, 29 Apr 2004 03:25:35 +0000 (03:25 +0000)]
2004-04-28 Randolph Chung <tausq@debian.org>
* 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.
Alan Modra [Thu, 29 Apr 2004 00:00:11 +0000 (00:00 +0000)]
daily update
Andrew Cagney [Wed, 28 Apr 2004 22:47:21 +0000 (22:47 +0000)]
2004-04-28 Andrew Cagney <cagney@redhat.com>
* stack.c (print_stack_frame): Fix description.
Mark Kettenis [Wed, 28 Apr 2004 18:16:07 +0000 (18:16 +0000)]
* gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
x86_64-*-*.
Dave Anglin [Wed, 28 Apr 2004 18:02:49 +0000 (18:02 +0000)]
* som.c (struct som_misc_symbol_info): Add is_comdat, is_common and
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.
Andrew Cagney [Wed, 28 Apr 2004 16:42:18 +0000 (16:42 +0000)]
2004-04-28 Andrew Cagney <cagney@redhat.com>
* NEWS: Mention gdb/gdbserver/configure execute permission
changed. PR server/519.
Andrew Cagney [Wed, 28 Apr 2004 16:36:25 +0000 (16:36 +0000)]
2004-04-28 Andrew Cagney <cagney@redhat.com>
* 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.
Mark Kettenis [Wed, 28 Apr 2004 00:22:43 +0000 (00:22 +0000)]
* gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
i*86-*-*.
Mark Kettenis [Wed, 28 Apr 2004 00:15:52 +0000 (00:15 +0000)]
* gdb.base/call-sc.exp (start_scalars_test): Fix regular
expression that checks the return type.
Alan Modra [Wed, 28 Apr 2004 00:00:07 +0000 (00:00 +0000)]
daily update
Bob Wilson [Tue, 27 Apr 2004 21:28:16 +0000 (21:28 +0000)]
* elf32-xtensa.c (xtensa_read_table_entries): Use section _cooked_size
if set. Check reloc_done flag before applying relocations. Use
output addresses, both when applying relocations and when comparing
against the specified section.
(elf_xtensa_relocate_section): Use output address to check if dynamic
reloc is in a literal pool. Set section's reloc_done flag.
DJ Delorie [Tue, 27 Apr 2004 18:28:03 +0000 (18:28 +0000)]
merge from gcc:
2004-04-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* acx.m4 (ACX_PROG_GNAT): Check if ${CC} produces object file for
Ada compilation.
Fix acx_cv_cc_gcc_supports_ada spelling.
DJ Delorie [Tue, 27 Apr 2004 18:25:01 +0000 (18:25 +0000)]
merge from gcc:
2004-04-27 Paolo Bonzini <bonzini@gnu.org>
Revert:
2004-04-26 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (flags_to_pass): Remove *dir variables that
are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS,
as well as prefix and exec_prefix.
* Makefile.in: Regenerate.
2004-04-26 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (host_modules): Mark with the bootstrap
flag packages on which gcc depends.
* Makefile.tpl (all-bootstrap): Use it.
* Makefile.in: Regenerate.
2004-04-26 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (flags_to_pass): Remove *dir variables that
are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS,
as well as prefix and exec_prefix.
* Makefile.in: Regenerate.
2004-04-26 Paolo Bonzini <bonzini@gnu.org>
* configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
* configure: Regenerate.
* config/acx.m4: Mutuate ACX_PROG_CMP_IGNORE_INITIAL from gcc.
* gcc/Makefile.tpl (compare): Use the result of the test.
* gcc/Makefile.in: Regenerate.
2004-04-23 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (all-stage1-gcc, all-stage2-gcc, all-stage3-gcc):
Always relocate gcc and prev-gcc to the original names, even
if the build fails.
(new-cleanstrap, new-restage1, new-restage2, new-restage3):
New targets.
H.J. Lu [Tue, 27 Apr 2004 16:06:07 +0000 (16:06 +0000)]
2004-04-27 H.J. Lu <hongjiu.lu@intel.com>
* elf32-sh64.c (elf_backend_section_flags): New. Defined.
(sh64_elf_set_mach_from_flags): Remove the kludge for .cranges
section.
(sh64_elf_section_flags): New. Set SEC_DEBUGGING for .cranges
section.
Alan Modra [Tue, 27 Apr 2004 06:31:16 +0000 (06:31 +0000)]
* objcopy.c (copy_usage, strip_usage): Fix spelling.
H.J. Lu [Tue, 27 Apr 2004 03:59:09 +0000 (03:59 +0000)]
binutils/
2004-04-26 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (do_section_groups): New.
(options): Add --section-groups/-g.
(usage): Mention --section-groups/-g.
(parse_args): Support --section-groups/-g.
(get_group_flags): New.
(process_section_groups): New.
(process_object): Call process_section_groups.
gas/
2004-04-26 H.J. Lu <hongjiu.lu@intel.com>
* config/obj-elf.c (obj_elf_change_section): Check if the old
group name is NULL before comparison.
gas/testsuite/
2004-04-26 H.J. Lu <hongjiu.lu@intel.com>
* gas/elf/elf.exp: Add group0a, group0b and group1 for section
group.
* gas/elf/group0.s: New file.
* gas/elf/group0a.d: Likewise.
* gas/elf/group0b.d: Likewise.
* gas/elf/group1.e: Likewise.
* gas/elf/group1.s: Likewise.
Alan Modra [Tue, 27 Apr 2004 03:13:15 +0000 (03:13 +0000)]
* elf64-alpha.c (elf64_alpha_read_ecoff_info): Don't assign
structure field removed in 2004-04-24 patch.
* elf64-sparc.c (sparc64_elf_plt_sym_val): Warning fix.
* elf-bfd.h (struct elf_backend_data <elf_backend_section_flags>):
Constify hdr arg.
* elf32-arm.h (elf32_arm_section_flags): Likewise.
* elf64-alpha.c (elf64_alpha_section_flags): Likewise.
* elfxx-ia64.c (elfNN_ia64_section_flags): Likewise.
* elf.c (_bfd_elf_make_section_from_shdr): Set the bfd_section
field before calling elf_backend_section_flags.
Alan Modra [Tue, 27 Apr 2004 00:00:05 +0000 (00:00 +0000)]
daily update
DJ Delorie [Mon, 26 Apr 2004 18:23:59 +0000 (18:23 +0000)]
merge from gcc
Orjan Friberg [Mon, 26 Apr 2004 09:49:36 +0000 (09:49 +0000)]
2004-04-26 Orjan Friberg <orjanf@axis.com>
* frame.c: Include "observer.h".
(frame_observer_target_changed): New function.
(_initialize_frame): Attach target_changed observer.
* regcache.c: Include "observer.h".
(regcache_observer_target_changed): New function.
(_initialize_regcache): Attach target_changed observer.
* valops.c: Include "observer.h".
(value_assign): Notify target_changed event when modifying register.
* Makefile.in (frame.o, regcache.o, valops.o): Add $(observer_h).
Orjan Friberg [Mon, 26 Apr 2004 09:36:56 +0000 (09:36 +0000)]
2004-04-26 Orjan Friberg <orjanf@axis.com>
* observer.texi (GDB Observers): Add target_changed event.
Orjan Friberg [Mon, 26 Apr 2004 09:02:41 +0000 (09:02 +0000)]
2004-04-26 Orjan Friberg <orjanf@axis.com>
From Paul Koning <pkoning@equallogic.com>:
* breakpoint.c (free_valchain): New function.
(insert_bp_location, delete_breakpoint): Use free_valchain.
(remove_breakpoint): Do not remove the valchain.
(bpstat_stop_status): If not stopped by watchpoint, skip
watchpoints when generating stop status list.
* infrun.c (handle_inferior_event): Make
stepped_after_stopped_by_watchpoint a global variable.
* remote.c (remote_stopped_data_address): Return watch data
address rather than zero if stepped_after_stopped_by_watchpoint is
set.
Michael Chastain [Sun, 25 Apr 2004 20:42:45 +0000 (20:42 +0000)]
2004-04-25 Michael Chastain <mec.gnu@mindspring.com>
Fix PR gdb/1626.
* configure.in: Check for curses after termcap.
On osf5.*, do not check for ncurses.
* configure: Regenerate.
Mark Kettenis [Sun, 25 Apr 2004 14:36:15 +0000 (14:36 +0000)]
* ppcobsd-nat.c: Include "ppc-tdep.h".
* Makefile.in (ppcobsd-nat.o): Update dependencies.
Mark Kettenis [Sun, 25 Apr 2004 11:28:35 +0000 (11:28 +0000)]
* stack.c (return_command): Use CHECK_TYPEDEF on the return type.
Fixes PR tdep/1623 and PR tdep/1624.
Chris Demetriou [Sat, 24 Apr 2004 22:07:14 +0000 (22:07 +0000)]
[ bfd/ChangeLog ]
2004-04-24 Chris Demetriou <cgd@broadcom.com>
* elf32-mips.c (elf_mips_gnu_rel_hi16, elf_mips_gnu_rel_lo16)
(elf_mips_gnu_pcrel64, elf_mips_gnu_pcrel32): Remove.
(bfd_elf32_bfd_reloc_type_lookup): Remove cases for
BFD_RELOC_PCREL_HI16_S, BFD_RELOC_PCREL_LO16, BFD_RELOC_64_PCREL,
and BFD_RELOC_32_PCREL.
(mips_elf32_rtype_to_howto): Remove cases for R_MIPS_GNU_REL_HI16,
R_MIPS_GNU_REL_LO16, R_MIPS_PC64, R_MIPS_PC32.
* elfxx-mips.c (mips_elf_calculate_relocation): Likewise.
(_bfd_mips_elf_lo16_reloc): Remove handling for R_MIPS_GNU_REL_HI16.
(mips_elf_next_relocation): Move comment about matching HI/LO
relocations to...
(_bfd_mips_elf_relocate_section): Here. Remove handling for
R_MIPS_GNU_REL_HI16.
[ include/elf/ChangeLog ]
2004-04-24 Chris Demetriou <cgd@broadcom.com>
* mips.h (R_MIPS_PC32, R_MIPS_PC64, R_MIPS_GNU_REL_LO16)
(R_MIPS_GNU_REL_HI16): Remove.
(R_MIPS_GNU_REL16_S2): Update comment.
[ ld/testsuite/ChangeLog ]
2004-04-24 Chris Demetriou <cgd@broadcom.com>
* ld-elf/merge.d: XFAIL on all MIPS targets.
Michael Chastain [Sat, 24 Apr 2004 18:44:29 +0000 (18:44 +0000)]
2004-04-24 Michael Chastain <mec.gnu@mindspring.com>
* xmodem.h, xmodem.c: Remove files.
* Makefile.in: Remove references to xmodem.h, xmodem.c.
Alan Modra [Sat, 24 Apr 2004 12:41:02 +0000 (12:41 +0000)]
* ld-powerpc/tlsexe32.d: Update.
* ld-powerpc/tlsso32.d: Update.
Alan Modra [Sat, 24 Apr 2004 12:39:47 +0000 (12:39 +0000)]
* objdump.c (disassemble_section): Don't disassemble sections
without SEC_HAS_CONTENTS.
Chris Demetriou [Sat, 24 Apr 2004 06:57:28 +0000 (06:57 +0000)]
2004-04-23 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.h (mips_dwarf2_addr_size): Prototype.
Randolph Chung [Sat, 24 Apr 2004 06:13:32 +0000 (06:13 +0000)]
2004-04-23 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_stub_unwind_cache, hppa_stub_frame_unwind_cache)
(hppa_stub_frame_this_id, hppa_stub_frame_prev_register)
(hppa_stub_frame_unwind, hppa_stub_unwind_sniffer): New stub unwinder
for handling stackless frames.
(hppa_gdbarch_init): Link in hppa_stub_unwind_sniffer.
Chris Demetriou [Sat, 24 Apr 2004 06:12:25 +0000 (06:12 +0000)]
[ bfd/ChangeLog ]
2004-04-23 Chris Demetriou <cgd@broadcom.com>
* coff-mips.c (mips_relhi_reloc, mips_rello_reloc)
(mips_switch_reloc, mips_read_relocs, mips_relax_section)
(mips_relax_pcrel16, PCREL16_EXPANSION_ADJUSTMENT): Remove.
(mips_relocate_hi): Remove now-unused 'adjust' and 'pcrel' arguments,
and update comments to reflect current usage.
(mips_howto_table): Remove entries for MIPS_R_RELHI, MIPS_R_RELLO,
and MIPS_R_SWITCH, as well as several empty entries. Update comment
for MIPS_R_PCREL16.
(mips_ecoff_swap_reloc_in, mips_ecoff_swap_reloc_out)
(mips_adjust_reloc_out, mips_bfd_reloc_type_lookup): Remove support
for MIPS_R_SWITCH, MIPS_R_RELLO, and MIPS_R_RELHI relocations.
(mips_adjust_reloc_in): Likewise, adjust maximum accepted relocation
type number to be MIPS_R_PCREL16.
(mips_relocate_section): Remove support for link-time relaxation
of branches used by embedded-PIC. Remove support for MIPS_R_SWITCH,
MIPS_R_RELLO, and MIPS_R_RELHI relocations.
(_bfd_ecoff_bfd_relax_section): Redefine to bfd_generic_relax_section.
* ecoff.c (ecoff_indirect_link_order): Remove support for link-time
relaxation of branches used by embedded-PIC.
* ecofflink.c (bfd_ecoff_debug_accumulate): Likewise.
* libecoff.h (struct ecoff_section_tdata): Remove embedded-PIC
related members, update comment.
* pe-mips.c: Remove disabled (commented-out and #if 0'd)
code related to embedded-PIC.
* elfxx-mips.c (_bfd_mips_elf_read_ecoff_info): Remove
initialization of now-removed 'adjust' member of
'struct ecoff_debug_info'.
[ include/coff/ChangeLog ]
2004-04-23 Chris Demetriou <cgd@broadcom.com>
* mips.h (MIPS_R_RELHI, MIPS_R_RELLO, MIPS_R_SWITCH): Remove
(MIPS_R_PCREL16): Update comment.
* ecoff.h (struct ecoff_value_adjust): Remove structure.
(struct ecoff_debug_info): Remove 'adjust' member.
Randolph Chung [Sat, 24 Apr 2004 06:10:01 +0000 (06:10 +0000)]
2004-04-23 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_frame_cache): Handle the case when frame unwind
starts at a pc before the frame is created.