platform/upstream/binutils.git
17 years agogdb/
Richard Sandiford [Wed, 16 May 2007 07:24:08 +0000 (07:24 +0000)]
gdb/
* configure.ac: Allow sysroots to be relocated under $prefix as
well as $exec_prefix.
* configure: Regenerate.

17 years agold/
Richard Sandiford [Wed, 16 May 2007 07:19:46 +0000 (07:19 +0000)]
ld/
* configure.in: Allow sysroots to be relocated under $prefix as
well as $exec_prefix.
* configure: Regenerate.

17 years agodaily update
Alan Modra [Wed, 16 May 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Wed, 16 May 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * config/unknown.exp: Remove.
Vladimir Prus [Tue, 15 May 2007 17:06:41 +0000 (17:06 +0000)]
    * config/unknown.exp: Remove.

17 years ago2007-05-15 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 15 May 2007 13:57:03 +0000 (13:57 +0000)]
2007-05-15  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4504
* ld-elf/data1.c: New file.
* ld-elf/data1.h: Likewise.
* ld-elf/dynbss1.c: Likewise.
* ld-elf/pass.out: Likewise.

* ld-elf/shared.exp (build_tests): Add "Build libdata1.so".
(run_tests): Add "Run with libdata1.so".

17 years ago2007-05-15 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 15 May 2007 13:55:54 +0000 (13:55 +0000)]
2007-05-15  H.J. Lu  <hongjiu.lu@intel.com>
    Alan Modra  <amodra@bigpond.net.au>

PR ld/4504
* elf-bfd.h (_bfd_elf_adjust_dynamic_copy): New.
* elflink.c (_bfd_elf_adjust_dynamic_copy): New.

* elf-m10300.c (_bfd_mn10300_elf_adjust_dynamic_symbol): Call
_bfd_elf_adjust_dynamic_copy to adjust for the copy in dynamic
bss section.
* elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Likewise.
* elf32-cris.c (elf_cris_adjust_dynamic_symbol): Likewise.
* elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise.
* elf32-i370.c (i370_elf_adjust_dynamic_symbol): Likewise.
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Likewise.
* elf32-m32r.c (m32r_elf_adjust_dynamic_symbol): Likewise.
* elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise.
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise.
* elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
* elf32-sh.c (sh_elf_adjust_dynamic_symbol): Likewise.
* elf32-vax.c (elf_vax_adjust_dynamic_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise.
* elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
* elf64-sh64.c (sh64_elf64_adjust_dynamic_symbol): Likewise.
* elf64-x86-64.c (elf64_x86_64_adjust_dynamic_symbol): Likewise.
* elfxx-mips.c (_bfd_mips_vxworks_adjust_dynamic_symbol): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise.

17 years ago2007-05-15 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Tue, 15 May 2007 13:18:09 +0000 (13:18 +0000)]
2007-05-15  Markus Deuling  <deuling@de.ibm.com>

        * gdb.base/info-proc.exp: Check is_remote.

17 years agold/testsuite/
Richard Sandiford [Tue, 15 May 2007 12:22:34 +0000 (12:22 +0000)]
ld/testsuite/
* ld-arm/vxworks1.ld: Swap .bss and .data.
* ld-arm/vxworks1-lib.rd: Update accordingly.
* ld-arm/vxworks1-lib.td: New test.
* ld-arm/arm-elf.exp: Run it.

* ld-i386/vxworks1.ld: Swap .bss and .data.
* ld-i386/vxworks1-lib.rd: Update accordingly.
* ld-i386/vxworks1-lib.td: New test.
* ld-i386/i386.exp: Run it.

* ld-mips-elf/vxworks1.ld: Swap .bss and .data.
* ld-mips-elf/vxworks1-lib.rd: Update accordingly.
* ld-mips-elf/vxworks1.rd: Likewise.

* ld-powerpc/vxworks1.ld: Swap .bss and .data.
* ld-powerpc/vxworks1-lib.rd: Update accordingly.
* ld-powerpc/vxworks1-lib.td: New test.
* ld-powerpc/powerpc.exp: Run it.

* ld-sh/vxworks1.ld: Swap .bss and .data.
* ld-sh/vxworks1-lib.rd: Update accordingly.
* ld-sh/vxworks1-lib.td: New test.
* ld-sh/sh-vxworks.exp: Run it.

* ld-sparc/vxworks1.ld: Swap .bss and .data.
* ld-sparc/vxworks1-lib.rd: Update accordingly.
* ld-sparc/vxworks1-lib.td: New test.
* ld-sparc/sparc.exp: Run it.

17 years ago * mips3264r2.igen (DSHD): Fix compile warning.
Thiemo Seufer [Tue, 15 May 2007 12:20:32 +0000 (12:20 +0000)]
* mips3264r2.igen (DSHD): Fix compile warning.

17 years agobfd/
Richard Sandiford [Tue, 15 May 2007 12:18:53 +0000 (12:18 +0000)]
bfd/
* elfxx-mips.c (mips_elf_create_local_got_entry): Remove
input_section argument.  Create .rela.dyn relocations against
symbol 0 rather than the section symbol.
(mips_elf_local_got_index): Remove input_section argument.
Update call to mips_elf_create_local_got_entry.
(mips_elf_got_page, mips_elf_got16_entry): Likewise.
(mips_elf_calculate_relocation): Update calls to
mips_elf_local_got_index, mips_elf_got16_entry and mips_elf_got_page.

ld/testsuite/
* ld-mips-elf/vxworks1-lib.rd: Expect the GOT relocation to be
against symbol 0.

17 years ago gas/
Mark Shinwell [Tue, 15 May 2007 10:06:03 +0000 (10:06 +0000)]
gas/
* app.c (do_scrub_chars): Don't damage \@ pseudo-variables.

gas/testsuite/
* gas/arm/backslash-at.d: New.
* gas/arm/backslash-at.s: New.

