OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
14 years ago * cygwin.din (dup3): Export.
corinna [Fri, 15 Jan 2010 03:46:00 +0000 (03:46 +0000)]
* cygwin.din (dup3): Export.
(pipe2): Export.
* dtable.cc (dtable::dup_worker): Take additional flags parameter.
Handle O_CLOEXEC flag.
(dtable::dup3): Rename from dup2.  Take additional flags parameter.
Check for valid flags.  Drop check for newfd == oldfd.
* dtable.h (dtable::dup_worker): Add flags parameter.
(dtable::dup3): Rename from dup2.
* fcntl.cc (fcntl64): Add F_DUPFD_CLOEXEC case.
* fhandler.h (fhandler_mailslot::get_object_attr): Add flags parameter.
* fhandler.cc (fhandler_base::open): Use security attribute with
inheritance according to setting of O_CLOEXEC flag.
* fhandler_console.cc (fhandler_console::open): Ditto.
* fhandler_fifo.cc (sec_user_cloexec): New inline function to
create security attribute with inheritance according to setting of
O_CLOEXEC flag.
(fhandler_fifo::open): Call sec_user_cloexec to fetch security
attribute.
(fhandler_fifo::wait): Ditto.
* fhandler_mem.cc (fhandler_dev_mem::open): Ditto.
* fhandler_mailslot.cc (fhandler_mailslot::get_object_attr): Take
additional flags parameter.  Use security attribute with inheritance
according to setting of O_CLOEXEC flag.
(fhandler_mailslot::open): Call get_object_attr with flags parameter.
* fhandler_registry.cc (fhandler_registry::open): Call set_close_on_exec
on real handles to accommodate O_CLOEXEC flag.
* fhandler_tty.cc (fhandler_tty_slave::open): Ditto.
* fhandler_tape.cc: Create mutex with inheritance according to setting
of O_CLOEXEC flag.
* pipe.cc: Replace usage of O_NOINHERIT with O_CLOEXEC.
 (fhandler_pipe::init): Simplify setting close_on_exec flag.
(fhandler_pipe::open): Remove setting close_on_exec flag.
(fhandler_pipe::create): Use security attribute with inheritance
according to setting of O_CLOEXEC flag.
(pipe2): New exported function.
* posix_ipc.cc: Throughout, open backing files with O_CLOEXEC
flag to follow POSIX semantics.
* security.h (sec_none_cloexec): New define.
* syscalls.cc (dup): Add missing extern "C" qualifier.  Accommodate
renaming of dtable::dup2 to dtable::dup3.
(dup2): Ditto.  Check newfd == oldfd here.
(dup3): New function.  Check newfd == oldfd here.
(open): Set close_on_exec flag according to O_CLOEXEC flag before
calling fhandler->open.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

14 years agoAdd names_mm, names_xmm and names_ymm.
hjl [Fri, 15 Jan 2010 02:29:18 +0000 (02:29 +0000)]
Add names_mm, names_xmm and names_ymm.

2010-01-14  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (names_mm): New.
(intel_names_mm): Likewise.
(att_names_mm): Likewise.
(names_xmm): Likewise.
(intel_names_xmm): Likewise.
(att_names_xmm): Likewise.
(names_ymm): Likewise.
(intel_names_ymm): Likewise.
(att_names_ymm): Likewise.
(print_insn): Set names_mm, names_xmm and names_ymm.
(OP_MMX): Use names_mm, names_xmm and names_ymm.
(OP_XMM): Likewise.
(OP_EM): Likewise.
(OP_EMC): Likewise.
(OP_MXC): Likewise.
(OP_EX): Likewise.
(XMM_Fixup): Likewise.
(OP_VEX): Likewise.
(OP_EX_VexReg): Likewise.
(OP_Vex_2src): Likewise.
(OP_Vex_2src_1): Likewise.
(OP_Vex_2src_2): Likewise.
(OP_REG_VexI4): Likewise.

14 years agoRemove argument name.
hjl [Fri, 15 Jan 2010 00:18:42 +0000 (00:18 +0000)]
Remove argument name.

2010-01-14  H.J. Lu  <hongjiu.lu@intel.com>

* ia64.h (ia64_find_opcode): Remove argument name.
(ia64_find_next_opcode): Likewise.
(ia64_dis_opcode): Likewise.
(ia64_free_opcode): Likewise.
(ia64_find_dependency): Likewise.

14 years agoSupport 64bit targets.
hjl [Thu, 14 Jan 2010 23:29:51 +0000 (23:29 +0000)]
Support 64bit targets.

2010-01-14  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/orphan4.d: Support 64bit targets.

14 years ago Drop accidentally applied ChangeLog entry.
corinna [Thu, 14 Jan 2010 21:49:43 +0000 (21:49 +0000)]
Drop accidentally applied ChangeLog entry.

14 years ago * libc/stdio/vfprintf.c (_VFPRINTF_R): Just wave bytes invalid in
corinna [Thu, 14 Jan 2010 21:48:58 +0000 (21:48 +0000)]
* libc/stdio/vfprintf.c (_VFPRINTF_R): Just wave bytes invalid in
the current charset through.

14 years ago2009-01-14 Tristan Gingold <gingold@adacore.com>
gingold [Thu, 14 Jan 2010 21:47:44 +0000 (21:47 +0000)]
2009-01-14  Tristan Gingold  <gingold@adacore.com>

* machoread.c (macho_add_oso_symfile): Add symfile_flags parameter.
Call xstrdup for abfd->filename.  Pass symfile_flags and objfile flags
to symbol_file_add_from_bfd.  Add OSO as separate objfile.
(macho_oso_symfile): Add symfile_flags parameter.  Pass it to
macho_add_oso_symfile.
(macho_symfile_read): Pass symfile_flags to macho_oso_symfile.

14 years agoTru64: Dead threads are never deleted.
brobecke [Thu, 14 Jan 2010 18:26:50 +0000 (18:26 +0000)]
Tru64: Dead threads are never deleted.

        * dec-thread.c (dec_thread_ptid_is_alive): New function.
        (dec_thread_count_gdb_threads): Fix counter increment.
        (dec_thread_add_gdb_thread): Fix *listp increment.
        (resync_thread_list): Fix bug in deletion of dead threads that
        caused all threads to be deleted, instead of just the dead ones.

14 years ago2010-01-14 Tristan Gingold <gingold@adacore.com>
gingold [Thu, 14 Jan 2010 18:19:56 +0000 (18:19 +0000)]
2010-01-14  Tristan Gingold  <gingold@adacore.com>

* dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
and DW_AT_GNAT_descriptive_type.

14 years ago2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
pmuldoon [Thu, 14 Jan 2010 17:03:34 +0000 (17:03 +0000)]
2010-01-13  Phil Muldoon  <pmuldoon@redhat.com>

PR python/10705

* python/python-internal.h: Add lazy_string_object_type
definition.
(create_lazy_string_object, gdbpy_initialize_lazy_string)
(gdbpy_is_lazystring, gdbpy_extract_lazy_string): Define.
* python/py-value.c (valpy_lazy_string): New function.
(convert_value_from_python): Add lazy string conversion.
* python/py-prettyprint.c (pretty_print_one_value): Check if
return is also a lazy string.
(print_string_repr): Add lazy string printing branch.
(print_children): Likewise.
* python/py-lazy-string.c: New file. Implement lazy strings.
* python/python.c (_initialize_python): Call
gdbpy_initialize_lazy_string.
* varobj.c (value_get_print_value): Add lazy string printing
branch.  Account for encoding.
* c-lang.c (c_printstr): Account for new encoding argument.  If
encoding is NULL, find encoding suited for type, otherwise use
user encoding.
* language.h (language_defn): Add encoding argument.
(LA_PRINT_STRING): Likewise.
* language.c (unk_lang_printstr): Update to reflect new encoding
argument to language_defn.
* ada-lang.h (ada_printstr): Likewise.
* c-lang.h (c_printstr): Likewise.
* p-lang.h (pascal_printstr);
* f-lang.c (f_printstr): Likewise.
* m2-lang.c (m2_printstr): Likewise.
* objc-lang.c (objc_printstr): Likewise.
* p-lang.c (pascal_printstr): Likewise.
* scm-lang.c (scm_printstr): Likewise.
* c-valprint.c (c_val_print): Update LA_PRINT_STRING call for
encoding argument.
* ada-valprint.c (ada_printstr): Likewise.
* f-valprint.c (f_val_print): Likewise
* m2-valprint.c (m2_val_print): Likewise.
* p-valprint.c (pascal_val_print): Likewise.
* expprint.c (print_subexp_standard): Likewise.
* valprint.c (val_print_string): Likewise.
* Makefile.in (SUBDIR_PYTHON_OBS): Add py-lazy-string.
(SUBDIR_PYTHON_SRCS): Likewise.
(py-lazy-string.o): New rule.

2010-01-13  Phil Muldoon  <pmuldoon@redhat.com>

* gdb.texinfo (Values From Inferior): Document lazy_string value
method.
(Python API): Add Lazy strings menu item.
(Lazy Strings In Python): New node.

2010-01-13  Phil Muldoon  <pmuldoon@redhat.com>

* gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
* gdb.python/py-prettyprint.py (pp_ls): New printer.
* gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
test.
* gdb.python/py-prettyprint.c: Define lazystring test structure.
* gdb.python/py-mi.exp: Add lazy string test.

14 years agoWildcard the file offset.
dj [Thu, 14 Jan 2010 15:55:46 +0000 (15:55 +0000)]
Wildcard the file offset.

14 years ago* emultempl/elf32.em (_place_orphan): If an input section doesn't
dj [Thu, 14 Jan 2010 13:56:10 +0000 (13:56 +0000)]
* emultempl/elf32.em (_place_orphan): If an input section doesn't
match an existing output section, but an unused output section
statement does match, use it.
* emultempl/pe.em (_place_orphan): Likewise.
* emultempl/pep.em (_place_orphan): Likewise.

* ld-elf/orphan4.d: New.
* ld-elf/orphan4.ld: New.
* ld-elf/orphan4.s: New.

14 years ago * config/bfin-aux.h: Remove argument names in function
jiez [Thu, 14 Jan 2010 13:52:55 +0000 (13:52 +0000)]
* config/bfin-aux.h: Remove argument names in function
declarations.
* config/bfin-lex.l (parse_int): Fix shadowed variable name
warning.
* config/bfin-parse.y (value_match): Remove argument names
in declaration.
(notethat): Likewise.
(yyerror): Likewise.

14 years ago2010-01-13 Doug Kwan <dougkwan@google.com>
dougkwan [Thu, 14 Jan 2010 11:42:20 +0000 (11:42 +0000)]
2010-01-13  Doug Kwan  <dougkwan@google.com>

* arm.cc (Arm_relobj::section_needs_reloc_stub_scanning,
Arm_relobj::scan_sections_for_stubs): Rearrange code to avoid an
apparent compiler problem of not folding static constant integral
data members of elfcpp::Elf_sizes<32>.

