binutils-gdb.git
17 years ago * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
Daniel Jacobowitz [Sat, 30 Dec 2006 20:32:47 +0000 (20:32 +0000)]
* lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
and generic PE targets.

17 years ago2006-12-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 30 Dec 2006 19:32:49 +0000 (19:32 +0000)]
2006-12-30  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.h (ShiftCount): Fix a comment typo.

17 years ago2006-12-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 30 Dec 2006 18:37:29 +0000 (18:37 +0000)]
2006-12-30  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (md_show_usage): Mention --32/--64.

17 years ago * infrun.c (handle_inferior_event): Don't call
Daniel Jacobowitz [Sat, 30 Dec 2006 15:56:00 +0000 (15:56 +0000)]
* infrun.c (handle_inferior_event): Don't call
ENSURE_VFORKING_PARENT_REMAINS_STOPPED.
* target.h (ENSURE_VFORKING_PARENT_REMAINS_STOPPED): Delete.
(RESUME_EXECD_VFORKING_CHILD_TO_GET_PARENT_VFORK): Delete.

17 years ago * remote-utils.c (remote_open): Check the type of specified
Daniel Jacobowitz [Sat, 30 Dec 2006 15:44:51 +0000 (15:44 +0000)]
* remote-utils.c (remote_open): Check the type of specified
serial port devices before opening them.
* server.c (main): Kill the inferior if an error occurs during
the first remote_open.

17 years ago*** empty log message ***
gdbadmin [Sat, 30 Dec 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Fri, 29 Dec 2006 23:00:10 +0000 (23:00 +0000)]
daily update

17 years agogas/
H.J. Lu [Fri, 29 Dec 2006 21:48:48 +0000 (21:48 +0000)]
gas/

2006-12-29  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (build_modrm_byte): Handle shift count
register with 3 operands.

gas/testsuite/

2006-12-29  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/intel.s: Add tests for "shrd %cl,%edx,%eax" and
"shld %cl,%edx,%eax".
* gas/i386/opcode.s: Likewise.

* gas/i386/intel.d: Updated.
* gas/i386/opcode-intel.d: Likewise.
* gas/i386/opcode-suffix.d: Likewise.
* gas/i386/opcode.d: Likewise.

17 years ago* sparc-tdep.c (sparc_psr_type, sparc_fsr_type): New variables.
Mark Kettenis [Fri, 29 Dec 2006 21:00:47 +0000 (21:00 +0000)]
* sparc-tdep.c (sparc_psr_type, sparc_fsr_type): New variables.
(sparc_init_types): New function.
(sparc32_register_type): Use appropriate flag types for %fsr and
%prs.
(_initialize_sparc_tdep): Call sparc_init_types.

17 years agobfd/
H.J. Lu [Fri, 29 Dec 2006 17:56:32 +0000 (17:56 +0000)]
bfd/

2006-12-29  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (elf_link_add_object_symbols): Remember the symbol
size only if it is defined.

ld/testsuite/

2006-12-29  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/wrap.exp: New file.
* ld-elf/wrap1.c: Likewise.
* ld-elf/wrap1.out: Likewise.
* ld-elf/wrap1a.c: Likewise.
* ld-elf/wrap1b.c: Likewise.

17 years ago2006-12-29 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Fri, 29 Dec 2006 17:09:59 +0000 (17:09 +0000)]
2006-12-29  Paolo Bonzini  <bonzini@gnu.org>

Sync with gcc:
2006-12-29  Paolo Bonzini  <bonzini@gnu.org>

        * configure.in: Reorganize recognition of languages.  Add
        --enable-stage1-languages.  Show supported languages for the chosen
        target rather than all recognized languages.
        * configure: Regenerate.

2006-12-29  Paolo Bonzini  <bonzini@gnu.org>

        * Makefile.tpl (GCC_STRAP_TARGETS, all-prebootstrap): Remove.
        * Makefile.in: Regenerate.