17 years ago bfd/
Mark Shinwell [Tue, 15 May 2007 09:54:09 +0000 (09:54 +0000)]
bfd/
* elf32-arm.c (elf32_arm_final_link_relocate): Correctly
handle the Thumb-2 JUMP19 relocation.

ld/testsuite/
* ld-arm/arm-elf.exp: Add jump19 testcase.
* ld-arm/jump19.d: New.
* ld-arm/jump19.s: New.

17 years ago PR gas/3041
Nick Clifton [Tue, 15 May 2007 09:21:24 +0000 (09:21 +0000)]
PR gas/3041
* config/tc-m68k.c (relaxable_symbol): Make sure that the correct addend is stored for relocs against weak symbols.
    (md_apply_fix): So not loose track of addend for relocs against weak symbols.
* testsuite/gas/m68k/p3041.s: New test case.
* testsuite/gas/m68k/p3041.d: New expected disassembly.
* testsuite/gas/m68k/all.exp: Run new test for m68k-*-netbsd toolchains.
    Only run arch-cpu-1 test for ELF based toolchains.

    Tidy ups for m68k-netbsd gas toolchain:
* testsuite/gas/m68k/cpu32.d: Allow for extra text after expected disassembly.
* testsuite/gas/m68k/mcf-trap.d: Allow for alternative trap mnemonics.
* testsuite/gas/m68k/br-isab.d: Fix name of test.
* testsuite/gas/m68k/br-isac.d: Fix name of test.

17 years ago PR 4479
Alan Modra [Tue, 15 May 2007 08:39:58 +0000 (08:39 +0000)]
PR 4479
* elf.c (elf_fake_sections): Don't allow backend to change
SHT_NOBITS if called for strip/objcopy --only-keep-debug.
* elfxx-mips.c (_bfd_mips_elf_fake_sections): Remove similar
fix from here.

17 years ago * binutils-all/objcopy.exp: Only run needed-by-reloc test for ELF.
Alan Modra [Tue, 15 May 2007 04:23:50 +0000 (04:23 +0000)]
* binutils-all/objcopy.exp: Only run needed-by-reloc test for ELF.

17 years agogas/testsuite/
H.J. Lu [Tue, 15 May 2007 01:05:59 +0000 (01:05 +0000)]
gas/testsuite/

2007-05-14  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4502
* gas/i386/amd.d: Replace "pfmulhrw" with "pmulhrw".

opcodes/

2007-05-14  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4502
* i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".

17 years agodaily update
Alan Modra [Tue, 15 May 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Tue, 15 May 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 14 May 2007 23:16:45 +0000 (23:16 +0000)]
2007-05-14  H.J. Lu  <hongjiu.lu@intel.com>

* hist.c (scale_and_align_entries): Avoid C99 feature.

17 years ago * hppa-hpux-tdep.c: Do not include <dl.h> or <machine/save_state.h>.
Ulrich Weigand [Mon, 14 May 2007 21:35:25 +0000 (21:35 +0000)]
* hppa-hpux-tdep.c: Do not include <dl.h> or <machine/save_state.h>.
(offsetof): Do not define.
(find_stub_with_shl_get): Use numerical value 3 instead of
symbolic value TYPE_PROCEDURE.

17 years ago2007-05-14 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Mon, 14 May 2007 21:04:15 +0000 (21:04 +0000)]
2007-05-14  Markus Deuling  <deuling@de.ibm.com>

* gdb.base/gcore.exp: Initialize variable core_supported.

17 years ago * all-cfg.texi (GDBTUI): New.
Bob Wilson [Mon, 14 May 2007 17:53:07 +0000 (17:53 +0000)]
* all-cfg.texi (GDBTUI): New.
* gdb.texinfo (Mode Options): Use GDBTUI variable.
(TUI, TUI Overview, TUI Keys, TUI Single Key Mode, TUI Commands)
(TUI Configuration): Edit to improve clarity and fix problems of
both style and content.

17 years ago * gdb_proc_service.h (paddr_t): Delete typedef.
Daniel Jacobowitz [Mon, 14 May 2007 17:33:33 +0000 (17:33 +0000)]
* gdb_proc_service.h (paddr_t): Delete typedef.
* proc-service.c (ps_addr_to_core_addr, core_addr_to_ps_addr): New.
(ps_xfer_memory): Take a psaddr_t.  Use ps_addr_to_core_addr.
(ps_pglobal_lookup): Take a psaddr_t *.  Use core_addr_to_ps_addr.
(ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): Take a psaddr_t.
* sol-thread.c (gdb_ps_addr_t): Use psaddr_t instead of paddr_t.
* Makefile.in (proc-service.o): Update.

17 years ago * Makefile.in (mips-tdep.o): Update.
Daniel Jacobowitz [Mon, 14 May 2007 17:23:54 +0000 (17:23 +0000)]
* Makefile.in (mips-tdep.o): Update.
* mips-tdep.c (mips_gdbarch_init): Register the dwarf2 CFI
unwinder.

17 years ago * dwarf2-frame.c (dwarf2_frame_prev_register): Use pack_long
Daniel Jacobowitz [Mon, 14 May 2007 17:21:50 +0000 (17:21 +0000)]
* dwarf2-frame.c (dwarf2_frame_prev_register): Use pack_long
instead of store_typed_address.
* value.c (pack_long): New.
(value_from_longest): Use it.
* value.h (pack_long): New prototype.

17 years ago * dwarf2-frame.c (read_encoded_value): Correct typo. Use
Daniel Jacobowitz [Mon, 14 May 2007 17:19:48 +0000 (17:19 +0000)]
* dwarf2-frame.c (read_encoded_value): Correct typo.  Use
DW_EH_PE_signed if appropriate.

17 years ago * dwarf2read.c (dwarf2_debug_line_missing_file_complaint): New
Daniel Jacobowitz [Mon, 14 May 2007 17:15:20 +0000 (17:15 +0000)]
* dwarf2read.c (dwarf2_debug_line_missing_file_complaint): New
function.
(dwarf_decode_lines): Check for line info without a file.