14 years ago*** empty log message ***
gdbadmin [Thu, 14 Jan 2010 09:00:05 +0000 (09:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Thu, 14 Jan 2010 08:00:04 +0000 (08:00 +0000)]
daily update

14 years ago2010-01-13 Chao-ying Fu <fu@mips.com>
chaoyingfu [Thu, 14 Jan 2010 07:34:28 +0000 (07:34 +0000)]
2010-01-13  Chao-ying Fu  <fu@mips.com>

* ld-mips-elf/jr-to-b-1.d, ld-mips-elf/jr-to-b-2.d: New tests.
* ld-mips-elf/jr-to-b-1.s, ld-mips-elf/jr-to-b-2.s: Source.
* ld-mips-elf/mips-elf.exp: Run new tests.

14 years ago2010-01-13 Chao-ying Fu <fu@mips.com>
chaoyingfu [Thu, 14 Jan 2010 07:30:53 +0000 (07:30 +0000)]
2010-01-13  Chao-ying Fu  <fu@mips.com>

* elfxx-mips.c (JR_TO_B_P): New define to transform JR to B.
It is true for all CPUs.
(jal_reloc_p): New function.
(mips_elf_calculate_relocation): Rename require_jalxp to
cross_mode_jump_p.
Update comment for CROSS_MODE_JUMP_P.
Set up cross_mode_jump_p based on the mode change.
(mips_elf_perform_relocation): Rename require_jalx to cross_mode_jump_p.
Update comment for CROSS_MODE_JUMP_P.
Test cross_mode_jump_p and jal_reloc_p to turn jal to jalx.
Use !cross_mode_jump_p to guard conversion.
Convert "jr t9" to "b", if possible.
(_bfd_mips_elf_relocate_section): Rename require_jalx to
cross_mode_jump_p.
Pass &cross_mode_jump_p to call mips_elf_calculate_relocation.
Pass cross_mode_jump_p to call mips_elf_perform_relocation.

14 years ago2010-01-13 Doug Kwan <dougkwan@google.com>
dougkwan [Thu, 14 Jan 2010 06:36:47 +0000 (06:36 +0000)]
2010-01-13  Doug Kwan  <dougkwan@google.com>

* arm.cc (Arm_relobj::section_needs_reloc_stub_scanning,
Arm_relobj::section_needs_cortex_a8_stub_scanning,
Arm_relobj::scan_section_for_cortex_a8_erratum,
Arm_relobj::scan_span_for_cortex_a8_erratum): New methods.
(Arm_relobj::scan_sections_for_stubs): Move code deciding what
sections to scan for relocation stubs into a new method
Arm_relobj::section_needs_reloc_stub_scanning.  Handle both
relocation and Cortex-A8 stub scanning.
(Target_arm::do_relax): Force stubs to be after stubbed sections
if fixing the Cortex-A8 erratum.  Remove all Cortex-A8 stubs at
the beginning of a new relaxation pass.  Update a comment.
(Target_arm::scan_span_for_cortex_a8_erratum): New method definition.

14 years agoI forgot to commit this.
ian [Thu, 14 Jan 2010 06:14:47 +0000 (06:14 +0000)]
I forgot to commit this.

14 years ago gas/testsuite/
drow [Thu, 14 Jan 2010 04:07:31 +0000 (04:07 +0000)]
gas/testsuite/
* gas/arm/thumb-nop.s: Add .syntax unified.

14 years ago gas/
drow [Thu, 14 Jan 2010 04:01:07 +0000 (04:01 +0000)]
gas/
* config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.

gas/testsuite/
* gas/arm/thumb-nop.d, gas/arm/thumb-nop.s: New test.
* gas/arm/relax_branch_align.d: Expect a default NOP instruction.
* gas/arm/vfp1_t2.d, gas/arm/vfp1xD_t2.d: Specify a CPU with
Thumb-2.

ld/testsuite/
* ld-arm/arm-elf.exp (armelftests): Assemble Cortex-A8 tests with
-mcpu=cortex-a8.

14 years ago * include/fcntl.h (O_TTY_INIT): Define as 0.
corinna [Thu, 14 Jan 2010 01:51:36 +0000 (01:51 +0000)]
* include/fcntl.h (O_TTY_INIT): Define as 0.

14 years agoUpdate comments
hjl [Thu, 14 Jan 2010 01:06:11 +0000 (01:06 +0000)]
Update comments

2010-01-13  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (print_insn): Update comments.

14 years ago * cpu-m32c.c (m32c_scan): New function. Ensures that a scan for
nickc [Wed, 13 Jan 2010 23:34:12 +0000 (23:34 +0000)]
    * cpu-m32c.c (m32c_scan): New function.  Ensures that a scan for
        "m32c" returns the m32c arch_info_struct and not the m16c
        arch_info_struct.
        (arch_info_struct): Use the new scan function.
        (bfd_m32c_arch): Likewise.

14 years ago * config/tc-h8300.c (h8300_elf_section): New function - issue a
nickc [Wed, 13 Jan 2010 23:08:52 +0000 (23:08 +0000)]
    * config/tc-h8300.c (h8300_elf_section): New function - issue a
        warning message if a new section is created without setting any
        attributes for it.
        (md_pseudo_table): Intercept section creation pseudos.
        (md_pcrel_from): Replace abort with an error message.
        * config/obj-elf.c (obj_elf_section_name): Export this function.
        * config/obj-elf.h (obj_elf_section_name): Prototype.

        * gas/elf/section0.d: Skip this test for the h8300.
        * gas/elf/section1.d: Likewise.
        * gas/elf/section6.d: Likewise.
        * gas/elf/elf.exp: Skip section2 and section5 tests when the
        target is the h8300.

        * ld-scrips/sort.exp: Skip these tests when the target is the
        h8300.

14 years agoAdd period to sentence in comment.
green [Wed, 13 Jan 2010 23:08:36 +0000 (23:08 +0000)]
Add period to sentence in comment.

14 years ago2010-01-13 Tristan Gingold <gingold@adacore.com>
gingold [Wed, 13 Jan 2010 20:49:36 +0000 (20:49 +0000)]
2010-01-13  Tristan Gingold  <gingold@adacore.com>

* config.bfd: Remove duplicated target vector for i386-*-darwin.
Appends new arch instead of overriding.
Use mach_o_x86_64_vec for x86_64-*-darwin.
* configure.in: Add mach_o_x86_64_vec.
* configure: Regenerate.
* targets.c: Declare mach_o_x86_64_vec, add it to _bfd_target_vector.
* Makefile.am (BFD64_BACKENDS): Add mach-o-x86-64.lo
(BFD64_BACKENDS_CFILES): Add mach-o-x86-64.c
* Makefile.in: Regenerate.
* mach-o-x86-64.c: New file.

14 years ago2010-01-13 Tristan Gingold <gingold@adacore.com>
gingold [Wed, 13 Jan 2010 20:35:19 +0000 (20:35 +0000)]
2010-01-13  Tristan Gingold  <gingold@adacore.com>

* reloc.c: Add MACH_O_X86_64 relocations.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.

14 years ago2010-01-13 Tristan Gingold <gingold@adacore.com>
gingold [Wed, 13 Jan 2010 20:15:52 +0000 (20:15 +0000)]
2010-01-13  Tristan Gingold  <gingold@adacore.com>

* ar.c (main): Use lbasename.
(normalize): Ditto.
* objdump.c (update_source_path): Ditto.

14 years agoAdd new DW_AT_use_GNAT_descriptive_type CU attribute.
brobecke [Wed, 13 Jan 2010 20:09:31 +0000 (20:09 +0000)]
Add new DW_AT_use_GNAT_descriptive_type CU attribute.

        * dwarf2.h (dwarf_attribute): Add DW_AT_use_GNAT_descriptive_type.

14 years ago * fhandler_tty.cc (fhandler_tty_master::init): Don't erase all default
corinna [Wed, 13 Jan 2010 20:06:21 +0000 (20:06 +0000)]
* fhandler_tty.cc (fhandler_tty_master::init): Don't erase all default
termios settings of slave console.

14 years ago * syscalls.cc (rename): Don't exit prematurely with EROFS when trying
corinna [Wed, 13 Jan 2010 18:45:16 +0000 (18:45 +0000)]
* syscalls.cc (rename): Don't exit prematurely with EROFS when trying
to rename an AF_LOCAL socket or when trying to replace an AF_LOCAL
socket.

14 years ago2010-01-13 Tristan Gingold <gingold@adacore.com>
gingold [Wed, 13 Jan 2010 17:48:26 +0000 (17:48 +0000)]
2010-01-13  Tristan Gingold  <gingold@adacore.com>

* archive.c (normalize): Use lbasename.
(bfd_bsd_truncate_arname): Ditto.
(bfd_gnu_truncate_arname): Ditto.

14 years agoInitialize SIM_DESC properly.
green [Wed, 13 Jan 2010 17:28:26 +0000 (17:28 +0000)]
Initialize SIM_DESC properly.

14 years ago2010-01-12 Doug Kwan <dougkwan@google.com>
dougkwan [Wed, 13 Jan 2010 15:44:01 +0000 (15:44 +0000)]
2010-01-12  Doug Kwan  <dougkwan@google.com>

* arm.cc (Cortex_a8_reloc): New class.
(Target_arm::Target_arm): Initialize new data members fix_cortex_a8_
and cortex_a8_relocs_info_.
(Target_arm::fix_cortex_a8): New method definition.
(Target_arm::Cortex_a8_relocs_info): New type.
(Target_arm::fix_cortex_a8_, Target_arm::cortex_a8_relocs_info_):
New data member declarations.
(Target_arm::scan_reloc_for_stub): Record information about
relocations for THUMB branches that might be exempted from the
Cortex-A8 workaround.
(Target_arm::do_relax): Clear all Cortex-A8 relocation information
at the beginning of a relaxation pass.

14 years agoadd missing file
vprus [Wed, 13 Jan 2010 14:20:49 +0000 (14:20 +0000)]
add missing file

14 years agoRemove rex_original
hjl [Wed, 13 Jan 2010 13:03:19 +0000 (13:03 +0000)]
Remove rex_original

2010-01-12  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (rex_original): Removed.
(ckprefix): Remove rex_original.
(print_insn): Update comments.

14 years ago2010-01-12 Doug Kwan <dougkwan@google.com>
dougkwan [Wed, 13 Jan 2010 11:00:39 +0000 (11:00 +0000)]
2010-01-12  Doug Kwan  <dougkwan@google.com>

* arm.cc (Arm_relobj::mapping_symbols_info_): New data member.
(Arm_relobj::Mapping_symbol_position,
 Arm_reloj::Mapping_symbol_position_less,
 Arm_relobj::Mapping_symbols_info): New types.
(Target_arm::is_mapping_symbol_name): New method definition.
(Arm_relobj::do_count_local_symbols): Save information about mapping
symbols.

14 years ago*** empty log message ***
gdbadmin [Wed, 13 Jan 2010 09:00:03 +0000 (09:00 +0000)]
*** empty log message ***

14 years agotweak previous entry to keep chronology right
devans [Wed, 13 Jan 2010 08:07:37 +0000 (08:07 +0000)]
tweak previous entry to keep chronology right
(different timezones made the day off by one)

14 years ago * mi/mi-main.c (list_available_thread_groups): Avoid "may be used
devans [Wed, 13 Jan 2010 08:05:51 +0000 (08:05 +0000)]
* mi/mi-main.c (list_available_thread_groups): Avoid "may be used
uninitialized" warning from gcc on local `tree'.

14 years agodaily update
amodra [Wed, 13 Jan 2010 08:00:04 +0000 (08:00 +0000)]
daily update

14 years ago Implement core awareness.
vprus [Wed, 13 Jan 2010 06:40:23 +0000 (06:40 +0000)]
Implement core awareness.

* bcache.c (compare_ints): Remove
(print_percentage): Use compare_positive_ints.
* defs.h (compare_positive_ints): Declare.
* linux-nat.h (struct lin_lwp): New field core.
(linux_nat_core_of_thread_1): Declare.
* linux-nat.c (add_lwp): Init the 'core' field.
(linux_nat_wait_1): Record the core.
(linux_nat_core_of_thread_1, linux_nat_core_of_thread): New.
(linux_nat_add_target): Register the above.
* linux-thread-db.c (update_thread_core): New.
(thread_db_find_new_threads): Update core information for
every thread.
* remote.c (struct private_thread_info): New.
(free_private_thread_info, demand_private_info): New.
(PACKET_qXfer_threads, use_osdata_threads): New.
(struct thread_item, threads_parsing_context
(start_thread, end_thread, thread_attributes)
(thread_children, threads_children, threads_elements): New.
(remote_threads_info): Try qXfer:threads before anything
else.
(remote_protocol_packets): Register qXfer:threads.
(remote_open_1): Init use_osdata_threads.
(struct stop_reply): New field 'core'.
(remote_parse_stop_reply): Parse core number.
(process_stop_reply): Record core number.
(remote_xfer_partial): Handle qXfer:threads.
(remote_core_of_thread): New.
(init_remote_ops): Register remote_core_of_thread.
(_initialize_remote): Register qXfer:read.
* target.c (target_core_of_thread): New
* target.h (enum target_object): New value TARGET_OBJECT_THREADS.
(struct target_ops): New field to_core_of_threads.
(target_core_of_thread): Declare.
* gdbthread.h (struct thread_info): New field private_dtor.
* thread.c (print_thread_info): Report the core.
* ui-out.c (MAX_UI_OUT_LEVELS): Increase.
* utils.c (compare_positive_ints): New.
* features/threads.dtd: New.
* mi/mi-interp.c (mi_on_normal_stop): Report the core.
* mi/mi-main.c (struct collect_cores_data, collect_cores)
(do_nothing, free_vector_of_osdata_items)
(splay_tree_int_comparator, free_splay_tree): New.
(print_one_inferior_data): Implemented printing of selected
inferiors.  Collect and print cores.
(output_cores): New.
(mi_cmd_list_thread_groups): Support --recurse.  Permit specifying
thread groups together with --available.

14 years ago * target-reloc.h (visibility_error): New inline function.
ian [Wed, 13 Jan 2010 04:12:40 +0000 (04:12 +0000)]
* target-reloc.h (visibility_error): New inline function.
(relocate_section): Call visibility_error.
* testsuite/Makefile.am (check_DATA): Add protected_3.err.
(MOSTLYCLEANFILES): Likewise.
(protected_4_pic.o, protected_3.err): New targets.
* testsuite/protected_4.cc: New file.

14 years ago * cygwinenv.sgml (cygwinenv-implemented-options): Try to make
corinna [Wed, 13 Jan 2010 01:40:53 +0000 (01:40 +0000)]
* cygwinenv.sgml (cygwinenv-implemented-options): Try to make
compatibility new symlinks vs. old Cygwin clearer.

14 years ago * globals.cc (ro_u_nwfs): New R/O unicode string.
corinna [Tue, 12 Jan 2010 23:47:45 +0000 (23:47 +0000)]
* globals.cc (ro_u_nwfs): New R/O unicode string.
* mount.cc (fs_info::update): Check for NWFS filesystem.  Set
has_buggy_basic_info, if so.  Add comment to explain why.
(fillout_mntent): Add "nwfs" string to fs_names array.
* mount.h (enum fs_info_type): Add nwfs.
(class fs_info): Add has_buggy_basic_info status flag.  Add accessors
for has_buggy_basic_info and is_nwfs.
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Accommodate
filesystems with broken FileBasicInformation handling.
* path.cc (symlink_info::check): Ditto.
* path.h (path_conv::has_buggy_basic_info): Add method.

14 years agogdb/
jkratoch [Tue, 12 Jan 2010 21:22:49 +0000 (21:22 +0000)]
gdb/
* configure: Regenerate (for _STRUCTURED_PROC).

14 years agobfd/
gingold [Tue, 12 Jan 2010 19:16:49 +0000 (19:16 +0000)]
bfd/
2010-01-12  Tristan Gingold  <gingold@adacore.com>

* makefile.vms (CFLAGS): Turns warnings into informational messages.

binutils/
2010-01-12  Tristan Gingold  <gingold@adacore.com>

* makefile.vms (CFLAGS): Turns warnings into informational messages.

14 years ago * dtable.cc (build_fh_name_worker): Remove. Move all functionality
corinna [Tue, 12 Jan 2010 19:14:59 +0000 (19:14 +0000)]
* dtable.cc (build_fh_name_worker): Remove.  Move all functionality
back into build_fh_name.
(build_fh_name): Drop unused HANDLE parameter.  Drop call to pc.fillin.
Remove disabled build_fh_name with UNICODE_STRING name parameter.
* dtable.h (build_fh_name): Drop HANDLE parameter from declaration.
Remove declaration for build_fh_name with UNICODE_STRING name parameter.
* path.cc (path_conv::fillin): Remove.
(symlink_info::check): Fix comment.
* path.h (path_conv::fillin): Remove declaration.
* dir.cc: Accommodate change in build_fh_name parameters throughout.
* sec_acl.cc: Ditto.
* syscalls.cc: Ditto.

* ntea.cc (getxattr_worker): Fix debug output.
(setxattr_worker): Ditto.
* times.cc (utimens_worker): Ditto.

14 years agoDelete dead function.
brobecke [Tue, 12 Jan 2010 17:50:44 +0000 (17:50 +0000)]
Delete dead function.

        * ada-lang.c (extract_string): Delete.  No longer used.

14 years ago2010-01-11 Doug Kwan <dougkwan@google.com>
dougkwan [Tue, 12 Jan 2010 16:54:37 +0000 (16:54 +0000)]
2010-01-11  Doug Kwan  <dougkwan@google.com>

* arm.cc (Arm_relocate_functions::thumb32_branch_offset,
Arm_relocate_functions::thumb32_branch_upper,
Arm_relocate_functions::thumb32_branch_lower,
Arm_relocate_functions::thumb32_cond_branch_offset,
Arm_relocate_functions::thumb32_cond_branch_upper,
Arm_relocate_functions::thumb32_cond_branch_lower,
Arm_relocate_functions::thm_jump19): New methods to handle THUMB
branch offset encoding.
(Arm_relocate_functions::thumb_branch_common): Use new branch
offset encoding methods to avoid code duplication.
(Stub_template::Stub_template) Handle THUMB16_SPECIAL_TYPE.
(Stub_addend_reader::operator()): Use new branch encoding method
to avoid code duplication.

14 years agoFix -Wunused warning in dec-thread.c.
brobecke [Tue, 12 Jan 2010 16:51:08 +0000 (16:51 +0000)]
Fix -Wunused warning in dec-thread.c.

        * dec-thread.c (dec_thread_count_gdb_threads)
        (dec_thread_add_gdb_thread): Prevent -Wunused warning.

14 years ago * ada-valprint.c (ada_print_floating): Remove trailing space.
brobecke [Tue, 12 Jan 2010 16:45:51 +0000 (16:45 +0000)]
    * ada-valprint.c (ada_print_floating): Remove trailing space.

14 years ago2010-01-11 Doug Kwan <dougkwan@google.com>
dougkwan [Tue, 12 Jan 2010 16:22:56 +0000 (16:22 +0000)]
2010-01-11  Doug Kwan  <dougkwan@google.com>

* arm.cc (Arm_relobj::do_gc_process_relocs): New method.
(Target_arm::do_finalize_sections): Define special EXIDX section
symbols only if referenced.
* gc.h (Garbage_collection::add_reference): New method.
(gc_process_relocs): Use Garbage_collection::add_reference to avoid
code duplication.

14 years ago * script.cc (Version_script_info::build_expression_list_lookup):
ian [Tue, 12 Jan 2010 15:52:58 +0000 (15:52 +0000)]
* script.cc (Version_script_info::build_expression_list_lookup):
Change complaing about duplicate wildcard match from error to
warning.

14 years ago * script.cc (class Lazy_demangler): Recreate--revert part of patch
ian [Tue, 12 Jan 2010 15:41:36 +0000 (15:41 +0000)]
* script.cc (class Lazy_demangler): Recreate--revert part of patch
of 2009-12-30.
(Version_script_info::Version_script_info): Initialize globs_,
default_version_, default_is_global_, and exact_.  Don't
initialize globals_ or locals_.
(Version_script_info::build_lookup_tables): Build local symbols
first.
(Version_script_info::unquote): New function.
(Version_script_info::add_exact_match): New function.
(Version_script_info::build_expression_list_lookup): Remove lookup
parameter.  Add is_global parameter.  Change all callers.  Handle
wildcard pattern specially.  Unquote pattern.  Call
add_exact_match.
(Version_script_info::get_name_to_match): New function.
(Version_script_info::get_symbol_version): New function.
(Version_script_info::get_symbol_version_helper): Remove.
(Version_script_info::check_unmatched_names): Call unquote.
* script.h (class Version_script_info): Change get_symbol_version
to be non-inline and add is_global parameter; change all callers.
Rewrite symbol_is_local.  Update declarations.  Define struct
Version_tree_match, Exact, Globs.  Don't define struct Lookup.
Remove globals_ and locals_ members.  Add exact_, globs_,
default_version_, is_global_.
(Version_script_info::Glob): Remove pattern, add expression and
is_global.  Update constructor.  Change all callers.
* dynobj.cc (Versions::finalize): Mark the version symbol as the
default version.
(Versions::symbol_section_contents): If a symbol is undefined, or
defined in a dynamic object, set the version index to
VER_NDX_LOCAL.
* symtab.cc (Symbol_table::add_from_relobj): Don't call
symbol_is_local.
(Symbol_table::add_from_pluginobj): Likewise.
* testsuite/ver_matching_test.sh: blaza1 and blaza go into V2.

14 years agogdb/ChangeLog:
brobecke [Tue, 12 Jan 2010 14:48:56 +0000 (14:48 +0000)]
gdb/ChangeLog:

        Add support for DW_AT_GNAT_descriptive_type.
        * gdbtypes.h (enum type_specific_kind): New enum.
        (struct main_type) [type_specific_field]: New component.
        [type_specific]: Add new component "gnat_stuff".
        (struct gnat_aux_type): New type.
        (INIT_CPLUS_SPECIFIC): Also set TYPE_SPECIFIC_FIELD (type).
        (HAVE_CPLUS_STRUCT): Also check TYPE_SPECIFIC_FIELD (type).
        (gnat_aux_default, allocate_gnat_aux_type): Add declaration.
        (INIT_GNAT_SPECIFIC, ALLOCATE_GNAT_AUX_TYPE, HAVE_GNAT_AUX_INFO)
        (TYPE_SPECIFIC_FIELD): New macros.
        (TYPE_CPLUS_SPECIFIC): Return cplus_struct_default if the given
        type does not hold any cplus-specific data.
        (TYPE_RAW_CPLUS_SPECIFIC): New macro.
        (TYPE_GNAT_SPECIFIC, TYPE_DESCRIPTIVE_TYPE): New macros.
        (TYPE_IS_OPAQUE): Use HAVE_CPLUS_STRUCT to check if type has
        cplus-specific data.
        * gdbtypes.c (allocate_cplus_struct_type): Minor stylistic rewrite.
        Set new component TYPE_SPECIFIC_FIELD (type).
        (gnat_aux_default): New constant.
        (allocate_gnat_aux_type): New function.
        (init_type): Add initialization the type-specific stuff for
        TYPE_CODE_FLT and TYPE_CODE_FUNC types.
        (print_gnat_stuff): New function.
        (recursive_dump_type): Use HAVE_CPLUS_STRUCT to check for cplus-
        specific data.  Adjust code that prints the contents of the
        type-specific union using the TYPE_SPECIFIC_FIELD value.
        * dwarf2read.c (dwarf2_attach_fields_to_type): Do not allocate
        the type cplus stuff for Ada types.
        (dwarf2_add_member_fn, dwarf2_attach_fn_fields_to_type):
        Error out if these routines are called with an Ada type.
        (read_structure_type, read_array_type, read_subrange_type):
        Add call to set_descriptive_type.
        (set_die_type): Initialize the gnat-specific data if necessary.
        (need_gnat_info, die_descriptive_type, set_descriptive_type):
        New functions.
        * ada-lang.c (decode_constrained_packed_array_type): Use
        decode_constrained_packed_array_type instead of doing a standard
        lookup to locate a parallel type.
        (find_parallel_type_by_descriptive_type): New function.
        (ada_find_parallel_type_with_name): New function.
        (ada_find_parallel_type): Reimplement using
        ada_find_parallel_type_with_name.
        * ada-valprint.c (print_field_values): Use HAVE_CPLUS_STRUCT
        to check if type has a cplus stuff.
        * linespec.c (total_number_of_methods): Likewise.
        * mdebugread.c (new_type): Likewise.

gdb/testsuite/ChangeLog:

        * gdb.base/maint.exp: Adjust the expected output for the
        "maint print type" test. Use gdb_test_multiple instead of
        gdb_sent/gdb_expect.

14 years ago PR 11122
amodra [Tue, 12 Jan 2010 10:10:55 +0000 (10:10 +0000)]
PR 11122
* listing.c (print_source): Add one to line number.

14 years ago * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
devans [Tue, 12 Jan 2010 09:50:26 +0000 (09:50 +0000)]
* lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
from gdbserver_download.  All callers updated.

14 years ago * gdb.server/ext-run.exp: "info os processes" requires xml support.
devans [Tue, 12 Jan 2010 09:48:32 +0000 (09:48 +0000)]
* gdb.server/ext-run.exp: "info os processes" requires xml support.

14 years ago*** empty log message ***
gdbadmin [Tue, 12 Jan 2010 09:00:03 +0000 (09:00 +0000)]
*** empty log message ***

14 years ago2010-01-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
jjohnstn [Tue, 12 Jan 2010 08:24:46 +0000 (08:24 +0000)]
2010-01-11  Sebastian Huber <sebastian.huber@embedded-brains.de>

        * libc/posix/telldir.c (_cleanupdir): Fixed usage of freed memory.

14 years agodaily update
amodra [Tue, 12 Jan 2010 08:00:05 +0000 (08:00 +0000)]
daily update

14 years ago2010-01-11 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
jjohnstn [Tue, 12 Jan 2010 07:55:47 +0000 (07:55 +0000)]
2010-01-11  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>

        * libc/include/math.h (log2, log2f): Disable macro versions for C++,
        as they are incompatible with OpenMP/C++ headers.

2

14 years ago2010-01-11 Doug Kwan <dougkwan@google.com>
dougkwan [Tue, 12 Jan 2010 04:38:22 +0000 (04:38 +0000)]
2010-01-11  Doug Kwan  <dougkwan@google.com>

* Makefile.am (incremental_dump_DEPENDENCIES): Add libintl dependency.
(incremental_dump_LDADD): Add linking option for libintl.
* Makefile.in: Regenerate.

14 years agogdb/
jkratoch [Tue, 12 Jan 2010 04:29:12 +0000 (04:29 +0000)]
gdb/
* NEWS: Document the 0b binary number prefix parsing.

14 years agomerge from gcc
dj [Tue, 12 Jan 2010 04:12:42 +0000 (04:12 +0000)]
merge from gcc

14 years agoUse --dyn-syms instead of -Ds
hjl [Tue, 12 Jan 2010 03:34:48 +0000 (03:34 +0000)]
Use --dyn-syms instead of -Ds

2010-01-11  H.J. Lu  <hongjiu.lu@intel.com>

PR gold/11144
* testsuite/Makefile.am (dynamic_list.stdout): Use --dyn-syms
instead of -Ds.
* testsuite/Makefile.in: Regenerated.

14 years agogdb/
jkratoch [Tue, 12 Jan 2010 03:15:05 +0000 (03:15 +0000)]
gdb/
* objfiles.c (objfile_relocate1): Change the return type to int.
Describe the new return value.  Return non-zero if data changed.
(objfile_relocate): New variable changed.  Set it.  Call
breakpoint_re_set depending on CHANGED.

14 years ago * pathnames.sgml (mount-table): Add info that posix=0 is default for
corinna [Tue, 12 Jan 2010 03:00:13 +0000 (03:00 +0000)]
* pathnames.sgml (mount-table): Add info that posix=0 is default for
the cygdrive prefix.

14 years agogdb/
jkratoch [Tue, 12 Jan 2010 02:58:15 +0000 (02:58 +0000)]
gdb/
Implement binary numbers parsing.
* c-exp.y (parse_number): New case 'b' and 'B'.

gdb/testsuite/
Implement binary numbers parsing.
* gdb.base/printcmds.exp (test_integer_literals_accepted)
(test_integer_literals_rejected): New binary tests.

14 years agogdb/
jkratoch [Tue, 12 Jan 2010 01:30:10 +0000 (01:30 +0000)]
gdb/
* solib.c (info_sharedlibrary_command): Replace
objfile_has_partial_symbols and objfile_has_full_symbols calls by
objfile_has_symbols.

14 years ago2010-01-11 Tristan Gingold <gingold@adacore.com>
gingold [Tue, 12 Jan 2010 00:57:58 +0000 (00:57 +0000)]
2010-01-11  Tristan Gingold  <gingold@adacore.com>

* mach-o.h: Add x86-64 relocation types.

14 years ago2010-01-11 Tristan Gingold <gingold@adacore.com>
gingold [Tue, 12 Jan 2010 00:39:41 +0000 (00:39 +0000)]
2010-01-11  Tristan Gingold  <gingold@adacore.com>

* mach-o.h (bfd_mach_o_backend_data): Add arch field.
(bfd_mach_o_set_arch_mach): New prototype.
* mach-o.c (bfd_mach_o_mkobject): Define with bfd_mach_o_gen_mkobject.
(bfd_mach_o_set_arch_mach): New function.
(bfd_mach_o_gen_mkobject): New function.
Set TARGET_ARCHITECTURE for the generic back-ends.
* mach-o-target.c (bfd_mach_o_set_arch_mach): Remove define.
Check that TARGET_ARCHITECTURE is defined.
Add TARGET_ARCHITECTURE in TARGET_NAME_BACKEND structure.
* mach-o-i386.c (TARGET_ARCHITECTURE): Define.

14 years ago2010-01-11 Tristan Gingold <gingold@adacore.com>
gingold [Tue, 12 Jan 2010 00:29:35 +0000 (00:29 +0000)]
2010-01-11  Tristan Gingold  <gingold@adacore.com>

        * archive.c (bfd_slurp_armap): Also check for Mach-O sorted armap.

14 years ago * fhandler_proc.cc (format_proc_stat): Use new in_buf.
corinna [Tue, 12 Jan 2010 00:10:20 +0000 (00:10 +0000)]
* fhandler_proc.cc (format_proc_stat): Use new in_buf.
(format_proc_cpuinfo): Replace szBuffer with a union in_buf.  Use type
correct throughout.  Add a couple of missing or newer cpu flags.  Allow
certain AMD flags for intel as well.

14 years agoAdd --dyn-syms to readelf
hjl [Mon, 11 Jan 2010 23:45:41 +0000 (23:45 +0000)]
Add --dyn-syms to readelf

binutils/

2010-01-11  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11146
* NEWS: Mention --dyn-syms for readelf.

* readelf.c (do_dyn_syms): New.
(OPTION_DYN_SYMS): Likewise.
(options): Add "dyn-syms".
(usage): Add --dyn-syms.
(parse_args): Handle OPTION_DYN_SYMS.
(process_symbol_table): Handle do_dyn_syms.
(process_object): Likewise.
(process_archive): Likewise.

* doc/binutils.texi: Document --dyn-syms for readelf.  Mention
symbol hash tables for -D.

ld/testsuite/

2010-01-11  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11146
* ld-elf/dynsym1.d: New.

14 years ago * elf32-v850.c (v850_elf_perform_relocation): Fix overflow
nickc [Mon, 11 Jan 2010 23:19:40 +0000 (23:19 +0000)]
    * elf32-v850.c (v850_elf_perform_relocation): Fix overflow
        handling of R_V850_HI16_S relocation.

14 years ago * NEWS: Mention addition of elfedit.
nickc [Mon, 11 Jan 2010 21:40:45 +0000 (21:40 +0000)]
    * NEWS: Mention addition of elfedit.

14 years ago* po/fi.po: Updated Finnish translation.
nickc [Mon, 11 Jan 2010 21:35:12 +0000 (21:35 +0000)]
* po/fi.po: Updated Finnish translation.

14 years ago * mount.cc (do_mount_from_fstab): Allow to change cygdrive prefix, too.
corinna [Mon, 11 Jan 2010 21:13:54 +0000 (21:13 +0000)]
* mount.cc (do_mount_from_fstab): Allow to change cygdrive prefix, too.

14 years ago PR 11103
amodra [Mon, 11 Jan 2010 18:53:27 +0000 (18:53 +0000)]
PR 11103
* dwarf1.c (parse_die): Correct FORM_STRING data pointer increment.

14 years agoupdate copyright date
amodra [Mon, 11 Jan 2010 18:43:08 +0000 (18:43 +0000)]
update copyright date

14 years ago PR 6832
amodra [Mon, 11 Jan 2010 17:36:18 +0000 (17:36 +0000)]
PR 6832
* dwarf2.c (struct comp_unit): Add sec_info_ptr.
(find_abstract_instance_name): Use it.
(parse_comp_unit): Set it.

14 years ago2010-01-10 Doug Kwan <dougkwan@google.com>
dougkwan [Mon, 11 Jan 2010 16:39:36 +0000 (16:39 +0000)]
2010-01-10  Doug Kwan  <dougkwan@google.com>

* options.h (DEFINE_var): Use parentheses around argument varname__
in macro body to avoid any unintended subsequent substitutions.

14 years ago * resolve.cc (Symbol_table::resolve): Add symbols to list of ODR
ian [Mon, 11 Jan 2010 16:09:47 +0000 (16:09 +0000)]
* resolve.cc (Symbol_table::resolve): Add symbols to list of ODR
candidates before doing symbol resolution.

14 years ago * resolve.cc (Symbol_table::resolve): Add symbols to the list of
ian [Mon, 11 Jan 2010 14:44:04 +0000 (14:44 +0000)]
* resolve.cc (Symbol_table::resolve): Add symbols to the list of
ODR candidates if only one is weak.

14 years ago*** empty log message ***
gdbadmin [Mon, 11 Jan 2010 09:00:33 +0000 (09:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Mon, 11 Jan 2010 08:00:04 +0000 (08:00 +0000)]
daily update

14 years ago * libc/stdlib/mbtowc_r.c (__ascii_mbtowc): Disallow conversion of
corinna [Sun, 10 Jan 2010 22:54:33 +0000 (22:54 +0000)]
* libc/stdlib/mbtowc_r.c (__ascii_mbtowc): Disallow conversion of
non-ASCII chars on Cygwin.
* libc/stdlib/wctomb_r.c (__ascii_wctomb): Ditto.

14 years ago * fhandler.h (fhandler_base::fstat_helper): Declare timestamps as
corinna [Sun, 10 Jan 2010 20:12:52 +0000 (20:12 +0000)]
* fhandler.h (fhandler_base::fstat_helper): Declare timestamps as
PLARGE_INTEGER.
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle):
Accommodate fstat_helper change of timestamp arguments.
(fhandler_base::fstat_by_name): Ditto.
(fhandler_base::fstat_helper): Define with timestamps as PLARGE_INTEGER.
Accommodate in call to to_timestruc_t.

14 years agoDocument the improvements made to the mips-irix port.
brobecke [Sun, 10 Jan 2010 15:43:01 +0000 (15:43 +0000)]
Document the improvements made to the mips-irix port.

        * NEWS: Document the improvements made to the mips-irix port.

14 years agoReturn dgs.alc on success
hjl [Sun, 10 Jan 2010 10:19:02 +0000 (10:19 +0000)]
Return dgs.alc on success

2010-01-09  Ian Lance Taylor  <iant@google.com>

PR other/42230
* cp-demangle.c (d_demangle): Return dgs.alc on success.

14 years ago*** empty log message ***
gdbadmin [Sun, 10 Jan 2010 09:00:33 +0000 (09:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Sun, 10 Jan 2010 08:00:04 +0000 (08:00 +0000)]
daily update

14 years agoSync Libtool from GCC.
rwild [Sun, 10 Jan 2010 06:11:31 +0000 (06:11 +0000)]
Sync Libtool from GCC.

/:
* libtool.m4: Sync from git Libtool.
* ltmain.sh: Likewise.
* ltoptions.m4: Likewise.
* ltversion.m4: Likewise.
* lt~obsolete.m4: Likewise.

sim/iq2000/:
* configure: Regenerate.

sim/d10v/:
* configure: Regenerate.

sim/m32r/:
* configure: Regenerate.

sim/frv/:
* configure: Regenerate.

sim/:
* avr/configure: Regenerate.
* cris/configure: Regenerate.
* microblaze/configure: Regenerate.

sim/h8300/:
* configure: Regenerate.

sim/mn10300/:
* configure: Regenerate.

sim/erc32/:
* configure: Regenerate.

sim/arm/:
* configure: Regenerate.

sim/m68hc11/:
* configure: Regenerate.

sim/lm32/:
* configure: Regenerate.

sim/sh64/:
* configure: Regenerate.

sim/v850/:
* configure: Regenerate.

sim/cr16/:
* configure: Regenerate.

sim/moxie/:
* configure: Regenerate.

sim/m32c/:
* configure: Regenerate.

sim/mips/:
* configure: Regenerate.

sim/mcore/:
* configure: Regenerate.

sim/sh/:
* configure: Regenerate.

gprof/:
* Makefile.in: Regenerate.
* configure: Regenerate.

opcodes/:
* Makefile.in: Regenerate.
* configure: Regenerate.

gas/:
* Makefile.in: Regenerate.
* configure: Regenerate.
* doc/Makefile.in: Regenerate.

ld/:
* configure: Regenerate.

gdb/testsuite/:
* gdb.cell/configure: Regenerate.

binutils/:
* Makefile.in: Regenerate.
* configure: Regenerate.
* doc/Makefile.in: Regenerate.

bfd/:
* Makefile.in: Regenerate.
* configure: Regenerate.

bfd/doc/:
* Makefile.in: Regenerate.

14 years agoFix the documentation of valprint.c:value_print.
brobecke [Sat, 9 Jan 2010 20:46:13 +0000 (20:46 +0000)]
Fix the documentation of valprint.c:value_print.

        * valprint.c (value_print): Update the function description to
        mention that the syntax of the output follows the current_language,
        not necessarily C.

14 years agogdb/
jkratoch [Sat, 9 Jan 2010 18:10:59 +0000 (18:10 +0000)]
gdb/
Fix displacement of separate debug info files.
* objfiles.c (objfile_relocate): Rename to ...
(objfile_relocate1): ... here and make it static.  Extend the comment.
(objfile_relocate): New function.
* solib-spu.c (spu_relocate_main_executable): Explicitly check if
SYMFILE_OBJFILE is NULL.  Remove variables objfile and old_chain.
Remove following of SEPARATE_DEBUG_OBJFILE.  new_offsets is now
allocated using alloca.
* symfile.c (copy_section_addr_info): Remove.
(build_section_addr_info_from_objfile): Make it global.  New variables
addr_bit and mask, use them.
* symfile.h (build_section_addr_info_from_objfile): New prototype.
(copy_section_addr_info): Remove.

14 years ago * script.cc (Version_script_info::build_expression_list_lookup):
ian [Sat, 9 Jan 2010 14:49:57 +0000 (14:49 +0000)]
* script.cc (Version_script_info::build_expression_list_lookup):
Don't warn about ambiguous version, just record the ambiguity.
(Version_script_info::get_symbol_version_helper): Give error if
version is ambiguous.