2006-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

        * configure.in: Warn that MPFR 2.2.0 is buggy.
        * configure: Regenerate.

config:
2006-12-29  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4: Sync with gcc.

17 years ago * gdb.ada/array_return.exp: Update copyright date list.
Joel Brobecker [Fri, 29 Dec 2006 11:49:44 +0000 (11:49 +0000)]
    * gdb.ada/array_return.exp: Update copyright date list.

17 years ago* memory-map.c (memory_map_end_element): Move variable
Mark Kettenis [Fri, 29 Dec 2006 09:46:35 +0000 (09:46 +0000)]
* memory-map.c (memory_map_end_element): Move variable
declarations to the begining of the block.

17 years ago2006-12-28 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 29 Dec 2006 06:02:04 +0000 (06:02 +0000)]
2006-12-28  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (process_operands): Check i.reg_operands
and increment i.operands when adding a register operand.
(build_modrm_byte): Fix 4 operand instruction handling.

17 years ago*** empty log message ***
gdbadmin [Fri, 29 Dec 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * ia64-tdep.c (get_kernel_table): Correct signedness in check
Daniel Jacobowitz [Thu, 28 Dec 2006 23:48:51 +0000 (23:48 +0000)]
* ia64-tdep.c (get_kernel_table): Correct signedness in check
for a negative return value.

17 years agodaily update
Alan Modra [Thu, 28 Dec 2006 23:00:09 +0000 (23:00 +0000)]
daily update

17 years agoConsolidate Gary Funck's two ChangeLog entries.
Jim Blandy [Thu, 28 Dec 2006 19:55:23 +0000 (19:55 +0000)]
Consolidate Gary Funck's two ChangeLog entries.

17 years ago2006-12-27 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 28 Dec 2006 07:09:16 +0000 (07:09 +0000)]
2006-12-27  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (disp_expressions): Use MAX_MEMORY_OPERANDS
for array size instead of 2.
(im_expressions): Use MAX_IMMEDIATE_OPERANDS for for array size
instead of 2.
(i386_immediate): Update immediate operand overflow error
message.
(i386_displacement): Check displacement operand overflow.