17 years ago * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
Daniel Jacobowitz [Mon, 14 May 2007 16:56:07 +0000 (16:56 +0000)]
* gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.

17 years ago * linux-thread-db.c (thread_db_pid_to_str): Print thread IDs
Daniel Jacobowitz [Mon, 14 May 2007 16:52:13 +0000 (16:52 +0000)]
* linux-thread-db.c (thread_db_pid_to_str): Print thread IDs
as hexadecimal.

* gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
* gdb.threads/print-threads.exp (test_all_threads): Allow
negative and hexadecimal thread IDs.

17 years ago * jv-exp.y (push_fieldnames): Use STRUCTOP_PTR instead of
Daniel Jacobowitz [Mon, 14 May 2007 16:44:27 +0000 (16:44 +0000)]
* jv-exp.y (push_fieldnames): Use STRUCTOP_PTR instead of
STRUCTOP_STRUCT.
* jv-lang.c (evaluate_subexp_java): Handle STRUCTOP_PTR instead of
STRUCTOP_STRUCT.
* jv-typeprint.c (java_print_type): Do not crash on NULL varstring.

* gdb.java/jprint.java (public): Avoid invalid call to static
method.

17 years ago * mips.igen (ALNV.PS, CEIL.L.fmt, CVT.L.fmt, CVT.PS.S, CVT.S.PL,
Thiemo Seufer [Mon, 14 May 2007 16:24:25 +0000 (16:24 +0000)]
* mips.igen (ALNV.PS, CEIL.L.fmt, CVT.L.fmt, CVT.PS.S, CVT.S.PL,
CVT.S.PU, FLOOR.L.fmt, LDXC1, LUXC1, LWXC1, MADD.fmt, MSUB.fmt,
NMADD.fmt, NMSUB.fmt, PLL.PS, PLU.PS, PREFX, PUL.PS, PUU.PS,
RECIP.fmt, ROUND.L.fmt, RSQRT.fmt, SWXC1, TRUNC.L.fmt): Add support
for mips32r2.

17 years ago * gdbarch.sh (read_sp): Remove.
Ulrich Weigand [Mon, 14 May 2007 15:17:00 +0000 (15:17 +0000)]
* gdbarch.sh (read_sp): Remove.
* gdbarch.c, gdbarch.h: Regenerate.
* frame.c (frame_sp_unwind): Do not call TARGET_READ_SP.

* avr-tdep.c (avr_read_sp): Remove.
(avr_unwind_sp): New function.
(avr_gdbarch_init): Install unwind_sp instead of read_sp callback.
* mips-tdep.c (mips_read_sp): Remove.
(mips_unwind_sp): New function.
(mips_gdbarch_init): Install unwind_sp instead of read_sp callback.
* score-tdep.c (score_read_unsigned_register): Remove.
(score_read_sp): Remove.
(score_unwind_sp): New function.
(score_gdbarch_init): Install unwind_sp instead of read_sp callback.

17 years ago * buildsym.c (start_subfile): Handle absolute pathnames
Daniel Jacobowitz [Mon, 14 May 2007 14:10:35 +0000 (14:10 +0000)]
* buildsym.c (start_subfile): Handle absolute pathnames
while comparing subfile names.

17 years ago * config/tc-mips.c (md_parse_option): Fix parsing of -O option.
Thiemo Seufer [Mon, 14 May 2007 12:28:46 +0000 (12:28 +0000)]
* config/tc-mips.c (md_parse_option): Fix parsing of -O option.

17 years agold/testsuite/
Richard Sandiford [Mon, 14 May 2007 12:07:11 +0000 (12:07 +0000)]
ld/testsuite/
* ld-sh/vxworks1.dd: Remove hexadecimal prefixes from constant pool
contents.  Consistently use "!" as the comment character.
Consistently use _PROCEDURE_LINKAGE_TABLE_ in the first PLT entry.
* ld-sh/vxworks1-le.dd: Likewise.
* ld-sh/vxworks1-lib.dd: Likewise.
* ld-sh/vxworks1-lib-le.dd: Likewise.
* ld-sh/vxworks3.dd: Likewise.
* ld-sh/vxworks3-le.dd: Likewise.

17 years ago2007-05-14 Mei Ligang <ligang@sunnorth.com.cn>
Mei Ligang [Mon, 14 May 2007 10:06:32 +0000 (10:06 +0000)]
2007-05-14  Mei Ligang  <ligang@sunnorth.com.cn>

* config/tc-score.c (data_op2, validate_immediate): Fix bug for addri, addri.c, subi, and
subi.c when immediate number is hex.
(score_insns): Remove subis and subis.c.
(do_sub_rdi16): Delete.

17 years ago * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern):
Andreas Schwab [Mon, 14 May 2007 08:53:23 +0000 (08:53 +0000)]
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern):
Handle null pattern.

testsuite/:
* ld-elf/dl2a.list: New file.
* ld-elf/shared.exp: Add test using --dynamic-list=dl2a.list.

17 years ago2007-05-14 Denis Pilat <denis.pilat@st.com>
Denis Pilat [Mon, 14 May 2007 08:14:05 +0000 (08:14 +0000)]
2007-05-14  Denis Pilat  <denis.pilat@st.com>

* gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.

17 years ago * elf.c (bfd_elf_string_from_elf_section): Return NULL on
Alan Modra [Mon, 14 May 2007 04:15:53 +0000 (04:15 +0000)]
* elf.c (bfd_elf_string_from_elf_section): Return NULL on
invalid shstrndx.
(bfd_elf_get_str_section): Likewise.

