platform/upstream/binutils.git
14 years ago* doc/as.texinfo (Overview): Use @itemx for grouped @table
Andreas Schwab [Mon, 21 Jun 2010 10:49:41 +0000 (10:49 +0000)]
* doc/as.texinfo (Overview): Use @itemx for grouped @table
items.
* doc/c-alpha.texi (Alpha Options): Likewise.
* doc/c-arm.texi (ARM Directives): Likewise.
* doc/c-bfin.texi (Blackfin Options): Likewise.
* doc/c-d10v.texi (D10V-Opts): Likewise.
* doc/c-i386.texi (i386-Options): Likewise.
* doc/c-ia64.texi (IA-64 Options): Likewise.
* doc/c-m68k.texi (M68K-Opts): Likewise.
* doc/c-tic54x.texi (TIC54X-Directives): Likewise.
* doc/internals.texi (Symbols): Likewise.

14 years ago PR gas/11733
Alan Modra [Mon, 21 Jun 2010 07:42:55 +0000 (07:42 +0000)]
PR gas/11733
* config/tc-sh.c (find_cooked_opcode): Correct array bounds check.

14 years agodaily update
Alan Modra [Mon, 21 Jun 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Mon, 21 Jun 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago2010-06-20 Ian Lance Taylor <iant@google.com>
Pedro Alves [Sun, 20 Jun 2010 22:23:36 +0000 (22:23 +0000)]
2010-06-20  Ian Lance Taylor  <iant@google.com>
    Pedro Alves  <pedro@codesourcery.com>

* linux-x86-low.c (always_true): Delete.
(EMIT_ASM, EMIT_ASM32): Use an uncondition asm jmp instead of
trying to fool the compiler with always_true.

14 years ago * tracepoint.c (condition_true_at_tracepoint): Don't run compiled
Pedro Alves [Sun, 20 Jun 2010 22:18:48 +0000 (22:18 +0000)]
* tracepoint.c (condition_true_at_tracepoint): Don't run compiled
conditions in gdbserver.

14 years agomessage.txt
Danny Smith [Sun, 20 Jun 2010 09:51:16 +0000 (09:51 +0000)]
message.txt

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

14 years agodaily update
Alan Modra [Sun, 20 Jun 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago * layout.cc (gdb_sections): Add .debug_types.
Cary Coutant [Sat, 19 Jun 2010 21:11:55 +0000 (21:11 +0000)]
* layout.cc (gdb_sections): Add .debug_types.
(lines_only_debug_sections): Likewise.

14 years ago * spu-tdep.c (spu_frame_unwind_cache): Use LSLR register
Ulrich Weigand [Sat, 19 Jun 2010 17:59:06 +0000 (17:59 +0000)]
* spu-tdep.c (spu_frame_unwind_cache): Use LSLR register
value instead of hard-coded SPU_LS_SIZE.
(spu_software_single_step): Likewise.
* spu-tdep.h (SPU_LS_SIZE): Remove.

14 years agoChangeLog:
Ulrich Weigand [Sat, 19 Jun 2010 17:36:51 +0000 (17:36 +0000)]
ChangeLog:

* spu-multiarch.c (spu_xfer_partial): Wrap around local store
limit on local store memory accesses.
* spu-linux-nat.c (spu_xfer_partial): Likewise.
* spu-tdep.c (spu_lslr): Remove.
(spu_pointer_to_address): Do not truncate addresses.
(spu_integer_to_address): Likewise.
(spu_overlay_new_objfile): Use SPU_OVERLAY_LMA.
* spu-tdep.h: Add comments.
(SPUADDR_SPU): Respect SPU_OVERLAY_LMA bit.
(SPU_OVERLAY_LMA): Define.

gdbserver/ChangeLog:

* spu-low.c (spu_read_memory): Wrap around local store limit.
(spu_write_memory): Likewise.

testsuite/ChangeLog:

* gdb.arch/spu-ls.exp: New file.
* gdb.arch/spu-ls.c: Likewise.

14 years ago*** empty log message ***
gdbadmin [Sat, 19 Jun 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Sat, 19 Jun 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago2010-06-18 Stan Shebs <stan@codesourcery.com>
Stan Shebs [Fri, 18 Jun 2010 23:06:30 +0000 (23:06 +0000)]
2010-06-18  Stan Shebs  <stan@codesourcery.com>

* osdata.c (get_osdata): Warn separately if target does not report
type list.
(info_osdata_command): Allow empty type, report error if target
does not return available types of OS data.
* linux-nat.c (linux_nat_xfer_osdata): Report list of OS data
types if no annex supplied.

* gdb.texinfo (Operating System Auxiliary Information): Describe
"info os" when no arguments given.

14 years agogas:
Joseph Myers [Fri, 18 Jun 2010 22:44:20 +0000 (22:44 +0000)]
gas:
* config/tc-tic6x.h (tic6x_segment_info_type): Add field
func_units_used.
* config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
(md_assemble): Clear func_units_used for new execute packet.
Check for duplicate functional units and update func_units_used
for instructions using a functional unit.

gas/testsuite:
* gas/tic6x/resource-func-unit-1.d,
gas/tic6x/resource-func-unit-1.l,
gas/tic6x/resource-func-unit-1.s,
gas/tic6x/resource-func-unit-2.d,
gas/tic6x/resource-func-unit-2.l,
gas/tic6x/resource-func-unit-2.s: New.

14 years ago * thread.c (thread_id_make_value): Make a value representing the
Stan Shebs [Fri, 18 Jun 2010 17:44:40 +0000 (17:44 +0000)]
* thread.c (thread_id_make_value): Make a value representing the
current thread.
(_initialize_thread): Create $_thread.

* gdb.texinfo (Debugging Programs with Multiple Threads): Describe
$_thread.

* gdb.threads/thread-specific.exp: Add tests of $_thread.

14 years ago2010-06-18 Rafael Espindola <espindola@google.com>
Rafael Ávila de Espíndola [Fri, 18 Jun 2010 16:53:23 +0000 (16:53 +0000)]
2010-06-18  Rafael Espindola  <espindola@google.com>

* plugin.h (ld_plugin_add_input_file, ld_plugin_add_input_library):
Make argument const.

2010-06-18  Rafael Espindola  <espindola@google.com>

* plugin.cc (add_input_file,add_input_library)
(Plugin_manager::add_input_file): Make filename arguments const.
* plugin.h (Plugin_manager::add_input_file): Make filename arguments
const.

14 years ago * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
Ulrich Weigand [Fri, 18 Jun 2010 16:51:10 +0000 (16:51 +0000)]
* gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
* gdb.base/watch-cond.exp: Likewise.
* gdb.python/py-breakpoint.exp: Likewise.

14 years ago * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
Pedro Alves [Fri, 18 Jun 2010 15:08:29 +0000 (15:08 +0000)]
* gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
clean_restart, make sure every test has a distinct message, and
that messages don't include the executable' full path.

14 years ago2010-06-18 Hui Zhu <teawater@gmail.com>
Hui Zhu [Fri, 18 Jun 2010 08:16:15 +0000 (08:16 +0000)]
2010-06-18  Hui Zhu  <teawater@gmail.com>

* gdb.texinfo: (Process Record and Replay): Add documentation
for commands "record save" and "record restore".

14 years agodaily update
Alan Modra [Fri, 18 Jun 2010 00:00:04 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Fri, 18 Jun 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago * gdb.arch/i386-size.exp: Updated expected output for
Doug Evans [Thu, 17 Jun 2010 22:55:53 +0000 (22:55 +0000)]
* gdb.arch/i386-size.exp: Updated expected output for
DISASSEMBLY_OMIT_FNAME.

14 years agoMinor reformatting in dwarf2read.c:psymtabs_addrmap_cleanup.
Joel Brobecker [Thu, 17 Jun 2010 22:36:41 +0000 (22:36 +0000)]
Minor reformatting in dwarf2read.c:psymtabs_addrmap_cleanup.

Really a tiny insignificant detail that just happened to catch my attention.
Fixed thusly.

2010-06-17  Joel Brobecker  <brobecker@adacore.com>

        * dwarf2read.c (psymtabs_addrmap_cleanup): Add empty line after
        last local variable declaration.  No real code change.

14 years ago * dwarf2read.c (psymtabs_addrmap_cleanup): New function.
Tom Tromey [Thu, 17 Jun 2010 17:36:54 +0000 (17:36 +0000)]
* dwarf2read.c (psymtabs_addrmap_cleanup): New function.
(dwarf2_build_psymtabs_hard): Use it.  Create addrmap on a
temporary obstack.

14 years ago PR binutils/11711
Nick Clifton [Thu, 17 Jun 2010 13:55:35 +0000 (13:55 +0000)]
    PR binutils/11711
        * windres.c (enum option_values): New enum.
        (long_options): Use separate option number for --include-dir
        option.
        (main): Separate backwards compatibility check from code to
        implement --include-dir.  Check to see if directory exists and do
        not complain if it does.

14 years ago2010-06-17 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 17 Jun 2010 08:19:14 +0000 (08:19 +0000)]
2010-06-17  Tristan Gingold  <gingold@adacore.com>

* Makefile.am (BFD32_BACKENDS_CFILES): Move vms-alpha.c to ...
(BFD64_BACKENDS_CFILES): ... here.
(BFD32_BACKENDS): Move vms-alpha.lo to ...
(BFD64_BACKENDS): ... here.
* Makefile.in: Regenerate.

14 years agooops - omitted from previous delta
Nick Clifton [Thu, 17 Jun 2010 08:17:05 +0000 (08:17 +0000)]
oops - omitted from previous delta

14 years agodaily update
Alan Modra [Thu, 17 Jun 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Thu, 17 Jun 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years agogdb/ChangeLog:
Sergio Durigan Junior [Wed, 16 Jun 2010 18:30:34 +0000 (18:30 +0000)]
gdb/ChangeLog:

2010-06-16  Sergio Durigan Junior  <sergiodj@redhat.com>
    Jan Kratochvil  <jan.kratochvil@redhat.com>

* breakpoint.c: Include parser-defs.h.
(watchpoint_exp_is_const): New function.
(watch_command_1): Call watchpoint_exp_is_const to check
if the expression is constant.

gdb/doc/ChangeLog:

2010-06-16  Jan Kratochvil  <jan.kratochvil@redhat.com>

* gdb.texinfo: Include information about the correct use
of addresses in the `watch' command.

gdb/testsuite/ChangeLog:

2010-06-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
    Sergio Durigan Junior  <sergiodj@redhat.com>

* gdb.base/watch-notconst.c: New file.
* gdb.base/watch-notconst.S: New file.
* gdb.base/watch-notconst2.c: New file.
* gdb.base/watch-notconst2.S: New file.
* gdb.base/watch-notconst.exp: New file.
* gdb.base/watchpoint.c (global_ptr_ptr): New variable.
(func4): Add operations on `global_ptr_ptr'.
* gdb.base/watchpoint.exp (test_constant_watchpoint): New
routine to test watchpoints created with a constant expression.
(test_inaccessible_watchpoint): Include tests for watchpoints
created with a constant expression.

14 years ago2010-06-16 Doug Kwan <dougkwan@google.com>
Doug Kwan [Wed, 16 Jun 2010 18:19:18 +0000 (18:19 +0000)]
2010-06-16  Doug Kwan  <dougkwan@google.com>

* arm.cc (Target_arm::do_finalize_sections): Do not emit an
.ARM.attributes section if we have not merged any input
attributes sections.

14 years ago PR gas/11673
Nick Clifton [Wed, 16 Jun 2010 16:27:37 +0000 (16:27 +0000)]
    PR gas/11673
        * m68k-opc.c (m68k_opcodes): Remove move.l for isab and later.

        * gas/m68k/p11673.s: New test.
        * gas/m68k/all.exp: Run the new test.

14 years ago2010-06-16 Vincent Rivire <vincent.riviere@freesbee.fr>
Nick Clifton [Wed, 16 Jun 2010 15:12:51 +0000 (15:12 +0000)]
2010-06-16  Vincent Rivire  <vincent.riviere@freesbee.fr>

        PR binutils/11676
        * m68k-dis.c (print_insn_arg): Prefix float constants with #0e.

2010-06-16  Nick Clifton  <nickc@redhat.com>

        PR binutils/11676
        * gas/m68k/pr11676.s: New test.
        * gas/m68k/pr11676.d: Expected disassembly.
        * gas/m68k/all.exp: Run the new test.

14 years ago * gmon_io.c (gmon_out_read): Remove double fclose of input file.
Nick Clifton [Wed, 16 Jun 2010 08:04:21 +0000 (08:04 +0000)]
    * gmon_io.c (gmon_out_read): Remove double fclose of input file.

14 years agobfd:
Joseph Myers [Wed, 16 Jun 2010 00:36:04 +0000 (00:36 +0000)]
bfd:
* elf-bfd.h (LEAST_KNOWN_OBJ_ATTRIBUTE): Decrease to 2.
* elf32-tic6x.c (elf32_tic6x_obj_attrs_arg_type,
elf32_tic6x_merge_arch_attributes, elf32_tic6x_merge_attributes,
elf32_tic6x_merge_private_bfd_data): New.
(bfd_elf32_bfd_merge_private_bfd_data,
elf_backend_obj_attrs_arg_type, elf_backend_obj_attrs_section,
elf_backend_obj_attrs_section_type, elf_backend_obj_attrs_vendor):
Define.
* elf32-tic6x.h (elf32_tic6x_merge_arch_attributes): Declare.

binutils:
* readelf.c (display_tic6x_attribute, process_tic6x_specific):
New.
(process_arch_specific): Call process_tic6x_specific for
EM_TI_C6000.

gas:
* config/tc-tic6x.c: Include elf/tic6x.h.
(tic6x_arch_attribute, tic6x_seen_insns): New.
(tic6x_arch_table, tic6x_arches): Add attribute values.
(tic6x_use_arch): Handle attribute settings.
(tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
tic6x_attribute_table, tic6x_attributes,
tic6x_convert_symbolic_attribute): New.
(md_pseudo_table): Add c6xabi_attribute.
(md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
(tic6x_set_attribute_int, tic6x_set_attributes): New.
(tic6x_end): Call tic6x_set_attributes.
* config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
(tic6x_convert_symbolic_attribute): Declare.

gas/testsuite:
* gas/elf/elf.exp: Set target_machine for tic6x-*-*.
* gas/elf/section2.e-tic6x, gas/tic6x/attr-arch-directive-1.d,
gas/tic6x/attr-arch-directive-1.s,
gas/tic6x/attr-arch-directive-2.d,
gas/tic6x/attr-arch-directive-2.s,
gas/tic6x/attr-arch-directive-3.d,
gas/tic6x/attr-arch-directive-3.s,
gas/tic6x/attr-arch-directive-4.d,
gas/tic6x/attr-arch-directive-4.s,
gas/tic6x/attr-arch-directive-5.d,
gas/tic6x/attr-arch-directive-5.s,
gas/tic6x/attr-arch-opts-c62x.d, gas/tic6x/attr-arch-opts-c64x+.d,
gas/tic6x/attr-arch-opts-c64x.d, gas/tic6x/attr-arch-opts-c674x.d,
gas/tic6x/attr-arch-opts-c67x+.d, gas/tic6x/attr-arch-opts-c67x.d,
gas/tic6x/attr-arch-opts-none-1.d,
gas/tic6x/attr-arch-opts-none-2.d,
gas/tic6x/attr-arch-opts-override-1.d,
gas/tic6x/attr-arch-opts-override-2.d, gas/tic6x/empty.s: New.

include/elf:
* tic6x-attrs.h: New.
* tic6x.h: Include elf/tic6x-attrs.h for attribute table.
(C6XABI_Tag_CPU_arch_none, C6XABI_Tag_CPU_arch_C62X,
C6XABI_Tag_CPU_arch_C67X, C6XABI_Tag_CPU_arch_C67XP,
C6XABI_Tag_CPU_arch_C64X, C6XABI_Tag_CPU_arch_C64XP,
C6XABI_Tag_CPU_arch_C674X): Define.

ld:
* emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Define.

ld/testsuite:
* ld-elf/orphan3.d: Allow section names starting '_'.
* ld-tic6x/attr-arch-c62x-c62x.d, ld-tic6x/attr-arch-c62x-c64x+.d,
ld-tic6x/attr-arch-c62x-c64x.d, ld-tic6x/attr-arch-c62x-c674x.d,
ld-tic6x/attr-arch-c62x-c67x+.d, ld-tic6x/attr-arch-c62x-c67x.d,
ld-tic6x/attr-arch-c62x.s, ld-tic6x/attr-arch-c64x+-c62x.d,
ld-tic6x/attr-arch-c64x+-c64x+.d, ld-tic6x/attr-arch-c64x+-c64x.d,
ld-tic6x/attr-arch-c64x+-c674x.d,
ld-tic6x/attr-arch-c64x+-c67x+.d, ld-tic6x/attr-arch-c64x+-c67x.d,
ld-tic6x/attr-arch-c64x+.s, ld-tic6x/attr-arch-c64x-c62x.d,
ld-tic6x/attr-arch-c64x-c64x+.d, ld-tic6x/attr-arch-c64x-c64x.d,
ld-tic6x/attr-arch-c64x-c674x.d, ld-tic6x/attr-arch-c64x-c67x+.d,
ld-tic6x/attr-arch-c64x-c67x.d, ld-tic6x/attr-arch-c64x.s,
ld-tic6x/attr-arch-c674x-c62x.d, ld-tic6x/attr-arch-c674x-c64x+.d,
ld-tic6x/attr-arch-c674x-c64x.d, ld-tic6x/attr-arch-c674x-c674x.d,
ld-tic6x/attr-arch-c674x-c67x+.d, ld-tic6x/attr-arch-c674x-c67x.d,
ld-tic6x/attr-arch-c674x.s, ld-tic6x/attr-arch-c67x+-c62x.d,
ld-tic6x/attr-arch-c67x+-c64x+.d, ld-tic6x/attr-arch-c67x+-c64x.d,
ld-tic6x/attr-arch-c67x+-c674x.d,
ld-tic6x/attr-arch-c67x+-c67x+.d, ld-tic6x/attr-arch-c67x+-c67x.d,
ld-tic6x/attr-arch-c67x+.s, ld-tic6x/attr-arch-c67x-c62x.d,
ld-tic6x/attr-arch-c67x-c64x+.d, ld-tic6x/attr-arch-c67x-c64x.d,
ld-tic6x/attr-arch-c67x-c674x.d, ld-tic6x/attr-arch-c67x-c67x+.d,
ld-tic6x/attr-arch-c67x-c67x.d, ld-tic6x/attr-arch-c67x.s: New.

14 years ago*** empty log message ***
gdbadmin [Wed, 16 Jun 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Wed, 16 Jun 2010 00:00:06 +0000 (00:00 +0000)]
daily update

14 years ago2010-06-15 Viktor Kutuzov <vkutuzov@accesssoftek.com>
Doug Kwan [Tue, 15 Jun 2010 23:51:51 +0000 (23:51 +0000)]
2010-06-15  Viktor Kutuzov  <vkutuzov@accesssoftek.com>

        * arm.cc: Allow combining objects with no EABI version
        information.

14 years ago * elf-bfd.h (LEAST_KNOWN_OBJ_ATTRIBUTE): Define.
Joseph Myers [Tue, 15 Jun 2010 23:10:10 +0000 (23:10 +0000)]
* elf-bfd.h (LEAST_KNOWN_OBJ_ATTRIBUTE): Define.
(struct elf_backend_data): Update comment on obj_attrs_order.
* elf-attrs.c (vendor_obj_attr_size, vendor_set_obj_attr_contents,
_bfd_elf_copy_obj_attributes): Use LEAST_KNOWN_OBJ_ATTRIBUTE
instead of hardcoded 4.
* elf32-arm.c (elf32_arm_obj_attrs_order): Use
LEAST_KNOWN_OBJ_ATTRIBUTE and LEAST_KNOWN_OBJ_ATTRIBUTE + 1
instead of hardcoded 4 and 5.
(elf32_arm_merge_eabi_attributes): Use LEAST_KNOWN_OBJ_ATTRIBUTE
instead of hardcoded 4.

14 years ago2010-06-15 Rafael Espindola <espindola@google.com>
Rafael Ávila de Espíndola [Tue, 15 Jun 2010 19:22:25 +0000 (19:22 +0000)]
2010-06-15  Rafael Espindola  <espindola@google.com>

* plugin.cc (Plugin_hook::run): Set in_real_elf for the start symbol.

14 years ago* configure.ac: Check for RDYNAMIC also for cross builds.
Andreas Schwab [Tue, 15 Jun 2010 18:37:18 +0000 (18:37 +0000)]
* configure.ac: Check for RDYNAMIC also for cross builds.
* configure: Regenerate.

14 years ago * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o.
Pedro Alves [Tue, 15 Jun 2010 17:57:38 +0000 (17:57 +0000)]
* Makefile.in (ALL_TARGET_OBS): Remove solib-target.o.
(SFILES): Remove solib-null.c, add solib-target.c.
(COMMON_OBS): Remove solib-null.o, add solib-target.o.
(ALLDEPFILES): Remove solib-target.c.
* solib-target.c (_initialize_solib_target): Set
current_target_so_ops to solib_target_so_ops if not already set.
* solib-null.c: Delete.

14 years ago * fileread.cc: Only #include <sys/uio.h> if HAVE_READV.
Ian Lance Taylor [Tue, 15 Jun 2010 16:54:26 +0000 (16:54 +0000)]
* fileread.cc: Only #include <sys/uio.h> if HAVE_READV.
(struct iovec): Correct !HAVE_READV definition.

14 years ago * linux-x86-low.c (amd64_emit_const, amd64_emit_void_call_2)
Pedro Alves [Tue, 15 Jun 2010 10:44:48 +0000 (10:44 +0000)]
* linux-x86-low.c (amd64_emit_const, amd64_emit_void_call_2)
(i386_emit_const, i386_emit_void_call_2): Replace int64_t uses with
LONGEST uses.
* server.h (struct emit_ops): Replace int64_t uses with LONGEST
uses.
* tracepoint.c (emit_const, emit_void_call_2): Replace int64_t
uses with LONGEST uses.

14 years agodaily update
Alan Modra [Tue, 15 Jun 2010 00:00:05 +0000 (00:00 +0000)]
daily update

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

14 years agogdb/
Pedro Alves [Mon, 14 Jun 2010 22:16:09 +0000 (22:16 +0000)]
gdb/
2010-06-14  Pedro Alves  <pedro@codesourcery.com>

* NEWS: Mention GDBserver's JIT compilation of tracepoint
bytecode.

gdb/gdbserver/
2010-06-14  Stan Shebs  <stan@codesourcery.com>
    Pedro Alves  <pedro@codesourcery.com>

Bytecode compiler.

* linux-x86-low.c: Include limits.h.
(add_insns): New.
(always_true): New.
(EMIT_ASM): New.
(EMIT_ASM32): New.
(amd64_emit_prologue, amd64_emit_epilogue, amd64_emit_add)
(amd64_emit_sub, amd64_emit_mul, amd64_emit_lsh)
(amd64_emit_rsh_signed, amd64_emit_rsh_unsigned, amd64_emit_ext,
(amd64_emit_log_not, amd64_emit_bit_and, amd64_emit_bit_or)
(amd64_emit_bit_xor, amd64_emit_bit_not, amd64_emit_equal,
(amd64_emit_less_signed, amd64_emit_less_unsigned, amd64_emit_ref,
(amd64_emit_if_goto, amd64_emit_goto, amd64_write_goto_address)
(amd64_emit_const, amd64_emit_call, amd64_emit_reg)
(amd64_emit_pop, amd64_emit_stack_flush, amd64_emit_zero_ext)
(amd64_emit_swap, amd64_emit_stack_adjust, amd64_emit_int_call_1)
(amd64_emit_void_call_2): New.
(amd64_emit_ops): New.
(i386_emit_prologue, i386_emit_epilogue, i386_emit_add)
(i386_emit_sub,i386_emit_mul, i386_emit_lsh, i386_emit_rsh_signed)
(i386_emit_rsh_unsigned, i386_emit_ext, i386_emit_log_not)
(i386_emit_bit_and, i386_emit_bit_or, i386_emit_bit_xor)
(i386_emit_bit_not, i386_emit_equal, i386_emit_less_signed)
(i386_emit_less_unsigned, i386_emit_ref, i386_emit_if_goto)
(i386_emit_goto, i386_write_goto_address, i386_emit_const)
(i386_emit_call, i386_emit_reg, i386_emit_pop)
(i386_emit_stack_flush, i386_emit_zero_ext, i386_emit_swap)
(i386_emit_stack_adjust, i386_emit_int_call_1)
(i386_emit_void_call_2): New.
(i386_emit_ops): New.
(x86_emit_ops): New.
(the_low_target): Install x86_emit_ops.
* server.h (struct emit_ops): New.
(get_raw_reg_func_addr): Declare.
(current_insn_ptr, emit_error): Declare.
* tracepoint.c (get_raw_reg, get_trace_state_variable_value)
(set_trace_state_variable_value): New defines.
(struct ipa_sym_addresses): New fields addr_get_raw_reg,
addr_get_trace_state_variable_value and
addr_set_trace_state_variable_value.
(symbol_list): New fields for get_raw_reg,
get_trace_state_variable_value and set_trace_state_variable_value.
(condfn): New typedef.
(struct tracepoint): New field `compiled_cond'.
(do_action_at_tracepoint): Clear compiled_cond.
(get_trace_state_variable_value, set_trace_state_variable_value):
Export in the IPA.
(condition_true_at_tracepoint): If there's a compiled condition,
run that.
(current_insn_ptr, emit_error): New globals.
(struct bytecode_address): New.
(get_raw_reg_func_addr): New.
(emit_prologue, emit_epilogue, emit_add, emit_sub, emit_mul)
(emit_lsh, emit_rsh_signed, emit_rsh_unsigned, emit_ext)
(emit_log_not, emit_bit_and, emit_bit_or, emit_bit_xor)
(emit_bit_not, emit_equal, emit_less_signed, emit_less_unsigned)
(emit_ref, emit_if_goto, emit_goto, write_goto_address, emit_const)
(emit_reg, emit_pop, emit_stack_flush, emit_zero_ext, emit_swap)
(emit_stack_adjust, emit_int_call_1, emit_void_call_2): New.
(compile_tracepoint_condition, compile_bytecodes): New.
* target.h (emit_ops): Forward declare.
(struct target_ops): New field emit_ops.
(target_emit_ops): New.
* linux-amd64-ipa.c (gdb_agent_get_raw_reg): New.
* linux-i386-ipa.c (gdb_agent_get_raw_reg): New.
* linux-low.c (linux_emit_ops): New.
(linux_target_ops): Install it.
* linux-low.h (struct linux_target_ops): New field emit_ops.

14 years agomerge from gcc
DJ Delorie [Mon, 14 Jun 2010 19:23:23 +0000 (19:23 +0000)]
merge from gcc

14 years agoExamine instruction at label `start' instead of `_start'.
Kevin Buettner [Mon, 14 Jun 2010 19:21:11 +0000 (19:21 +0000)]
Examine instruction at label `start' instead of `_start'.

14 years ago * elf32-h8300.c (elf_symbol_leading_char): Define.
Kevin Buettner [Mon, 14 Jun 2010 18:43:46 +0000 (18:43 +0000)]
* elf32-h8300.c (elf_symbol_leading_char): Define.

14 years ago * cp-valprint.c (cp_print_static_field): Members of
Ulrich Weigand [Mon, 14 Jun 2010 16:09:58 +0000 (16:09 +0000)]
* cp-valprint.c (cp_print_static_field): Members of
dont_print_stat_array_obstack are of type "struct type *".
(_initialize_cp_valprint): Likewise.

14 years ago * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
Ulrich Weigand [Mon, 14 Jun 2010 15:45:33 +0000 (15:45 +0000)]
* gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
not supported on the target.
* gdb.mi/mi-nonstop-exit.exp: Likewise.
* gdb.mi/mi-ns-stale-regcache.exp: Likewise.
* gdb.mi/mi-nsintrall.exp: Likewise.
* gdb.mi/mi-nsmoribund.exp: Likewise.
* gdb.mi/mi-nsthrexec.exp: Likewise.

14 years agogas/
Alan Modra [Mon, 14 Jun 2010 14:48:05 +0000 (14:48 +0000)]
gas/
* config/tc-ppc.c (md_assemble): Emit APUinfo section for
PPC_OPCODE_E500.
gas/testsuite/
* gas/ppc/e500.s: Add eieio, mbar and lwsync
* gas/ppc/e500.d: Likewise.
include/opcode/
* ppc.h (PPC_OPCODE_E500): Define.
opcodes/
* ppc-dis.c (ppc_opts):  Remove PPC_OPCODE_E500MC from e500 and
e500x2. Add PPC_OPCODE_E500 to e500 and e500x2
* ppc-opc.c (powerpc_opcodes): Deprecate all opcodes on EFS which
touch floating point regs and are enabled by COM, PPC or PPCCOM.
Treat sync as msync on e500.  Treat eieio as mbar 1 on e500.
Treat lwsync as msync on e500.

14 years ago * linux-ppc-low.c (ppc_arch_setup): Use private regcache to test MSR.
Ulrich Weigand [Mon, 14 Jun 2010 13:53:04 +0000 (13:53 +0000)]
* linux-ppc-low.c (ppc_arch_setup): Use private regcache to test MSR.
* linux-s390-low.c (ppc_arch_setup): Use private regcache to test PSW.

14 years ago * frame.c (frame_register_unwind): Do not access contents
Ulrich Weigand [Mon, 14 Jun 2010 12:10:56 +0000 (12:10 +0000)]
* frame.c (frame_register_unwind): Do not access contents
of "optimized out" unwound register value.

14 years agogdb/
Jan Kratochvil [Mon, 14 Jun 2010 08:26:57 +0000 (08:26 +0000)]
gdb/
* ada-lang.h (ada_print_type): Make varstring const.
* ada-typeprint.c (print_func_type): Make name const.
(ada_print_type): Make varstring const.
* c-lang.h (c_print_type): Make varstring const.
* c-typeprint.c (c_print_type): Likewise.
* f-lang.h (f_print_type): Likewise.
* f-typeprint.c (f_print_type): Likewise.
* jv-lang.h (java_print_type): Likewise.
* jv-typeprint.c (java_print_type): Likewise.
* language.c (unk_lang_print_type): Likewise.
* language.h (struct language_defn) <la_print_type>: Likewise.
* m2-lang.h (m2_print_type): Likewise.
* m2-typeprint.c (m2_print_type): Likewise.
* p-lang.h (pascal_print_type): Likewise.
* p-typeprint.c (pascal_print_type): Likewise.

14 years agodaily update
Alan Modra [Mon, 14 Jun 2010 00:00:10 +0000 (00:00 +0000)]
daily update

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

14 years ago*** empty log message ***
gdbadmin [Sun, 13 Jun 2010 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Sun, 13 Jun 2010 00:00:07 +0000 (00:00 +0000)]
daily update

14 years ago2010-06-11 Stan Shebs <stan@codesourcery.com>
Stan Shebs [Sat, 12 Jun 2010 00:05:22 +0000 (00:05 +0000)]
2010-06-11  Stan Shebs  <stan@codesourcery.com>

Add per-operation permission flags.

* target.h (struct target_ops): New method to_set_permissions.
(target_set_permissions): New macro.
(target_insert_breakpoint): Change macro to function.
(target_remove_breakpoint): Ditto.
(target_stop): Ditto.
(may_write_registers): Declare.
(may_write_memory): Declare.
(may_insert_breakpoints): Declare.
(may_insert_tracepoints): Declare.
(may_insert_fast_tracepoints): Declare.
(may_stop): Declare.
* target.c (may_write_registers, may_write_registers_1): New globals.
(may_write_memory, may_write_memory_1): New globals.
(may_insert_breakpoints, may_insert_breakpoints_1): New globals.
(may_insert_tracepoints, may_insert_tracepoints_1): New globals.
(may_insert_fast_tracepoints, may_insert_fast_tracepoints_1): New
globals.
(may_stop, may_stop_1): New global.
(target_xfer_partial): Test for write permission.
(target_store_registers): Ditto.
(target_insert_breakpoint): New function.
(target_remove_breakpoint): New function.
(target_stop): New function.
(_initialize_targets): Add new set/show variables.
(set_write_memory_permission): New function.
(update_target_permissions): New function.
(set_target_permissions): New function.
(update_current_target): Default to_set_permissions.
(_initialize_targets): Use new globals and setter function.
* tracepoint.c (start_tracing): Test for permission.
* inferior.h (update_observer_mode): Declare.
* infrun.c (non_stop_1): Define earlier.
(observer_mode, observer_mode_1): New globals.
(set_observer_mode, show_observer_mode): New functions.
(update_observer_mode): New function.
(_initialize_infrun): Define "set observer" command.
* remote.c (PACKET_QAllow): New optional packet.
(remote_protocol_features): Add QAllow.
(remote_set_permissions): New function.
(remote_start_remote): Call it.
(init_remote_ops): Add it to target vector.
(_initialize_remote): Add config command for QAllow.

* gdb.texinfo (Observer Mode): New section.
(General Query Packets): Document QAllow.

* gdb.base/permissions.exp: New file.

14 years ago*** empty log message ***
gdbadmin [Sat, 12 Jun 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Sat, 12 Jun 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
Ulrich Weigand [Fri, 11 Jun 2010 23:27:22 +0000 (23:27 +0000)]
* gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
does not support ELF executable class.

14 years ago * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
Ulrich Weigand [Fri, 11 Jun 2010 23:25:59 +0000 (23:25 +0000)]
* gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.

14 years agogdb/testsuite/
Jan Kratochvil [Fri, 11 Jun 2010 21:58:20 +0000 (21:58 +0000)]
gdb/testsuite/
* lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
(runto): Catch "The target does not support running in non-stop mode.".

14 years agobfd/
Jan Kratochvil [Fri, 11 Jun 2010 21:12:11 +0000 (21:12 +0000)]
bfd/
* vms-alpha.c (_bfd_vms_write_egsd): Make sname const.

14 years ago2010-06-11 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Fri, 11 Jun 2010 20:56:06 +0000 (20:56 +0000)]
2010-06-11  Michael Snyder  <msnyder@vmware.com>

* gdb.base/setshow.exp (set language asm): Don't use
gdb_test_no_output, fails on some targets.

14 years ago * dwarf2read.c (dwarf2_add_member_fn): Handle correct form of
Tom Tromey [Fri, 11 Jun 2010 20:01:06 +0000 (20:01 +0000)]
* dwarf2read.c (dwarf2_add_member_fn): Handle correct form of
DW_AT_vtable_elem_location even when GCC extension is seen.

14 years agoCast to unsigned long for 0x%lx.
H.J. Lu [Fri, 11 Jun 2010 18:52:30 +0000 (18:52 +0000)]
Cast to unsigned long for 0x%lx.

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

* readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
for 0x%lx.

14 years ago * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
Ulrich Weigand [Fri, 11 Jun 2010 17:35:28 +0000 (17:35 +0000)]
* gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
* gdb.cp/pr9167.exp: Likewise.

14 years ago * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
Ulrich Weigand [Fri, 11 Jun 2010 17:34:56 +0000 (17:34 +0000)]
* gdb.python/py-breakpoint.exp: Handle software watchpoints as well.

14 years ago * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
Ulrich Weigand [Fri, 11 Jun 2010 17:34:12 +0000 (17:34 +0000)]
* gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.

14 years ago * gdb.base/charset.c (main): Make sure malloc gets linked in.
Ulrich Weigand [Fri, 11 Jun 2010 17:33:19 +0000 (17:33 +0000)]
* gdb.base/charset.c (main): Make sure malloc gets linked in.

14 years agoinclude/elf
Tristan Gingold [Fri, 11 Jun 2010 15:57:46 +0000 (15:57 +0000)]
include/elf
2010-06-11  Tristan Gingold  <gingold@adacore.com>

* ia64.h (EF_IA_64_VMS_COMCOD, EF_IA_64_VMS_COMCOD_SUCCESS)
(EF_IA_64_VMS_COMCOD_WARNING, EF_IA_64_VMS_COMCOD_ERROR)
(EF_IA_64_VMS_COMCOD_ABORT, EF_IA_64_VMS_LINKAGES): Define.
(VMS_LF_CALL_DEBUG, VMS_LF_NOP0BUFS, VMS_LF_P0IMAGE)
(VMS_LF_MKTHREADS, VMS_LF_UPCALLS, VMS_LF_IMGSTA)
(VMS_LF_INITIALIZE, VMS_LF_MAIN, VMS_LF_EXE_INIT)
(VMS_LF_TBK_IN_IMG, VMS_LF_DBG_IN_IMG, VMS_LF_TBK_IN_DSF)
(VMS_LF_DBG_IN_DSF, VMS_LF_SIGNATURES, VMS_LF_REL_SEG_OFF): Define.
(VMS_STO_VISIBILITY, VMS_ST_VISIBILITY, VMS_STO_FUNC_TYPE)
(VMS_ST_FUNC_TYPE, VMS_SFT_CODE_ADDR, VMS_SFT_SYMV_IDX)
(VMS_SFT_FD, VMS_SFT_RESERVE, VMS_STO_LINKAGE, VMS_ST_LINKAGE)
(VMS_STL_IGNORE, VMS_STL_RESERVE, VMS_STL_STD, VMS_STL_LNK): Define.
(Elf64_External_VMS_IMAGE_FIXUP): New declaration.
(Elf64_External_VMS_IMAGE_RELA): Ditto.
(R_IA64_VMS_DIR8, R_IA64_VMS_DIR16LSB, R_IA64_VMS_CALL_SIGNATURE)
(R_IA64_VMS_EXECLET_FUNC, R_IA64_VMS_EXECLET_DATA, R_IA64_VMS_FIX8)
(R_IA64_VMS_FIX16, R_IA64_VMS_FIX32, R_IA64_VMS_FIX64)
(R_IA64_VMS_FIXFD, R_IA64_VMS_ACC_LOAD, R_IA64_VMS_ACC_ADD)
(R_IA64_VMS_ACC_SUB, R_IA64_VMS_ACC_MUL, R_IA64_VMS_ACC_DIV)
(R_IA64_VMS_ACC_AND, R_IA64_VMS_ACC_IOR, R_IA64_VMS_ACC_EOR)
(R_IA64_VMS_ACC_ASH, R_IA64_VMS_ACC_STO8, R_IA64_VMS_ACC_STO16LSH)
(R_IA64_VMS_ACC_STO32LSH, R_IA64_VMS_ACC_STO64LSH): New.

binutils/
2010-06-11  Tristan Gingold  <gingold@adacore.com>
    Doug Rupp <rupp@gnat.com>

* readelf.c (is_ia64_vms): New function.
(dump_relocations): Use it.
(get_machine_flags): Display IA-64 OpenVMS flags.
(process_program_headers): No error on OpenVMS if no .dynamic section.
(struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
declarations.
(dump_ia64_vms_dynamic_fixups): New function.
(dump_ia64_vms_dynamic_relocs): Ditto.
(process_ia64_vms_dynamic_relocs): Ditto.
(process_relocs): Handle IA-64 OpenVMS relocs.
(VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
(print_vms_time): New function.
(dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
DT_IA_64_VMS_LNKFLAGS.
(get_ia64_symbol_other): New function.
(get_symbol_other): Handle EM_IA_64.

14 years agogdb
Tom Tromey [Fri, 11 Jun 2010 15:36:10 +0000 (15:36 +0000)]
gdb
PR gdb/9977, PR exp/11636:
* value.h (value_offset): Update.
(struct lval_funcs) <check_validity>: New field.
<copy_closure>: Make argument const.
(value_computed_closure): Update.
(value_contents_for_printing): Declare.
(value_bits_valid): Likewise.
(val_print): Likewise.
(set_value_component_location): Update.
(value_entirely_optimized_out): Declare.
* value.c (value_offset): Argument now const.
(require_not_optimized_out): New function.
(value_contents_for_printing): New function.
(value_contents_all): Call require_not_optimized_out.
(value_contents): Likewise.
(value_bits_valid): New function.
(value_computed_closure): Argument now const.
(set_value_component_location): Make 'whole' argument const.
(value_entirely_optimized_out): New function.
(value_bitsize): Argument now 'const'.
(value_bitpos): Likewise.
(value_type): Likewise.
* valprint.h (val_print_array_elements): Update.
* valprint.c (val_print): Add 'val' argument.  Use
valprint_check_validity.
(valprint_check_validity): New function.
(value_check_printable): Use value_entirely_optimized_out.
(common_val_print): Update.
(value_print): Likewise.
(val_print_array_elements): Add 'val' argument.
* valops.c (value_fetch_lazy): Use value_contents_for_printing,
value_bits_valid.  Reinit frame cache for lval_computed.
* sh64-tdep.c (sh64_do_register): Update.
* scm-valprint.c (scm_val_print): Add 'val' argument.
* scm-lang.h (scm_val_print): Update.
* python/python.h (apply_val_pretty_printer): Update.
* python/py-prettyprint.c (apply_val_pretty_printer): Add 'val'
argument.  Call set_value_component_location.
* printcmd.c (print_scalar_formatted): Update.
* p-valprint.c (pascal_val_print): Add 'val' argument.
(pascal_object_print_value_fields): Likewise.
(pascal_object_print_value): Likewise.
(pascal_object_print_static_field): Update.
* p-lang.h (pascal_val_print): Update.
(pascal_object_print_value_fields): Update.
* mt-tdep.c (mt_registers_info): Update.
* mi/mi-main.c (get_register): Update.
(mi_cmd_data_evaluate_expression): Use common_val_print.
* m2-valprint.c (m2_print_array_contents): Add 'val' argument.
(m2_print_unbounded_array): Likewise.
(m2_val_print): Likewise.
* m2-lang.h (m2_val_print): Update.
* language.h (struct language_defn) <la_val_print>: Add 'val'
argument.
(LA_VAL_PRINT): Likewise.
* language.c (unk_lang_val_print): Add 'val' argument.
* jv-valprint.c (java_print_value_fields): Add 'val' argument.
(java_val_print): Likewise.
* jv-lang.h (java_val_print): Add 'val' argument.
* infcmd.c (default_print_registers_info): Update.
* f-valprint.c (f77_print_array_1): Add 'val' argument.
(f77_print_array): Likewise.
(f_val_print): Likewise.
* f-lang.h (f_val_print): Add 'val' argument.
* dwarf2loc.c (read_pieced_value): Use value_bitsize and
value_bitpos.
<DWARF_VALUE_OPTIMIZED_OUT>: Don't print warning.  Call
set_value_optimized_out.
(write_pieced_value): Use value_bitsize and value_bitpos.
<default>: Don't exit loop.
(check_pieced_value_validity): New function.
(pieced_value_funcs): Reference check_pieced_value_validity,
check_pieced_value_invalid.
(copy_pieced_value_closure): Update.
(check_pieced_value_bits): New function.
(check_pieced_value_invalid): New function.
* d-valprint.c (dynamic_array_type): Add 'val' argument.
(d_val_print): Likewise.
* d-lang.h (d_val_print): Update.
* cp-valprint.c (cp_print_value_fields): Add 'val' argument.
(cp_print_value_fields_rtti): Likewise.
(cp_print_value): Likewise.
(cp_print_static_field): Update.
* c-valprint.c (c_val_print): Add 'val' argument.
(c_value_print): Update.
* c-lang.h (c_val_print): Update.
(cp_print_value_fields): Likewise.
(cp_print_value_fields_rtti): Likewise.
* ada-valprint.c (struct ada_val_print_args): Remove.
(val_print_packed_array_elements): Add 'val' argument.
(ada_val_print): Likewise.  Rewrite.
(ada_val_print_stub): Remove.
(ada_val_print_array): Add 'val' argument.
(ada_val_print_1): Likewise.
(print_variant_part): Likewise.
(ada_value_print): Update.
(print_record): Add 'val' argument.
(print_field_values): Likewise.
* ada-lang.h (ada_val_print): Update.
gdb/testsuite
PR gdb/9977, PR exp/11636::
* gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
(pieces_test_f6): Update expected output.

14 years ago2010-06-11 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Fri, 11 Jun 2010 15:30:38 +0000 (15:30 +0000)]
2010-06-11  Tristan Gingold  <gingold@adacore.com>

* vms-alpha.c (_bfd_vms_slurp_egsd): Always set vma of absolute
sections to 0.

14 years ago2010-06-11 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Fri, 11 Jun 2010 15:21:15 +0000 (15:21 +0000)]
2010-06-11  Tristan Gingold  <gingold@adacore.com>

* vms-alpha.c (evax_bfd_print_etir): Handle ETIR__C_STO_GBL_LW.

14 years ago * vec.h (VEC_cleanup): New macro.
Tom Tromey [Fri, 11 Jun 2010 15:21:11 +0000 (15:21 +0000)]
* vec.h (VEC_cleanup): New macro.
(DEF_VEC_ALLOC_FUNC_I): Update.
(DEF_VEC_ALLOC_FUNC_P): Likewise.
(DEF_VEC_ALLOC_FUNC_O): Likewise.
* dwarf2loc.c (struct axs_var_loc): Remove.
(unimplemented): New function.
(translate_register): Likewise.
(access_memory): Likewise.
(compile_dwarf_to_ax): Likewise.
(dwarf2_tracepoint_var_loc): Remove.
(dwarf2_tracepoint_var_access): Likewise.
(dwarf2_tracepoint_var_ref): Likewise.
(locexpr_tracepoint_var_ref): Use compile_dwarf_to_ax.
(loclist_tracepoint_var_ref): Likewise.
* dwarf2expr.h (dwarf_expr_require_composition): Declare.
* dwarf2expr.c (dwarf_expr_require_composition): Rename from
require_composition.  No longer static.
(execute_stack_op): Update.
* ax-gdb.h (trace_kludge): Declare.

14 years ago2010-06-11 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Fri, 11 Jun 2010 15:13:32 +0000 (15:13 +0000)]
2010-06-11  Tristan Gingold  <gingold@adacore.com>

* vms-misc.c (_bfd_vms_output_counted): Make VALUE argument const.
Adjust cast.
(_bfd_vms_output_dump): Make DATA argument const, adjust cast.
* vms.h (_bfd_vms_output_counted, _bfd_vms_output_dump): Adjust.
* vms-alpha.c (evax_section_flags): Make it const.
(vms_secflag_by_name): Remove unused ABFD argument.
Make SECTION_FLAGS and NAME arguments const. Clarify comment.
(vms_esecflag_by_name): Make SECTION_FLAGS and NAME arguments const.
(_bfd_vms_slurp_egsd): Adjust call to vms_secflag_by_name.
(_bfd_vms_write_egsd): Remove useless cast.

14 years agogas/
Jan Beulich [Fri, 11 Jun 2010 15:07:53 +0000 (15:07 +0000)]
gas/
2010-06-11  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (md_parse_option): Ignore impossible processor
types.
(show_arch): New parameter 'check'.
(md_show_usage): Adjust calls to show_arch().

14 years agogdb/
Jan Kratochvil [Fri, 11 Jun 2010 12:58:54 +0000 (12:58 +0000)]
gdb/
* breakpoint.c (breakpoint_restore_shadows): New OWNER comment.
(should_be_inserted): Return zero also on NULL OWNER.
(breakpoint_program_space_exit): New OWNER comment.
(insert_breakpoint_locations): Extend comment for OWNER.
(remove_breakpoint_1, remove_breakpoint): Assert on OWNER.
(breakpoint_init_inferior, breakpoint_here_p, breakpoint_thread_match):
New OWNER comment.
(print_it_typical): Return PRINT_UNKNOWN on NULL OWNER.
(watchpoint_check): New assert on BREAKPOINT_AT and OWNER.
(bpstat_check_location): New assert on OWNER.
(bpstat_check_watchpoint, bpstat_check_breakpoint_conditions): Move BL
and B initializations to the code block.  New assert on them.
(print_one_breakpoint_location): New OWNER comment.
(watchpoint_locations_match): Assert on OWNER.
(breakpoint_locations_match): Move HW_POINT1 and HW_POINT2
initializations to the code block.  New assert on OWNER.
(set_breakpoint_location_function): New assert on OWNER.
(disable_breakpoints_in_shlibs, disable_breakpoints_in_unloaded_shlib)
(bp_location_compare, update_global_location_list)
(update_global_location_list): New OWNER comment.

gdb/testsuite/
* gdb.base/moribund-step.exp: New.

14 years ago * Makefile.in (HFILES_NO_SRCDIR): Remove config/i386/nm-linux.h
Ulrich Weigand [Fri, 11 Jun 2010 12:44:15 +0000 (12:44 +0000)]
* Makefile.in (HFILES_NO_SRCDIR): Remove config/i386/nm-linux.h

14 years ago * config/nm-linux.h (struct target_ops): Remove forward declaration.
Ulrich Weigand [Fri, 11 Jun 2010 12:10:13 +0000 (12:10 +0000)]
* config/nm-linux.h (struct target_ops): Remove forward declaration.
(lin_thread_get_thread_signals): Remove prototype.
(GET_THREAD_SIGNALS): Remove.
* linux-nat.h (lin_thread_get_thread_signals): Add prototype.
* linux-thread-db.c (check_thread_signals): Directly call
lin_thread_get_thread_signals; do not check GET_THREAD_SIGNALS.

14 years ago * gregset.h (GDB_FPXREGSET_T): Remove.
Ulrich Weigand [Fri, 11 Jun 2010 12:08:51 +0000 (12:08 +0000)]
* gregset.h (GDB_FPXREGSET_T): Remove.
(gdb_fpxregset_t): Likewise.
(supply_fpxregset): Remove prototype.
(fill_fpxregset): Likewise.
* i386-linux-nat.c (supply_fpxregset): Remove.
(fill_fpxregset): Likewise.
(fetch_fpxregs): Inline supply_fpxregset call.
(store_fpxregs): Inline fill_fpxregset call.

* config/i386/linux.mh: Set NAT_FILE to config/nm-linux.h.
* config/i386/nm-linux.h: Remove file.

14 years ago2010-06-11 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Fri, 11 Jun 2010 09:04:39 +0000 (09:04 +0000)]
2010-06-11  Tristan Gingold  <gingold@adacore.com>

* unwind-ia64.c (unw_print_abreg): Add const to special_reg.
(UNW_DEC_ABI): Ditto for abiname.
(unw_decode_table): Make it const.

14 years agodaily update
Alan Modra [Fri, 11 Jun 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Fri, 11 Jun 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago2010-06-08 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Thu, 10 Jun 2010 19:48:20 +0000 (19:48 +0000)]
2010-06-08  Michael Snyder  <msnyder@vmware.com>

* gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
* gdb.ada/boolean_expr.exp:
* gdb.ada/frame_args.exp: Ditto.
* gdb.ada/lang_switch.exp: Ditto.
* gdb.ada/ptype_arith_binop.exp: Ditto.
* gdb.ada/ref_param.exp: Ditto.
* gdb.ada/type_coercion.exp:Ditto.

* gdb.asm/asm-source.exp: Ditto.

* gdb.base/attach.exp: Ditto.
* gdb.base/bitfields2.exp: Ditto.
* gdb.base/call-signal-resume.exp: Ditto.
* gdb.base/callfuncs.exp: Ditto.
* gdb.base/commands.exp: Ditto.
* gdb.base/dbx.exp: Ditto.
* gdb.base/default.exp: Ditto.
* gdb.base/dump.exp: Ditto.
* gdb.base/exprs.exp: Ditto.
* gdb.base/freebpcmd.exp: Ditto.
* gdb.base/interrupt.exp: Ditto.
* gdb.base/list.exp: Ditto.
* gdb.base/long_long.exp: Ditto.
* gdb.base/maint.exp: Ditto.
* gdb.base/ptype.exp: Ditto.
* gdb.base/return.exp: Ditto.
* gdb.base/setshow.exp: Ditto.
* gdb.base/sigbpt.exp: Ditto.
* gdb.base/sigrepeat.exp: Ditto.

* gdb.cp/classes.exp: Ditto.

* gdb.dwarf2/dw2-restore.exp: Ditto.

* gdb.gdb/selftest.exp: Ditto.

* gdb.multi/base.exp: Ditto.
* gdb.multi/bkpt-multi-exec.exp: Ditto.

* gdb.python/py-block.exp: Ditto.
* gdb.python/py-prettyprint.exp: Ditto.
* gdb.python/py-template.exp: Ditto.

* gdb.server/ext-attach.exp: Ditto.
* gdb.server/ext-run.exp: Ditto.
* gdb.server/server-mon.exp: Ditto.

* gdb.threads/fork-thread-pending.exp: Ditto.
* gdb.threads/hand-call-in-threads.exp: Ditto.
* gdb.threads/interrupted-hand-call.exp: Ditto.
* gdb.threads/linux-dp.exp: Ditto.
* gdb.threads/manythreads.exp: Ditto.
* gdb.threads/print-threads.exp: Ditto.
* gdb.threads/pthreads.exp: Ditto.
* gdb.threads/schedlock.exp: Ditto.
* gdb.threads/thread-unwindonsignal.exp: Ditto.
* gdb.threads/threadapply.exp: Ditto.

14 years agomerge from gcc
DJ Delorie [Thu, 10 Jun 2010 18:30:24 +0000 (18:30 +0000)]
merge from gcc

14 years ago * object.cc (Sized_relobj::do_layout): Defer layout for reloc sections.
Cary Coutant [Thu, 10 Jun 2010 17:20:27 +0000 (17:20 +0000)]
* object.cc (Sized_relobj::do_layout): Defer layout for reloc sections.
(Sized_relobj::do_layout_deferred_sections): Do layout for deferred
reloc sections.
* object.h (Sized_relobj::deferred_layout_relocs_): New data member.

PR 11683
* symtab.h (Symbol::is_placeholder): New member function.
* target-reloc.h (relocate_section): Check for placeholder symbols.

* testsuite/Makefile.am (plugin_test_8): New test.
(plugin_test_9): New test.
* testsuite/Makefile.in: Regenerate.

14 years ago* Makefile.def (configure-gcc): Depend on all-libelf.
Alexandre Oliva [Thu, 10 Jun 2010 17:04:13 +0000 (17:04 +0000)]
* Makefile.def (configure-gcc): Depend on all-libelf.
* Makefile.in: Rebuild.

14 years agoStop if -march=XXX is invalid.
H.J. Lu [Thu, 10 Jun 2010 16:38:17 +0000 (16:38 +0000)]
Stop if -march=XXX is invalid.

2010-06-10  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (update_code_flag): New.
(set_code_flag): Use it.
(i386_target_format): Replace set_code_flag with update_code_flag.

14 years ago2010-06-10 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 10 Jun 2010 16:09:45 +0000 (16:09 +0000)]
2010-06-10  Paolo Bonzini  <bonzini@gnu.org>

* override.m4: Remove obsolete (<2.64) definitions.

14 years agosync changelog with gcc, plus commit the following patch:
Paolo Bonzini [Thu, 10 Jun 2010 16:01:32 +0000 (16:01 +0000)]
sync changelog with gcc, plus commit the following patch:

2010-06-09  Iain Sandoe  <iains@gcc.gnu.org>

PR bootstrap/43170
* tls.m4 (GCC_CHECK_TLS): Add volatile qualifier to the test
references.  Move the main () test reference ahead of
pthread_create().  Add a comment to explain the requirements
of the test.

14 years ago PR other/43838
Jakub Jelinek [Thu, 10 Jun 2010 15:42:01 +0000 (15:42 +0000)]
PR other/43838
* cp-demangle.c (struct d_print_info): Add flush_count field.
(d_print_init): Initialize it to 0.
(d_print_flush): Increment it.
(d_print_comp): If needed flush before appending ", ".  Only
decrement dpi->len if no flushes happened during the recursive
call.
* testsuite/demangle-expected: Add a test for this.

14 years ago2010-06-10 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 10 Jun 2010 11:50:38 +0000 (11:50 +0000)]
2010-06-10  Tristan Gingold  <gingold@adacore.com>

* readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
not inplace.

14 years ago2010-06-10 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 10 Jun 2010 09:02:23 +0000 (09:02 +0000)]
2010-06-10  Tristan Gingold  <gingold@adacore.com>

* config.bfd: Remove #if/#endif so that som can be compiled on any
host.
* targets.c (_bfd_target_vector): Remove #if/#endif so that som
can be used on any host.