17 years ago*** empty log message ***
gdbadmin [Thu, 28 Dec 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * configure.in: When removing Makefiles to force a reconfigure, also
Ian Lance Taylor [Wed, 27 Dec 2006 23:46:00 +0000 (23:46 +0000)]
* configure.in: When removing Makefiles to force a reconfigure, also
remove prev-DIR*/Makefile.
* configure: Regenerate.

17 years agodaily update
Alan Modra [Wed, 27 Dec 2006 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago2006-12-27 Gary Funck <gary@intrepid.com>
Gary Funck [Wed, 27 Dec 2006 22:38:57 +0000 (22:38 +0000)]
2006-12-27  Gary Funck  <gary@intrepid.com>

* dwarf2read.c (dwarf_attr_name, dwarf_cfi_name)
(dwarf_stack_op_name, dwarf_tag_name)
(dwarf_type_encoding_name): Decode additional DWARF 2
and DWARF 3 codes into their corresponding string names.

17 years ago* MAINTAINERS (Write After Approval): Add myself.
Gary Funck [Wed, 27 Dec 2006 21:29:33 +0000 (21:29 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

17 years ago2006-12-27 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 27 Dec 2006 18:34:08 +0000 (18:34 +0000)]
2006-12-27  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c: Document tc-i386.c, not i386.c.

17 years ago * gas/m68k/all.exp: Add support for fido.
Kazu Hirata [Wed, 27 Dec 2006 07:22:43 +0000 (07:22 +0000)]
* gas/m68k/all.exp: Add support for fido.
* gas/m68k/fido.d, gas/m68k/fido.s: New.

17 years agogas/
Kazu Hirata [Wed, 27 Dec 2006 07:15:02 +0000 (07:15 +0000)]
gas/
* config/m68k-parse.h (m68k_register): Add CAC and MBB.
* config/tc-m68k.c (fido_ctrl): New.
(m68k_archs): Use fido_ctrl for -mfidoa.
(m68k_cpus): Use fido_ctrl on fido-*-*.
(m68k_ip): Add support for CAC and MBB.
(init_table): Add CAC and MBB.

opcodes/
* m68k-dis.c (print_insn_arg): Add support for cac and mbb.

17 years ago * m68k-opc.c (m68k_opcodes): Add sleep and trapx.
Kazu Hirata [Wed, 27 Dec 2006 07:10:10 +0000 (07:10 +0000)]
* m68k-opc.c (m68k_opcodes): Add sleep and trapx.

17 years ago * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
Joel Brobecker [Wed, 27 Dec 2006 06:12:36 +0000 (06:12 +0000)]
    * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
        (Create_Small_Float_Vector): New function.
        * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
        function body.
        * gdb.ada/array_return/p.adb: Use new type and function from
        package Pck.
        * gdb.ada/array_return.exp: Add a test verifying that GDB is
        able to print the value returned by a function returning an
        array of float.

17 years ago*** empty log message ***
gdbadmin [Wed, 27 Dec 2006 00:00:38 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago2006-12-26 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 26 Dec 2006 23:42:11 +0000 (23:42 +0000)]
2006-12-26  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (i386_immediate): Remove prototype.

17 years agodaily update
Alan Modra [Tue, 26 Dec 2006 23:00:11 +0000 (23:00 +0000)]
daily update

17 years ago * sparc64-tdep.c (sparc64_extract_return_value): Add handling
Joel Brobecker [Tue, 26 Dec 2006 05:03:11 +0000 (05:03 +0000)]
    * sparc64-tdep.c (sparc64_extract_return_value): Add handling
        for array types.
        (sparc64_store_return_value): Likewise.

17 years ago*** empty log message ***
gdbadmin [Tue, 26 Dec 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Mon, 25 Dec 2006 23:00:05 +0000 (23:00 +0000)]
daily update

17 years agobfd/
Kazu Hirata [Mon, 25 Dec 2006 22:39:21 +0000 (22:39 +0000)]
bfd/
* archures.c (bfd_mach_cpu32_fido): New.
(bfd_mach_mcf_isa_a_nodiv, bfd_mach_mcf_isa_a,
bfd_mach_mcf_isa_a_mac, bfd_mach_mcf_isa_a_emac,
bfd_mach_mcf_isa_aplus, bfd_mach_mcf_isa_aplus_mac,
bfd_mach_mcf_isa_aplus_emac, bfd_mach_mcf_isa_b_nousp,
bfd_mach_mcf_isa_b_nousp_mac, bfd_mach_mcf_isa_b_nousp_emac,
bfd_mach_mcf_isa_b, bfd_mach_mcf_isa_b_mac,
bfd_mach_mcf_isa_b_emac, bfd_mach_mcf_isa_b_float,
bfd_mach_mcf_isa_b_float_mac, bfd_mach_mcf_isa_b_float_emac):
Increment the defined values.
* bfd-in2.h: Regenerate.
* cpu-m68k.c (arch_info_struct): Add en entry for
bfd_mach_cpu32_fido.
* elf32-m68k.c (elf32_m68k_object_p): Handle
EF_M68K_CPU32_FIDO_A.
(elf32_m68k_merge_private_bfd_data): Use EF_M68K_CPU32_MASK.
(elf32_m68k_print_private_bfd_data): Handle
EF_M68K_CPU32_FIDO_A.

binutils/
* readelf.c (get_machine_flags): Handle EF_M68K_CPU32_FIDO_A.

gas/
* config/tc-m68k.c (cpu_of_arch): Add fido.
(m68k_archs, m68k_cpu): Add entries for fido.
(m68k_elf_final_processing): Handle EF_M68K_CPU32_FIDO_A.

include/elf/
* m68k.h (EF_M68K_CPU32_FIDO_A, EF_M68K_CPU32_MASK): New.

include/opcode/
* m68k.h (fido_a): New.

17 years ago * config/tc-score.c (build_lw_pic): Rename as build_lwst_pic.
Mei Ligang [Mon, 25 Dec 2006 09:26:22 +0000 (09:26 +0000)]
* config/tc-score.c (build_lw_pic): Rename as build_lwst_pic.
Delete the code handling large constant for PIC.
Modify some comments.
(score_relax_frag): Decrease insn_addr in certain situation.
(s_score_cprestore): Change .cprestore syntax from ".cprestore offset"
to ".cprestore reg, offset".

17 years ago * elf32-score.c (score_elf_got_lo16_reloc): Change some variables type from
Mei Ligang [Mon, 25 Dec 2006 09:22:06 +0000 (09:22 +0000)]
* elf32-score.c (score_elf_got_lo16_reloc): Change some variables type from
unsigned to signed.
(score_elf_final_link_relocate): Fix bugs of handling relocation type R_SCORE_GOT15,
R_SCORE_GOT_LO16, and R_SCORE_REL32.
(_bfd_score_elf_relocate_section): Handle R_SCORE_GOT_LO16 specially.

17 years ago*** empty log message ***
gdbadmin [Mon, 25 Dec 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sun, 24 Dec 2006 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago * m68k.h (mcfmac, mcfemac, cfloat, mcfhwdiv, mcfisa_a,
Kazu Hirata [Sun, 24 Dec 2006 02:58:37 +0000 (02:58 +0000)]
* m68k.h (mcfmac, mcfemac, cfloat, mcfhwdiv, mcfisa_a,
mcfisa_aa, mcfisa_b, mcfusp, mcf_mask): Double the defined
values.

17 years agobfd/
Kazu Hirata [Sun, 24 Dec 2006 02:48:59 +0000 (02:48 +0000)]
bfd/
* config.bfd: Recognize fido.

gas/
* configure.tgt: Recognize fido.

ld/
* configure.tgt: Recognize fido.

17 years ago*** empty log message ***
gdbadmin [Sun, 24 Dec 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 23 Dec 2006 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago * elf-bfd.h (struct elf_backend_data): Add as_needed_cleanup hook.
Jakub Jelinek [Sat, 23 Dec 2006 09:57:38 +0000 (09:57 +0000)]
* elf-bfd.h (struct elf_backend_data): Add as_needed_cleanup hook.
* elfxx-target.h (elf_backend_as_needed_cleanup): Define.
(elfNN_bed): Add as_needed_cleanup hook.
* elflink.c (elf_link_add_object_symbols): Call it when reverting
hash table changes for unneeded --as-needed input.
* elf64-ppc64.c (elf_backend_as_needed_cleanup): Define.
(ppc64_elf_as_needed_cleanup): New function.

17 years ago*** empty log message ***
gdbadmin [Sat, 23 Dec 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Fri, 22 Dec 2006 23:00:10 +0000 (23:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Fri, 22 Dec 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Thu, 21 Dec 2006 23:00:10 +0000 (23:00 +0000)]
daily update

17 years ago * Makefile.in (autoconf-common autoheader-common): Only run
Hans-Peter Nilsson [Thu, 21 Dec 2006 04:46:52 +0000 (04:46 +0000)]
* Makefile.in (autoconf-common autoheader-common): Only run
autoheader on subdirs with a file config.in.

17 years ago * acconfig.h: Remove.
Hans-Peter Nilsson [Thu, 21 Dec 2006 04:43:53 +0000 (04:43 +0000)]
* acconfig.h: Remove.
* config.in: Regenerate.

17 years ago * config.in, configure: Regenerate.
Hans-Peter Nilsson [Thu, 21 Dec 2006 04:43:16 +0000 (04:43 +0000)]
* config.in, configure: Regenerate.

17 years ago * acconfig.h: Remove.
Hans-Peter Nilsson [Thu, 21 Dec 2006 04:41:09 +0000 (04:41 +0000)]
* acconfig.h: Remove.
* config.in, configure: Regenerate.

17 years ago * config.in: Regenerate.
Hans-Peter Nilsson [Thu, 21 Dec 2006 04:40:12 +0000 (04:40 +0000)]
* config.in: Regenerate.

17 years ago * configure.ac (common): Make the default "yes" for all targets
Hans-Peter Nilsson [Thu, 21 Dec 2006 02:37:17 +0000 (02:37 +0000)]
* configure.ac (common): Make the default "yes" for all targets
with sim subdirs.
* configure: Regenerate.

17 years ago * cp-demangle.h: Add comment explaining what to do to avoid
Geoffrey Keating [Thu, 21 Dec 2006 01:32:48 +0000 (01:32 +0000)]
* cp-demangle.h: Add comment explaining what to do to avoid
overrunning string.
(d_check_char): New.
(d_next_char): Don't advance past trailing '\0'.
* cp-demangle.c (cplus_demangle_mangled_name): Use d_check_char.
(d_nested_name): Likewise.
(d_special_name): Likewise.
(d_call_offset): Likewise.
(d_function_type): Likewise.
(d_array_type): Likewise.
(d_pointer_to_member_type): Likewise.
(d_template_param): Likewise.
(d_template_args): Likewise.
(d_template_arg): Likewise.
(d_expr_primary): Likewise.
(d_local_name): Likewise.
(d_substitution): Likewise.
(d_ctor_dtor_name): Use d_advance rather than d_next_char.
* testsuite/test-demangle.c: Include sys/mman.h.
(MAP_ANONYMOUS): Define.
(protect_end): New.
(main): Use protect_end.
* testsuite/demangle-expected: Add testcases for overrunning
the end of the string.

17 years ago*** empty log message ***
gdbadmin [Thu, 21 Dec 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Wed, 20 Dec 2006 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago * configure.ac: Add test for readline, substitute READLINE.
Hans-Peter Nilsson [Wed, 20 Dec 2006 22:35:51 +0000 (22:35 +0000)]
* configure.ac: Add test for readline, substitute READLINE.
* Makefile.in (READLINE_LIB): New substituted-contents variable.
(SIM_EXTRA_LIBDEPS): Don't set.
(SIM_EXTRA_LIBS): Use $(READLINE_LIB) instead of
../../readline/libreadline.a.
* configure: Regenerate.

17 years ago * Makefile.in (autoconf-common autoheader-common): In documented
Hans-Peter Nilsson [Wed, 20 Dec 2006 12:35:07 +0000 (12:35 +0000)]
* Makefile.in (autoconf-common autoheader-common): In documented
usage, say SHELL=/bin/sh.
(.PHONY): Add autoheader-common.

17 years ago * MAINTAINERS: Add self as authorized committer for *.
Hans-Peter Nilsson [Wed, 20 Dec 2006 12:34:46 +0000 (12:34 +0000)]
* MAINTAINERS: Add self as authorized committer for *.

17 years ago * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
Joel Brobecker [Wed, 20 Dec 2006 09:51:52 +0000 (09:51 +0000)]
    * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
        The associated tests should be PASSing.

17 years ago*** empty log message ***
gdbadmin [Wed, 20 Dec 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Tue, 19 Dec 2006 23:00:08 +0000 (23:00 +0000)]
daily update

17 years ago2006-12-19 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 19 Dec 2006 14:01:25 +0000 (14:01 +0000)]
2006-12-19  Paolo Bonzini  <bonzini@gnu.org>

* configure.texi: Fix botched commit.

17 years agobfd/
Kazu Hirata [Tue, 19 Dec 2006 13:24:56 +0000 (13:24 +0000)]
bfd/
* elf32-m68k.c (elf32_m68k_object_p,
elf32_m68k_print_private_bfd_data): Use EF_M68K_ARCH_MASK to
extract architecture mask.

include/elf/
* m68k.h (EF_M68K_ARCH_MASK): New.

17 years ago2006-12-19 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 19 Dec 2006 12:52:58 +0000 (12:52 +0000)]
2006-12-19  Paolo Bonzini  <bonzini@gnu.org>

Sync with gcc:

2006-12-19  Paolo Bonzini  <bonzini@gnu.org>

* configure.in: Remove "$build" case for powerpc-*-darwin* since
it only affects bootstrap and could be tested on "$host" as well.
* configure: Regenerate.
* config/mh-ppc-darwin: Add to the stage1 cflags here.

2006-12-19  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/29544
* Makefile.def (flags_to_pass): Add STAGE1_CHECKING.
(bootstrap_stage): Add STAGE1_CHECKING to stage1 configure flags,
move here comment from Makefile.tpl.
* Makefile.tpl: Move some definitions higher in the file.
(STAGE1_CHECKING): New.
* configure.in: Add --enable-stage1-checking.
* configure: Regenerate.
* Makefile.in: Regenerate.

2006-12-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* configure.in: Update error message for missing GMP/MPFR.

* configure: Regenerate.

2006-12-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* configure.in: Update MPFR version in error message.

* configure: Regenerate.

2006-11-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* configure.in (--with-mpfr-dir, --with-gmp-dir): Remove flags.
(--with-mpfr-include, --with-mpfr-lib, --with-gmp-include,
--with-gmp-lib): New flags.

* configure: Regenerate.

config:
2006-12-04  Eric Botcazou  <ebotcazou@libertysurf.fr>

* tls.m4 (GCC_CHECK_TLS): Do not test TLS with static linking
if static linking doesn't even work.

17 years ago * gas/cfi/cfi-common-6.s: Do not use |.
Nathan Sidwell [Tue, 19 Dec 2006 08:51:15 +0000 (08:51 +0000)]
* gas/cfi/cfi-common-6.s: Do not use |.

17 years ago bfd/
Nathan Sidwell [Tue, 19 Dec 2006 08:49:38 +0000 (08:49 +0000)]
bfd/
* elf.c (assign_file_positions_for_load_sections): Adjust p_vaddr
by p_vaddr_offset.  Copy alignment & use if it is valid.
(rewrite_elf_program_headers): Cope with leading padding in a
segment that does not contain file or program headers.
(copy_elf_program_header): Likewise.

include/elf/
* internal.h (struct elf_segment_map): Add p_vaddr_offset field.

17 years agoCommit missing pieces.
Christopher Faylor [Tue, 19 Dec 2006 01:51:02 +0000 (01:51 +0000)]
Commit missing pieces.

17 years ago*** empty log message ***
gdbadmin [Tue, 19 Dec 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Mon, 18 Dec 2006 23:00:10 +0000 (23:00 +0000)]
daily update

17 years ago* pe-dll.c (pe_bfd_is_dll): New function.
Christopher Faylor [Mon, 18 Dec 2006 22:38:53 +0000 (22:38 +0000)]
* pe-dll.c (pe_bfd_is_dll): New function.
* pe-dll.h (pe_bfd_is_dll): Declare.
* emultempl/pe.em (gld_${EMULATION_NAME}_recognized_file): Recognize dlls using
pe_bfd_is_dll instead of using the filename extension.

17 years ago * breakpoint.c (watchpoint_check): Double-check the found frame.
Daniel Jacobowitz [Mon, 18 Dec 2006 22:10:13 +0000 (22:10 +0000)]
* breakpoint.c (watchpoint_check): Double-check the found frame.

17 years ago*** empty log message ***
gdbadmin [Mon, 18 Dec 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sun, 17 Dec 2006 23:00:11 +0000 (23:00 +0000)]
daily update

17 years ago Mark Kettenis <kettenis@gnu.org>
Mark Kettenis [Sun, 17 Dec 2006 13:30:44 +0000 (13:30 +0000)]
Mark Kettenis  <kettenis@gnu.org>

* i386nbsd-nat.c: Include "nbsd-nat.h".
(_initialize_i386nbsd_nat): Update target vector to use
nbsd_pid_to_exec_file.
* config/i386/nbsdelf.mh (NATDEPFILES): Add nbsd-nat.o.
* config/i386/nbsdaout.mh (NATDEPFILES): Add nbsd-nat.o.
* nbsd-nat.c: New file.
* nbsd-nat.h: New file.
* Makefile.in (ALLDEPFILES): Add nbsd-nat.c.
(nbsd_nat_h): New variable.
(nbsd-nat.o): New dependency.

17 years ago*** empty log message ***
gdbadmin [Sun, 17 Dec 2006 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 16 Dec 2006 23:00:08 +0000 (23:00 +0000)]
daily update

17 years ago * Makefile.in (ALLDEPFILES): Remove mipsv4-nat.c.
Daniel Jacobowitz [Sat, 16 Dec 2006 21:00:29 +0000 (21:00 +0000)]
* Makefile.in (ALLDEPFILES): Remove mipsv4-nat.c.
(mipsv4-nat.o): Delete.
* mipsv4-nat.c: Delete.

17 years ago * dve3900-rom.c: Delete file.
Daniel Jacobowitz [Sat, 16 Dec 2006 19:18:37 +0000 (19:18 +0000)]
* dve3900-rom.c: Delete file.
* Makefile.in (dve3900-rom.o): Delete.

17 years ago * vx-share/README: Delete file.
Daniel Jacobowitz [Sat, 16 Dec 2006 18:40:56 +0000 (18:40 +0000)]
* vx-share/README: Delete file.

17 years ago* config.bfd: (sh*-*-openbsd*): Add target.
Mark Kettenis [Sat, 16 Dec 2006 11:24:05 +0000 (11:24 +0000)]
* config.bfd: (sh*-*-openbsd*): Add target.
* configure.in (sh*-*-openbsd*): Set COREFILE to netbsd-core.lo.
* configure: Regenerate.

17 years ago* i386obsd-nat.c: Include "gdbcore.h", "regcache.h", "target.h",
Mark Kettenis [Sat, 16 Dec 2006 10:45:52 +0000 (10:45 +0000)]
* i386obsd-nat.c: Include "gdbcore.h", "regcache.h", "target.h",
<machine/frame.h>, <machine/pcb.h>, "i386bsd-nat.h" and
"bsd-kvm.h".
(i386obsd_supply_pcb): New function.
(_initialize_i386obsd_nat): Construct and add target
vector. Enable libkvm interface.
* Makefile.in (i386obsd-nat.o): Update dependencies.
* config/i386/obsd.mh (NATDEPFILES): Remove i386nbsd-nat.c

17 years ago* sparcobsd-tdep.c: Fix typo.
Mark Kettenis [Sat, 16 Dec 2006 00:06:55 +0000 (00:06 +0000)]
* sparcobsd-tdep.c: Fix typo.

17 years ago*** empty log message ***
gdbadmin [Sat, 16 Dec 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agoAdd OpenBSD/sh native support.
Mark Kettenis [Fri, 15 Dec 2006 23:57:35 +0000 (23:57 +0000)]
Add OpenBSD/sh native support.
* NEWS (New native configurations): Mention OpenBSD/sh.
* configure.host: Add sh*-*-openbsd*.
* shnbsd-nat.c: Include "inf-ptrace.h".
(shnbsd_fetch_inferior_registers): Rename from
fetch_inferior_registers.  Make static.
(shnbsd_store_inferior_registers): Rename from
store_inferior_registers.  Make static.
(_initialize_shnbsd_nat): New function.
* Makefile.in (shnbsd-nat.o): Update dependencies.
* config/sh/nbsd.mh (NAT_CLIBS, NAT_FILE): Remove.
(NATDEPFILES): Remove infptrace.o and inftarg.o.  Add
inf-ptrace.o.

17 years agoAdd OpenBSD/sh support.
Mark Kettenis [Fri, 15 Dec 2006 23:45:04 +0000 (23:45 +0000)]
Add OpenBSD/sh support.
* NEWS (New targets): Mention OpenBSD/sh.
* configure.tgt: Add sh*-*-openbsd*.
* shnbsd-tdep.c (_initialize_shnbsd_tdep): Register handler for
GDB_OSABI_OPENBSD_ELF.
* config/sh/obsd.mt: New file.

17 years ago* ppcnbsd-tdep.c: Fix typo in comment.
Mark Kettenis [Fri, 15 Dec 2006 23:22:37 +0000 (23:22 +0000)]
* ppcnbsd-tdep.c: Fix typo in comment.

17 years ago* remote-fileio.c (remote_fileio_mode_to_target): Use
Mark Kettenis [Fri, 15 Dec 2006 23:17:56 +0000 (23:17 +0000)]
* remote-fileio.c (remote_fileio_mode_to_target): Use
S_ISREG/S_ISDIR/S_ISCHR macros instead of S_IFREG/S_IFDIR/S_IFCHR.

17 years agodaily update
Alan Modra [Fri, 15 Dec 2006 23:00:10 +0000 (23:00 +0000)]
daily update

17 years ago2006-12-15 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 15 Dec 2006 19:43:59 +0000 (19:43 +0000)]
2006-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c: Add a blank line bewteen function bodies.

17 years ago * breakpoint.c (insert_bp_location): Add newline to note.
Daniel Jacobowitz [Fri, 15 Dec 2006 15:22:22 +0000 (15:22 +0000)]
* breakpoint.c (insert_bp_location): Add newline to note.

17 years ago2006-12-15 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 15 Dec 2006 14:09:22 +0000 (14:09 +0000)]
2006-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (build_modrm_byte): Reformat to 72 columns.

17 years agogas/testsuite/
H.J. Lu [Fri, 15 Dec 2006 13:11:56 +0000 (13:11 +0000)]
gas/testsuite/

2006-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/x86-64-inval.s: cmpxchg16b needs oword ptr, instead
of xmmword ptr.
* gas/i386/x86_64.s: Likewise.
* gas/i386/x86-64-inval.l: Updated.

opcodes/

2006-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (o_mode): New for 16-byte operand.
(intel_operand_size): Generate "OWORD PTR " for o_mode.
(CMPXCHG8B_Fixup): Set bytemode to o_mode instead of x_mode.

17 years ago * configure.tgt (NATIVE_LIB_DIRS): Specify for spu-*-elf*.
Ben Elliston [Fri, 15 Dec 2006 05:49:28 +0000 (05:49 +0000)]
* configure.tgt (NATIVE_LIB_DIRS): Specify for spu-*-elf*.

17 years agobfd/
Alan Modra [Fri, 15 Dec 2006 04:13:37 +0000 (04:13 +0000)]
bfd/
* opncls.c (bfd_openr_iovec): Add "stat" parameter.
(struct opncls): Add "stat" field.
(opncls_bstat): Call vec->stat.
* bfd-in2.h: Regenerate.
* elf32-spu.c (spu_elf_open_builtin_lib): Adjust.
gdb/
* spu-linux-nat.c (spu_bfd_iovec_stat): New function.
(spu_bfd_open): Adjust bfd_openr_iovec call.

17 years ago*** empty log message ***
gdbadmin [Fri, 15 Dec 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Thu, 14 Dec 2006 23:00:12 +0000 (23:00 +0000)]
daily update

17 years agogas/testsuite/
H.J. Lu [Thu, 14 Dec 2006 20:13:28 +0000 (20:13 +0000)]
gas/testsuite/

2006-12-14  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/x86-64-inval.s: Add cmpxchg16b.
* gas/i386/x86_64.s: Likewise.
* gas/i386/x86-64-inval.l: Updated.
* gas/i386/x86_64.d: Likewise.

opcodes/

2006-12-14  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (CMPXCHG8B_Fixup): New.
(grps): Use CMPXCHG8B_Fixup for cmpxchg8b.