17 years agodaily update
Alan Modra [Mon, 14 May 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Mon, 14 May 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * hppa-hpux-tdep.c: Include "regcache.h".
Ulrich Weigand [Sun, 13 May 2007 13:02:54 +0000 (13:02 +0000)]
* hppa-hpux-tdep.c: Include "regcache.h".
* hppa-linux-tdep.c: Likewise.
* hppa-tdep.c: Include "gdb_stdint.h".
(find_unwind_entry): Cast host pointer to uintptr_t before passing
it to paddr_nz.
* Makefile.in: Update dependencies.

17 years ago * blockframe.c: Remove obsolete comments.
Ulrich Weigand [Sun, 13 May 2007 12:48:40 +0000 (12:48 +0000)]
* blockframe.c: Remove obsolete comments.
* alpha-nat.c (fetch_osf_core_registers): Update comment.
* arm-tdep.h (enum gdb_regnum): Remove obsolete part of comment.
* hppa-tdep.h (enum hppa_regnum): Likewise.
* mips-tdep.h: Likewise.
* m68hc11-tdep.c: Likewise.

17 years ago * inferior.h (read_sp): Remove prototype.
Ulrich Weigand [Sun, 13 May 2007 12:27:30 +0000 (12:27 +0000)]
* inferior.h (read_sp): Remove prototype.
* regcache.c (read_sp): Remove.
* gcore.c (derive_stack_segment): Use get_frame_sp instead of read_sp.
* infcall.c (call_function_by_hand): Likewise.
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use regcache instead
of calling read_sp.
* rs6000-tdep.c (rs6000_push_dummy_call): Likewise.

17 years agodaily update
Alan Modra [Sun, 13 May 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Sun, 13 May 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago PR 4497
Alan Modra [Sat, 12 May 2007 14:27:34 +0000 (14:27 +0000)]
PR 4497
* elf-eh-frame.c (struct cie): Add "local_personality".  Make
"personality" a union.
(cie_eq): Compare local_personality too.  Adjust personality
comparison.
(_bfd_elf_discard_section_eh_frame): Check binding on personality
reloc sym to allow for bad symtab.  Use stashed local syms rather
than reading personality local sym.  Handle discarded sections.

17 years agoinclude/elf/
Alan Modra [Sat, 12 May 2007 06:45:33 +0000 (06:45 +0000)]
include/elf/
* spu.h (R_SPU_ADDR16X): Define.
(R_SPU_PPU32, R_SPU_PPU64): Renumber.
bfd/
* elf32-spu.c (elf_howto_table): Add howto for R_SPU_ADDR16X.

17 years ago * i386-linux-nat.c (i386_linux_resume): Use regcache functions
Ulrich Weigand [Sat, 12 May 2007 00:17:05 +0000 (00:17 +0000)]
* i386-linux-nat.c (i386_linux_resume): Use regcache functions
instead of read_register and read_register_pid.

* ia64-linux-nat.c (enable_watchpoints_in_psr): Use REGCACHE
argument instead of PTID.  Use regcache functions instead of
read_register_pid.
(ia64_linux_insert_watchpoint): Update call.
(ia64_linux_stopped_data_address): Use regcache functions
instead of read_register_pid and write_register_pid.

17 years ago * libunwind-frame.h (struct regcache): Add forward declaration.
Ulrich Weigand [Sat, 12 May 2007 00:07:45 +0000 (00:07 +0000)]
* libunwind-frame.h (struct regcache): Add forward declaration.
(libunwind_get_reg_special): Add REGCACHE argument.
* libunwind-frame.c (libunwind_get_reg_special): Add REGCACHE
argument.  Pass it to unw_init_remote_p.

* ia64-tdep.c (ia64_pseudo_register_read): Pass regcache to
libunwind_get_reg_special.
(ia64_access_reg): Remove "write" case.
(ia64_access_fpreg): Likewise.  Read from next_frame passed
as callback argument instead of from current_regcache.
(ia64_access_rse_reg): Remove "write" case.  Read from regcache
passed as callback argument instead of from current_regcache.
(ia64_access_rse_fpreg): New function.
(ia64_unw_rse_acce): Use it instead of ia64_access_fpreg.

17 years ago*** empty log message ***
gdbadmin [Sat, 12 May 2007 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 12 May 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago * NEWS: Mention SPU overlay support.
Ulrich Weigand [Fri, 11 May 2007 20:17:18 +0000 (20:17 +0000)]
* NEWS: Mention SPU overlay support.

17 years ago * spu-tdep.c (spu_frame_unwind_cache): Add comment.
Ulrich Weigand [Fri, 11 May 2007 20:09:29 +0000 (20:09 +0000)]
* spu-tdep.c (spu_frame_unwind_cache): Add comment.

17 years ago * breakpoint.c (remove_breakpoint): Do not remove software
Ulrich Weigand [Fri, 11 May 2007 20:01:31 +0000 (20:01 +0000)]
* breakpoint.c (remove_breakpoint): Do not remove software
breakpoints in unmapped overlay sections.

17 years ago * gdb.base/overlays.exp: Add support for targets with only code
Ulrich Weigand [Fri, 11 May 2007 20:00:29 +0000 (20:00 +0000)]
* gdb.base/overlays.exp: Add support for targets with only code
overlay support, not data overlay.  Support spu-*-* target in
this mode.
* gdb.base/ovlymgr.c: Provide stubs for spu target.
* gdb.base/spu.ld: New file.

17 years ago * spu-tdep.c: Include "observer.h".
Ulrich Weigand [Fri, 11 May 2007 19:58:38 +0000 (19:58 +0000)]
* spu-tdep.c: Include "observer.h".
(spu_frame_unwind_cache): Unwind PC through overlay return stubs.
(spu_overlay_data): New variable.
(struct spu_overlay_table): New type.
(spu_get_overlay_table, spu_overlay_update_osect, spu_overlay_update,
spu_overlay_new_objfile): New functions.
(spu_gdbarch_init): Install spu_overlay_update.
(_initialize_spu_tdep): Register spu_overlay_new_objfile,
allocate spu_overlay_data objfile data.

17 years ago * gdbarch.sh (overlay_update): New gdbarch function.
Ulrich Weigand [Fri, 11 May 2007 19:57:17 +0000 (19:57 +0000)]
* gdbarch.sh (overlay_update): New gdbarch function.
(struct obj_section): Add forward declaration.
* gdbarch.c, gdbarch.h: Regenerate.

* symfile.c (simple_overlay_update): Make global.
(target_overlay_update): Remove variable.
(overlay_is_mapped): Call gdbarch_overlay_update instead of
target_overlay_update.
(overlay_load_command): Likewise.
* symfile.h (struct obj_section): Add forward declaration.
(simple_overlay_update): Add prototype.

* m32r-tdep.c (m32r_gdbarch_init): Install simple_overlay_update.

17 years agodoc/ChangeLog:
Ulrich Weigand [Fri, 11 May 2007 19:55:20 +0000 (19:55 +0000)]
doc/ChangeLog:

* observer.texi (GDB Observers): New observer "new_objfile".

ChangeLog:

* observer.sh: Add "struct objfile" forward declaration.
* target.h (deprecated_target_new_objfile_hook): Remove.
* symfile.c (deprecated_target_new_objfile_hook): Remove.
(clear_symtab_users): Call observer_notify_new_objfile.
(symbol_file_add_with_addrs_or_offsets): Likewise.
* rs6000-nat.c: Include "observer.h".
(vmap_ldinfo): Call observer_notify_new_objfile.
(xcoff_relocate_core): Likewise.
* remote.c (remote_new_objfile_chain): Remove.
(remote_new_objfile): Do not call remote_new_objfile_chain.
(_initialize_remote): Use observer_attach_new_objfile.
* tui/tui-hooks.c (tui_target_new_objfile_chain): Remove.
(tui_new_objfile_hook): Do not call tui_target_new_objfile_chain.
(_initialize_tui_hooks): Use observer_attach_new_objfile.
* aix-thread.c: Include "observer.h".
(target_new_objfile_chain): Remove.
(new_objfile): Do not call target_new_objfile_chain.
(_initialize_aix_thread): Use observer_attach_new_objfile.
* hpux-thread.c: Include "observer.h"
(target_new_objfile_chain): Remove.
(hpux_thread_new_objfile): Make static.  Do not call
target_new_objfile_chain.
(_initialize_hpux_thread): Use observer_attach_new_objfile.
* linux-thread-db.c: Include "observer.h".
(target_new_objfile_chain): Remove.
(thread_db_new_objfile): Do not call target_new_objfile_chain.
(_initialize_thread_db): Use observer_attach_new_objfile.
* sol-thread.c: Include "observer.h".
(target_new_objfile_chain): Remove.
(sol_thread_new_objfile): Make static.  Do not call
target_new_objfile_chain.
(_initialize_sol_thread): Use observer_attach_new_objfile.
* Makefile.in (aix-thread.o, hpux-thread.o, linux-thread-db.o,
rs6000-nat.o, sol-thread.o, tui-hooks.o): Add dependency on
$(observer_h).

17 years ago * gdbarch.sh (remote_translate_xfer_address): Remove.
Ulrich Weigand [Fri, 11 May 2007 19:16:04 +0000 (19:16 +0000)]
* gdbarch.sh (remote_translate_xfer_address): Remove.
* gdbarch.h, gdbarch.c: Regenerate.
* arch-utils.c (generic_remote_translate_xfer_address): Remove.
* arch-utils.h (generic_remote_translate_xfer_address): Remove.
* remote.c (remote_write_bytes_aux, remote_read_bytes): Do not
call gdbarch_remote_translate_xfer_address.
* frv-tdep.c (frv_gdbarch_init): Do not call
set_gdbarch_remote_translate_xfer_address.
* ia64-tdep.c (ia64_remote_translate_xfer_address): Remove.
(ia64_gdbarch_init): Do not install it.

17 years ago * NEWS: Mention change in handling the -tui option.
Bob Wilson [Fri, 11 May 2007 18:31:15 +0000 (18:31 +0000)]
* NEWS: Mention change in handling the -tui option.

17 years ago * linux-thread-db.c (enable_thread_event_reporting): Fix comment
Daniel Jacobowitz [Fri, 11 May 2007 17:43:44 +0000 (17:43 +0000)]
* linux-thread-db.c (enable_thread_event_reporting): Fix comment
typo.

17 years ago PR 4479
Alan Modra [Fri, 11 May 2007 14:09:50 +0000 (14:09 +0000)]
PR 4479
* objcopy.c (copy_object): Don't copy ELF program headers for
--only-keep-debug.

17 years ago * breakpoint.c (single_step_breakpoint_inserted_here_p): New function.
Ulrich Weigand [Fri, 11 May 2007 12:44:34 +0000 (12:44 +0000)]
* breakpoint.c (single_step_breakpoint_inserted_here_p): New function.
(breakpoint_inserted_here_p): Call it.
(software_breakpoint_inserted_here_p): Likewise.

17 years ago * binutils-all/needed-by-reloc.s: Use .long rather than .4byte.
Alan Modra [Fri, 11 May 2007 07:16:28 +0000 (07:16 +0000)]
* binutils-all/needed-by-reloc.s: Use .long rather than .4byte.

17 years agobfd/
Alan Modra [Fri, 11 May 2007 06:39:05 +0000 (06:39 +0000)]
bfd/
* elf32-ppc.h (ppc_elf_select_plt_layout): Update prototype.
(enum ppc_elf_plt_type): Move from..
* elf32-ppc.c: ..here.
(struct ppc_elf_obj_tdata): Add makes_plt_call and has_rel16.
(struct ppc_elf_link_hash_table): Reorder.  Add old_bfd.  Delete
can_use_new_plt.  Make is_vxworks a bitfield.
(ppc_elf_link_hash_table_create): Don't clear is_vxworks (again).
(ppc_elf_check_relocs): Update setting of reloc flags.  Set old_bfd.
(ppc_elf_select_plt_layout): Modify parameters.  Use bfd reloc
flags to better detect object files needing old bss-style plt.
Allow secure plt to be used without rel16 relocs being detected.
Warn if secure plt request cannot be allowed.
ld/
* emultempl/ppc32elf.em (plt_style): New variable.
(old_plt): Delete.
(ppc_after_open): Adjust ppc_elf_select_plt_layout call.
(PARSE_AND_LIST_PROLOGUE): Define OPTION_NEW_PLT, renumber
OPTION_OLD_PLT, OPTION_OLD_GOT and OPTION_STUBSYMS.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add secure-plt.
(PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NEW_PLT.
* ld.texinfo (--secure-plt): Document.

17 years agoinclude/elf/
Alan Modra [Fri, 11 May 2007 03:10:11 +0000 (03:10 +0000)]
include/elf/
* spu.h (R_SPU_PPU32, R_SPU_PPU64): Define.
bfd/
* reloc.c (BFD_RELOC_SPU_PPU32, BFD_RELOC_SPU_PPU64): Define.
* elf-bfd.h (struct elf_backend_data): Change return type of
elf_backend_relocate_section to int.
* elf32-spu.c (elf_howto_table): Add howtos for R_SPU_PPU32 and
R_SPU_PPU64.
(spu_elf_bfd_to_reloc_type): Convert new relocs.
(spu_elf_count_relocs): New function.
(elf_backend_count_relocs): Define.
(spu_elf_relocate_section): Arrange to emit R_SPU_PPU32 and
R_SPU_PPU64 relocs.
* elflink.c (elf_link_input_bfd): Emit relocs if relocate_section
returns 2.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
gas/
* config/tc-spu.c (md_pseudo_table): Add int, long, quad.  Call
spu_cons for word.
(md_assemble): Tidy use of insn.flag.
(get_imm): Likewise.  Handle uppercase input too.
(spu_cons): New function.
* config/tc-spu.h (tc_fix_adjustable): Don't adjust SPU_PPU relocs.
(TC_FORCE_RELOCATION): Don't resolve them either.
binutils/
* embedspu.sh (find_prog): Prefer prog in same dir as embedspu
over one found on the users path.
(main): Generate .reloc for each R_SPU_PPU* reloc.

17 years ago*** empty log message ***
gdbadmin [Fri, 11 May 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Fri, 11 May 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago * server.h (check_remote_input_interrupt_request): New function.
Pedro Alves [Thu, 10 May 2007 22:04:50 +0000 (22:04 +0000)]
* server.h (check_remote_input_interrupt_request): New function.
* remote_utils.c (INVALID_DESCRIPTOR): New define.
(remote_desc): Initialize with INVALID_DESCRIPTOR.
(input_interrupt): Expose on USE_WIN32API too.  Fix whitespace.
(check_remote_input_interrupt_request): New function.
* server.h (check_remote_input_interrupt_request): Declare.

* win32-low.(winapi_DebugBreakProcess,
winapi_GenerateConsoleCtrlEvent): New typedefs.
(get_child_debug_event): Lower Win32 debug event polling from 1 sec
to 250 ms.
(win32_wait): Check for remote interrupt request
with check_remote_input_interrupt_request.
(win32_request_interrupt): New function.
(win32_target_op): Set request_interrupt to win32_request_interrupt.

17 years ago * win32-low.c (debug_registers_changed,
Pedro Alves [Thu, 10 May 2007 21:48:56 +0000 (21:48 +0000)]
* win32-low.c (debug_registers_changed,
debug_registers_used, CONTEXT_EXTENDED_REGISTERS,
CONTEXT_FLOATING_POINT, CONTEXT_DEBUG_REGISTERS,
CONTEXT_DEBUGGER, CONTEXT_DEBUGGER_DR): Delete.
(thread_rec): Get context using the low target.
(child_add_thread): Call thread_added on the low target,
which does the same thing.
(regptr): Delete.
(do_initial_child_stuff): Remove debug registers references.
Set context using the low target.  Resume threads after
setting the contexts.
(child_continue): Remove dead variable.  Remove debug
registers references.
(child_fetch_inferior_registers): Go through the low target.
(do_child_store_inferior_registers): Remove.
(child_store_inferior_registers): Go through the low target.
(win32_resume): Remove debug registers references.
Set context using the low target.
(handle_exception): Change return type to void.  Don't record
context here.  Set status to TARGET_WAITKIND_SPURIOUS on a
first chance exception.
(get_child_debug_event): Change return type to void.  Remove
goto loop.  Always return after waiting for debug event.
(win32_wait): Convert to switch statement.  Handle spurious
events.

* win32-i386-low.c (debug_registers_changed,
debug_registers_used): New.
(initial_stuff): Rename to ...
(i386_initial_stuff): ... this.  Clear debug registers
state variables.
(store_debug_registers): Delete.
(i386_get_thread_context): New.
(load_debug_registers): Delete.
(i386_set_thread_context): New.
(i386_thread_added): New.
(single_step): Rename to ...
(i386_single_step): ... this.
(do_fetch_inferior_registers): Rename to ...
(i386_fetch_inferior_register): ... this.
(i386_store_inferior_register): New.
(the_low_target): Adapt to new interface.

* win32-arm-low.c (CONTEXT_FLOATING_POINT): Define.
(arm_get_thread_context): New.
(arm_set_thread_context): New.
(regptr): New.
(do_fetch_inferior_registers): Rename to ...
(arm_fetch_inferior_register): ... this.
(arm_store_inferior_register): New.
(arm_wince_breakpoint): Reimplement as unsigned long.
(arm_wince_breakpoint_len): Define.
(the_low_target): Adapt to new interface.

* win32-low.h (target_ops): Remove regmap, store_debug_registers and
load_debug_registers.  Add get_thread_context, set_thread_context,
thread_added and store_inferior_register.  Rename
fetch_inferior_registers to fetch_inferior_register.
(regptr): Remove declaration.

17 years ago * inf-ptrace.c (inf_ptrace_register_u_offset): Adapt parameter list.
Ulrich Weigand [Thu, 10 May 2007 21:36:00 +0000 (21:36 +0000)]
* inf-ptrace.c (inf_ptrace_register_u_offset): Adapt parameter list.
(inf_ptrace_fetch_register): Add register_u_offset callback parameters
GDBARCH and STORE_P.  Handle callback (CORE_ADDR) -1 return value.
(inf_ptrace_store_register): Likewise.
(inf_ptrace_trad_target): Adapt register_u_offset parameter list.
* inf-ptrace.h (inf_ptrace_trad_target): Likewise.

* vax-nat.c (vax_register_u_offset): Adapt parameter list.

* linux-nat.c (linux_trad_target): Adapt parameter list.
* linux-nat.h (linux_trad_target): Likewise.

* alpha-linux-nat.c (alpha_linux_register_u_offset): Adapt parameters.

* mips-linux-nat.c (mips_linux_cannot_fetch_register): Remove.
(mips_linux_cannot_store_register): Likewise.
(mips_linux_register_addr): Add GDBARCH and STORE_P parameters.
Return (CORE_ADDR) -1 for registers that cannot be fetched or
stored via ptrace.  Use GDBARCH instead of current_gdbarch.
(mips64_linux_register_addr): Likewise.
(mips_linux_register_u_offset): Adapt parameter list.  Pass
GDBARCH and STORE_P on to mips{64}_linux_register_addr.

* config/mips/linux.mh (NAT_FILE): Set to config/nm-linux.h.
* config/mips/nm-linux.h: Delete file.

17 years ago * linux-low.c (linux_detach): Change return type to int. Return 0.
Pedro Alves [Thu, 10 May 2007 21:33:31 +0000 (21:33 +0000)]
* linux-low.c (linux_detach): Change return type to int.  Return 0.
* spu-low.c (spu_detach): Likewise.

17 years ago * remote.c (remote_detach): Error out if remote can't detach.
Pedro Alves [Thu, 10 May 2007 21:19:41 +0000 (21:19 +0000)]
* remote.c (remote_detach): Error out if remote can't detach.

17 years agoReindent last entry using emacs' re-fill text.
Pedro Alves [Thu, 10 May 2007 21:14:50 +0000 (21:14 +0000)]
Reindent last entry using emacs' re-fill text.

17 years ago * target.h (target_ops): Change return type of detach to int.
Pedro Alves [Thu, 10 May 2007 21:05:15 +0000 (21:05 +0000)]
* target.h (target_ops): Change return type of detach to int.
Add join.
(join_inferior): New.
* server.c (main): Don't skip detach support on mingw32.
If the inferior doesn't support detaching return error.
Call join_inferior instead of using waitpid.
* linux-low.c (linux_join): New.
(linux_target_op): Add linux_join.
* spu-low.c (spu_join): New.
(spu_target_ops): Add spu_join.
* win32-low.c (win32_detach): Adapt to new interface.
Reopen current_process_handle before detaching.  Issue a child
resume before detaching.
(win32_join): New.
(win32_target_op): Add win32_join.

17 years ago * win32-low.c (win32-attach): Fix return value.
Pedro Alves [Thu, 10 May 2007 20:48:41 +0000 (20:48 +0000)]
* win32-low.c (win32-attach): Fix return value.
* target.h (target_ops): Describe ATTACH return values.

17 years ago * win32-low.c (GETPROCADDRESS): Define.
Pedro Alves [Thu, 10 May 2007 20:39:18 +0000 (20:39 +0000)]
* win32-low.c (GETPROCADDRESS): Define.
(winapi_DebugActiveProcessStop): Add WINAPI.  typedef as pointer.
(winapi_DebugSetProcessKillOnExit): Likewise.
(win32_create_inferior): Force usage of ansi CreateProcessA.
(win32_attach): Use GETPROCADDRESS.
(win32_detach): Likewise.

17 years ago2007-05-10 Luis Machado <luisgpm@br.ibm.com>
Ulrich Weigand [Thu, 10 May 2007 20:29:03 +0000 (20:29 +0000)]
2007-05-10  Luis Machado  <luisgpm@br.ibm.com>

* rs6000-tdep.c: (deal_with_atomic_sequence) Stores branch instruction's
opcode in the "opcode" variable and declares new variable "closing_insn".

17 years ago * win32-low.c (win32_wait): Don't use WSTOPSIG.
Pedro Alves [Thu, 10 May 2007 20:25:01 +0000 (20:25 +0000)]
* win32-low.c (win32_wait): Don't use WSTOPSIG.

17 years ago2007-05-10 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 10 May 2007 18:21:13 +0000 (18:21 +0000)]
2007-05-10  H.J. Lu  <hongjiu.lu@intel.com>

* i386-opc.h (ShortForm): Redefined.
(Jump): Likewise.
(JumpDword): Likewise.
(JumpByte): Likewise.
(JumpInterSegment): Likewise.
(FloatMF): Likewise.
(FloatR): Likewise.
(FloatD): Likewise.
(Size16): Likewise.
(Size32): Likewise.
(Size64): Likewise.
(IgnoreSize): Likewise.
(DefaultSize): Likewise.
(No_bSuf): Likewise.
(No_wSuf): Likewise.
(No_lSuf): Likewise.
(No_sSuf): Likewise.
(No_qSuf): Likewise.
(No_xSuf): Likewise.
(FWait): Likewise.
(IsString): Likewise.
(regKludge): Likewise.
(IsPrefix): Likewise.
(ImmExt): Likewise.
(NoRex64): Likewise.
(Rex64): Likewise.
(Ugh): Likewise.

17 years agobfd/
Richard Sandiford [Thu, 10 May 2007 17:00:03 +0000 (17:00 +0000)]
bfd/
* elf32-arm.c (elf32_arm_check_relocs): Don't create PLT entries
for R_ARM_ABS12 relocs.
(elf32_arm_finish_dynamic_symbol): Fix the loop that creates
non-shared VxWorks PLT entries.

ld/testsuite/
* ld-arm/vxworks1-lib.dd: Expect "push" instead of stmdb and
"pop" instead of ldmia.  Don't require specific symbolic addresses
for in-text addresses.  Expect data to be rendered as .words rather
than disassembled.
* ld-arm/vxworks1.dd: Likewise.

17 years ago PR 4454
Alan Modra [Thu, 10 May 2007 15:08:02 +0000 (15:08 +0000)]
PR 4454
* elf-eh-frame.c (struct cie): Make "personality" a bfd_vma.
(_bfd_elf_discard_section_eh_frame): Handle local syms on
personality relocation.

17 years agobfd/
Richard Sandiford [Thu, 10 May 2007 14:46:48 +0000 (14:46 +0000)]
bfd/
* elf.c (assign_file_positions_for_load_sections): Use p_memsz
rather than p_filesz to calculate the LMA of the end of a segment.

ld/testsuite/
* ld-elf/multibss1.d, ld-elf/multibss1.s: New test.

17 years ago* cli/cli-setshow.c (do_setshow_command): Remove trailing
Maciej W. Rozycki [Thu, 10 May 2007 13:28:03 +0000 (13:28 +0000)]
* cli/cli-setshow.c (do_setshow_command): Remove trailing
whitespace when setting a var_filename.

17 years ago * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Don't do copyreloc
Jakub Jelinek [Thu, 10 May 2007 11:45:07 +0000 (11:45 +0000)]
* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Don't do copyreloc
processing if symbol is defined in the executable.

17 years ago* elf32-frv.c (_frvfdpic_check_discarded_relocs): New.
Alexandre Oliva [Thu, 10 May 2007 05:18:42 +0000 (05:18 +0000)]
* elf32-frv.c (_frvfdpic_check_discarded_relocs): New.
(frvfdpic_elf_discard_info): New.
(elf_backend_discard_info): Define for FDPIC.

17 years ago*** empty log message ***
gdbadmin [Thu, 10 May 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Thu, 10 May 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago * main.c (captured_main): Recognize -tui option and print an error
Bob Wilson [Wed, 9 May 2007 21:46:52 +0000 (21:46 +0000)]
* main.c (captured_main): Recognize -tui option and print an error
message when the TUI is not configured.

17 years ago * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Don't
Andreas Schwab [Wed, 9 May 2007 18:37:55 +0000 (18:37 +0000)]
* mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Don't
set removed members.
(mipsnbsd_lp64_fetch_link_map_offsets): Likewise.

17 years ago bfd/
Mark Shinwell [Wed, 9 May 2007 13:02:10 +0000 (13:02 +0000)]
    bfd/
        * elf32-arm.c (bfd_elf32_arm_vfp11_erratum_scan): Don't
        attempt to scan if the bfd doesn't correspond to an ELF image.
        (bfd_elf32_arm_vfp11_fix_veneer_locations): Likewise.

17 years ago * gdbarch.sh (deprecated_store_struct_return): Remove.
Ulrich Weigand [Wed, 9 May 2007 00:17:22 +0000 (00:17 +0000)]
* gdbarch.sh (deprecated_store_struct_return): Remove.
* gdbarch.c, gdbarch.h: Regenerate.
* frv-tdep.c (frv_store_struct_return): Remove.
(frv_gdbarch_init): Do not install it.

17 years ago*** empty log message ***
gdbadmin [Wed, 9 May 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Wed, 9 May 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years agoChangeLog:
Ulrich Weigand [Tue, 8 May 2007 23:39:14 +0000 (23:39 +0000)]
ChangeLog:

* config/i386/nm-i386sol2.h (USE_PROC_FS): Do not define.
* config/mips/nm-irix5.h (USE_PROC_FS): Do not define.
* config/nm-linux.h (USE_PROC_FS): Do not undefine.

doc/ChangeLog:

* gdbint.texinfo (Native Conditionals): Remove USE_PROC_FS.

17 years ago * spu-linux-nat.c: Include "gdb_stdint.h".
Ulrich Weigand [Tue, 8 May 2007 23:18:23 +0000 (23:18 +0000)]
* spu-linux-nat.c: Include "gdb_stdint.h".
(fetch_ppc_register): Use uint64_t instead of unsigned long long.
(fetch_ppc_memory_1, store_ppc_memory_1): Likewise.
(fetch_ppc_memory, store_ppc_memory): Fix coding style.
(spu_symbol_file_add_from_memory): Use strtoulst instead of sscanf.
(spu_child_wait): Mark up string for translation.

17 years ago2007-05-08 Paul Gilliam <pgilliam@us.ibm.com>
Ulrich Weigand [Tue, 8 May 2007 12:49:12 +0000 (12:49 +0000)]
2007-05-08  Paul Gilliam  <pgilliam@us.ibm.com>
    Luis Machado  <luisgpm@br.ibm.com>

* rs6000-tdep.c: (LWARX_MASK, LWARX_INSTRUCTION, LDARX_INSTRUCTION,
STWCX_MASK, STWCX_INSTRUCTION, STDCX_INSTRUCTION, BC_MASK,
BC_INSTRUCTION): Define.
(deal_with_atomic_sequence): New function.
(rs6000_software_single_step): Call deal_with_atomic_sequence.
(rs6000_gdbarch_init): Install deal_with_atomic_sequence as
gdbarch_software_single_step routine.

17 years ago binutils/testsuite/
Mark Shinwell [Tue, 8 May 2007 06:48:06 +0000 (06:48 +0000)]
binutils/testsuite/
* binutils-all/strip-3.d: Strip .ARM.attributes and .reginfo
sections.