external/binutils.git
14 years ago2010-05-14 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Fri, 14 May 2010 17:53:16 +0000 (17:53 +0000)]
2010-05-14  Michael Snyder  <msnyder@vmware.com>

* dbxread.c: White space.
* dcache.c: White space.
* disasm.c: White space.
* doublest.c: White space.
* dsrec.c: White space.
* dummy-frame.c: White space.
* dwarf2expr.c: White space.
* dwarf2-frame.c: White space.
* dwarf2loc.c: White space.
* dwarf2read.c: White space.

14 years ago2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
Phil Muldoon [Fri, 14 May 2010 11:11:28 +0000 (11:11 +0000)]
2010-05-14  Phil Muldoon  <pmuldoon@redhat.com>

  PR python/11482

* python/py-value.c (valpy_hash): New function.
(value_object_type): Register valpy_hash.

2010-05-14  Phil Muldoon  <pmuldoon@redhat.com>

  PR python/11482

* gdb.python/py-value.exp (test_value_hash): New function

14 years ago2010-05-14 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Fri, 14 May 2010 07:45:02 +0000 (07:45 +0000)]
2010-05-14  Tristan Gingold  <gingold@adacore.com>

* vms-alpha.c (alpha_vms_object_p): Accept header size of 0.
(_bfd_vms_get_object_record): Handle align byte only in the
foreign case.

14 years ago2010-05-14 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Fri, 14 May 2010 07:18:39 +0000 (07:18 +0000)]
2010-05-14  Tristan Gingold  <gingold@adacore.com>

* vms-lib.c (_bfd_vms_lib_ia64_archive_p): New function.
* libbfd-in.h (_bfd_vms_lib_ia64_archive_p): Add prototype.
* libbfd.h: Regenerate.
* configure.in (havevecs): Define HAVE_all_vecs when
--enable-targets=all is set.  Use AC_SUBST on it.
(tdefaults): Do not add havevecs.
(bfd_elf64_ia64_vms_vec): Add vms-lib.lo and vms-misc.lo
* configure: Regenerate.
* Makefile.am (HAVEVECS): New variable.
(INCLUDES): Add HAVEVECS.
* Makefile.in: Regenerate.
* elfxx-ia64.c (INCLUDE_IA64_VMS): New macro, defined if vms
target is selected.  Add #ifdef/#endif around vms specific code.
(bfd_elfNN_archive_p, bfd_elfNN_archive_slurp_armap,
bfd_elfNN_archive_slurp_extended_name_table,
bfd_elfNN_archive_construct_extended_name_table,
bfd_elfNN_archive_truncate_arname,
bfd_elfNN_archive_write_armap,
bfd_elfNN_archive_read_ar_hdr,
bfd_elfNN_archive_write_ar_hdr,
bfd_elfNN_archive_openr_next_archived_file,
bfd_elfNN_archive_get_elt_at_index,
bfd_elfNN_archive_generic_stat_arch_elt,
bfd_elfNN_archive_update_armap_timestamp): Define to use vms archives.

14 years ago2010-05-14 Hui Zhu <teawater@gmail.com>
Hui Zhu [Fri, 14 May 2010 06:38:44 +0000 (06:38 +0000)]
2010-05-14  Hui Zhu  <teawater@gmail.com>
            Michael Snyder  <msnyder@vmware.com>

* linux-fork.c (gdbthread.h): New include.
(fork_info): Add parent_ptid.
(inferior_call_waitpid_cleanup, inferior_call_waitpid): New
functions.
(delete_checkpoint_command): Call inferior_call_waitpid.
(checkpoint_command): Set parent_ptid.

14 years ago PR ld/11583
Alan Modra [Fri, 14 May 2010 03:15:20 +0000 (03:15 +0000)]
PR ld/11583
* ldexp.c (exp_fold_tree_1): If assignment source expression is
invalid, make the destination symbol undefined.

14 years ago2010-05-13 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Fri, 14 May 2010 00:23:26 +0000 (00:23 +0000)]
2010-05-13  Michael Snyder  <msnyder@vmware.com>

* dictionary.c: Re-indent to GNU coding standard.

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

14 years ago*** empty log message ***
gdbadmin [Fri, 14 May 2010 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago2010-05-13 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Thu, 13 May 2010 23:53:32 +0000 (23:53 +0000)]
2010-05-13  Michael Snyder  <msnyder@vmware.com>

* charset.c: White space.
* c-lang.c: White space.
* cli-out.c: White space.
* coffread.c: White space.
* complaints.c: White space.
* completer.c: White space.
* corefile.c: White space.
* corelow.c: White space.
* cp-abi.c: White space.
* cp-namespace.c: White space.
* cp-support.c: White space.
* cp-valprint.c: White space.
* c-typeprint.c: White space.
* c-valprint.c: White space.

14 years ago2010-05-13 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Thu, 13 May 2010 22:44:02 +0000 (22:44 +0000)]
2010-05-13  Michael Snyder  <msnyder@vmware.com>

* blockframe.c: White space.
* breakpoint.c: White space.
* buildsym.c: White space.

14 years ago2010-05-13 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Thu, 13 May 2010 22:04:58 +0000 (22:04 +0000)]
2010-05-13  Michael Snyder  <msnyder@vmware.com>

* bcache.c: White space.

14 years ago2010-05-13 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Thu, 13 May 2010 21:56:58 +0000 (21:56 +0000)]
2010-05-13  Michael Snyder  <msnyder@vmware.com>

* gdbarch.sh: White space, add blank lines.
* arch-utils.c: Ditto.
* gdbarch.c: Regenerate.

14 years ago2010-05-13 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Thu, 13 May 2010 21:36:08 +0000 (21:36 +0000)]
2010-05-13  Michael Snyder  <msnyder@vmware.com>

* frame.c: White space, add blank lines.

14 years ago2010-05-13 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Thu, 13 May 2010 21:24:21 +0000 (21:24 +0000)]
2010-05-13  Michael Snyder  <msnyder@vmware.com>

* stack.c: White space, add blank lines.

14 years ago2010-05-13 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Thu, 13 May 2010 21:11:43 +0000 (21:11 +0000)]
2010-05-13  Michael Snyder  <msnyder@vmware.com>

* stack.c (initialize_stack): Remove long-dead code.

14 years agogdb/
Jan Kratochvil [Thu, 13 May 2010 15:44:35 +0000 (15:44 +0000)]
gdb/
Code cleanup.
* dwarf2loc.c (dwarf2_evaluate_loc_desc): Change the parameter to type.
(locexpr_read_variable, loclist_read_variable): Update the callers.

14 years agogdb/
Jan Kratochvil [Thu, 13 May 2010 09:09:20 +0000 (09:09 +0000)]
gdb/
Code cleanup.
* dwarf2read.c (die_type, die_descriptive_type): Remove variable type.
Remove check of NULL returned by tag_type_to_type.
(die_containing_type): Remove variable type.  Remove type_die variable
initialization.  Remove check of NULL returned by tag_type_to_type.

14 years ago * config/tc-arm.c (md_assemble): Clarify current mode in error
Nathan Sidwell [Thu, 13 May 2010 08:15:04 +0000 (08:15 +0000)]
* config/tc-arm.c (md_assemble): Clarify current mode in error
messages about unsupported instructions.
(UT): Delete #define.
(insns): Adjust cbnz, cbz appropriately.
testsuite:
* gas/arm/armv1-bad.l: Adjust expected error text.
* gas/arm/arch7em-bad.l: Likewise.
* gas/arm/arch7m-bad.l: Likewise.
* gas/arm/thumb-w-bad.l: Likewise.
* gas/arm/arm7-bad.d: New.
* gas/arm/arm7-bad.l: New.
* gas/arm/arm7-bad.s: New.

14 years ago * gas/all/gas.exp: Don't run byte test on powerpc.
Alan Modra [Thu, 13 May 2010 06:46:13 +0000 (06:46 +0000)]
* gas/all/gas.exp: Don't run byte test on powerpc.

14 years agoCorrect wclr encoding.
Alan Modra [Thu, 13 May 2010 06:30:09 +0000 (06:30 +0000)]
Correct wclr encoding.

14 years ago2010-05-12 Doug Kwan <dougkwan@google.com>
Doug Kwan [Thu, 13 May 2010 02:41:15 +0000 (02:41 +0000)]
2010-05-12  Doug Kwan  <dougkwan@google.com>

elfcpp/ChangeLog

* arm.h (Tag_FP_arch, Tag_ABI_align_needed, Tag_ABI_align_preserved,
Tag_FP_HP_extension, Tag_MPextension_use_legacy): Rename from
existing tags.
(Tag_undefined40, Tag_undefined41, Tag_MPextension_use,
Tag_undefined43): New tags.
(Targ_VFP_arch, Tag_ABI_align8_needed, TAG_ABI_align8_preserved,
Tag_VFP_HP_extension): Define aliases for backward compatiblity.

gold/ChangeLog

* arm.cc (Target_arm::do_finalize_sections): Create an empty
attributes section only if there no attributes section after merging.
(Target_arm::merge_object_attributes): Move value of
Tag_MPextension_use_legacy to that of Tag_MPextension_use.
Handle Tag_DIV_use and Tag_MPextension_use_legacy.
* testsuite/Makefile.am (check_SCRIPTS): Add arm_attr_merge.sh
(check_DATA): Add arm_attr_merge_6.stdout, arm_attr_merge_6r_stdout
and arm_attr_merge_7.stdout.
(arm_attr_merge_6.stdout, arm_attr_merge_6 arm_attr_merge_6a.o
arm_attr_merge_6b.o, arm_attr_merge_6r.stdout, arm_attr_merge_6r,
arm_attr_merge_7.stdout, arm_attr_merge_7, arm_attr_merge_7a.o,
arm_attr_merge_7b.o): New rules.
(MOSTLYCLEANFILES): Add arm_attr_merge_6, arm_attr_merge_6r and
arm_attr_merge_7
* testsuite/Makefile.in: Regenerate.
* testsuite/arm_attr_merge.sh: New file.
* testsuite/arm_attr_merge_[67][ab].s: Same.

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

14 years ago*** empty log message ***
gdbadmin [Thu, 13 May 2010 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
gdbadmin [Wed, 12 May 2010 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

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

14 years ago2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Tue, 11 May 2010 22:03:04 +0000 (22:03 +0000)]
2010-05-11  Pierre Muller  <muller@ics.u-strasbg.fr>

PR exp/11530.
* gdbtypes.c (lookup_struct_elt_type): Also lookup
names of unnamed structures or unions.

testsuite ChangeLog entry:

2010-05-11  Pierre Muller  <muller@ics.u-strasbg.fr>

PR exp/11530.
* testsuite/gdb.base/gdb11530.c: New file.
* testsuite/gdb.base/gdb11530.exp: New file.

14 years ago * procfs.c (proc_watchpoint_address): New function.
Pierre Muller [Tue, 11 May 2010 21:55:47 +0000 (21:55 +0000)]
* procfs.c (proc_watchpoint_address): New function.
(procfs_stopped_by_watchpoint): Remove useless check after
find_procinfo_or_die call.
(procfs_stopped_data_address): New function.
(procfs_use_watchpoints): Register new watchpoint related function.

14 years ago2010-05-11 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Tue, 11 May 2010 17:46:22 +0000 (17:46 +0000)]
2010-05-11  Kai Tietz  <kai.tietz@onevision.com>

        * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
        Initialize pe(p)_leading_underscore variable.
        (set_pe_name): Likewise.
        * emultempl/pep.em: Likewise.
        Additional change default to non-underscore for
        pep_leading_underscore equal to -1.

14 years ago2010-05-10 Andrew Stubbs <ams@codesourcery.com>
Nick Clifton [Tue, 11 May 2010 17:36:33 +0000 (17:36 +0000)]
2010-05-10  Andrew Stubbs  <ams@codesourcery.com>

        gas/
        * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.

        gas/testsuite/
        * gas/arm/attr-cpu-directive.d: Add Tag_DIV_use.
        * gas/arm/attr-default.d: Likewise.
        * gas/arm/attr-march-armv1.d: Likewise.
        * gas/arm/attr-march-armv2.d: Likewise.
        * gas/arm/attr-march-armv2a.d: Likewise.
        * gas/arm/attr-march-armv2s.d: Likewise.
        * gas/arm/attr-march-armv3.d: Likewise.
        * gas/arm/attr-march-armv3m.d: Likewise.
        * gas/arm/attr-march-armv4.d: Likewise.
        * gas/arm/attr-march-armv4t.d: Likewise.
        * gas/arm/attr-march-armv4txm.d: Likewise.
        * gas/arm/attr-march-armv4xm.d: Likewise.
        * gas/arm/attr-march-armv5.d: Likewise.
        * gas/arm/attr-march-armv5t.d: Likewise.
        * gas/arm/attr-march-armv5te.d: Likewise.
        * gas/arm/attr-march-armv5tej.d: Likewise.
        * gas/arm/attr-march-armv5texp.d: Likewise.
        * gas/arm/attr-march-armv5txm.d: Likewise.
        * gas/arm/attr-march-armv6-m.d: Likewise.
        * gas/arm/attr-march-armv6.d: Likewise.
        * gas/arm/attr-march-armv6j.d: Likewise.
        * gas/arm/attr-march-armv6k.d: Likewise.
        * gas/arm/attr-march-armv6kt2.d: Likewise.
        * gas/arm/attr-march-armv6t2.d: Likewise.
        * gas/arm/attr-march-armv6z.d: Likewise.
        * gas/arm/attr-march-armv6zk.d: Likewise.
        * gas/arm/attr-march-armv6zkt2.d: Likewise.
        * gas/arm/attr-march-armv6zt2.d: Likewise.
        * gas/arm/attr-march-armv7-a.d: Likewise.
        * gas/arm/attr-march-armv7.d: Likewise.
        * gas/arm/attr-march-armv7a.d: Likewise.
        * gas/arm/attr-march-iwmmxt.d: Likewise.
        * gas/arm/attr-march-iwmmxt2.d: Likewise.
        * gas/arm/attr-march-marvell-f.d: Likewise.
        * gas/arm/attr-march-xscale.d: Likewise.
        * gas/arm/attr-mcpu.d: Likewise.
        * gas/arm/attr-mfpu-arm1020e.d: Likewise.
        * gas/arm/attr-mfpu-arm1020t.d: Likewise.
        * gas/arm/attr-mfpu-arm1136jf-s.d: Likewise.
        * gas/arm/attr-mfpu-arm1136jfs.d: Likewise.
        * gas/arm/attr-mfpu-arm7500fe.d: Likewise.
        * gas/arm/attr-mfpu-fpa.d: Likewise.
        * gas/arm/attr-mfpu-fpa10.d: Likewise.
        * gas/arm/attr-mfpu-fpa11.d: Likewise.
        * gas/arm/attr-mfpu-fpe.d: Likewise.
        * gas/arm/attr-mfpu-fpe2.d: Likewise.
        * gas/arm/attr-mfpu-fpe3.d: Likewise.
        * gas/arm/attr-mfpu-maverick.d: Likewise.
        * gas/arm/attr-mfpu-neon-fp16.d: Likewise.
        * gas/arm/attr-mfpu-neon.d: Likewise.
        * gas/arm/attr-mfpu-softfpa.d: Likewise.
        * gas/arm/attr-mfpu-softvfp+vfp.d: Likewise.
        * gas/arm/attr-mfpu-softvfp.d: Likewise.
        * gas/arm/attr-mfpu-vfp.d: Likewise.
        * gas/arm/attr-mfpu-vfp10-r0.d: Likewise.
        * gas/arm/attr-mfpu-vfp10.d: Likewise.
        * gas/arm/attr-mfpu-vfp3.d: Likewise.
        * gas/arm/attr-mfpu-vfp9.d: Likewise.
        * gas/arm/attr-mfpu-vfpv2.d: Likewise.
        * gas/arm/attr-mfpu-vfpv3-d16.d: Likewise.
        * gas/arm/attr-mfpu-vfpv3.d: Likewise.
        * gas/arm/attr-mfpu-vfpv4-d16.d: Likewise.
        * gas/arm/attr-mfpu-vfpv4.d: Likewise.
        * gas/arm/attr-mfpu-vfpxd.d: Likewise.
        * gas/arm/attr-order.d: Likewise.
        * gas/arm/attr-override-cpu-directive.d: Likewise.
        * gas/arm/attr-override-mcpu.d: Likewise.
        * gas/arm/eabi_attr_1.d: Likewise.

        ld/testsuite/
        * ld-arm/attr-merge-2.attr: Add Tag_DIV_use.
        * ld-arm/attr-merge-2a.s: Likewise.
        * ld-arm/attr-merge-2b.s: Likewise.
        * ld-arm/attr-merge-3a.s: Likewise.
        * ld-arm/attr-merge-3b.s: Likewise.
        * ld-arm/attr-merge-4.attr: Likewise.
        * ld-arm/attr-merge-5.attr: Likewise.
        * ld-arm/attr-merge-6.attr: Likewise.
        * ld-arm/attr-merge-7.attr: Likewise.
        * ld-arm/attr-merge-arch-1.attr: Likewise.
        * ld-arm/attr-merge-arch-2.attr: Likewise.
        * ld-arm/attr-merge-unknown-2.d: Likewise.
        * ld-arm/attr-merge-unknown-2r.d: Likewise.
        * ld-arm/attr-merge-unknown-3.d: Likewise.
        * ld-arm/attr-merge-vfp-1.d: Likewise.
        * ld-arm/attr-merge-vfp-1r.d: Likewise.
        * ld-arm/attr-merge-vfp-2.d: Likewise.
        * ld-arm/attr-merge-vfp-2r.d: Likewise.
        * ld-arm/attr-merge-vfp-3.d: Likewise.
        * ld-arm/attr-merge-vfp-3r.d: Likewise.
        * ld-arm/attr-merge-vfp-4.d: Likewise.
        * ld-arm/attr-merge-vfp-4r.d: Likewise.
        * ld-arm/attr-merge-vfp-5.d: Likewise.
        * ld-arm/attr-merge-vfp-5r.d: Likewise.
        * ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
        * ld-arm/attr-merge-wchar-00.d: Likewise.
        * ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
        * ld-arm/attr-merge-wchar-02.d: Likewise.
        * ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
        * ld-arm/attr-merge-wchar-04.d: Likewise.
        * ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
        * ld-arm/attr-merge-wchar-20.d: Likewise.
        * ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
        * ld-arm/attr-merge-wchar-22.d: Likewise.
        * ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
        * ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
        * ld-arm/attr-merge-wchar-40.d: Likewise.
        * ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
        * ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
        * ld-arm/attr-merge-wchar-44.d: Likewise.
        * ld-arm/attr-merge.attr: Likewise.

2010-04-07  Jie Zhang  <jie@codesourcery.com>

        gas/
        * config/tc-arm.c (aeabi_set_public_attributes): Set
        Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.

        gas/testsuite/
        * gas/arm/attr-mfpu-vfpxd.d: New test.

        bfd/
        * elf32-arm.c (elf32_arm_merge_eabi_attributes): Merge
        Tag_ABI_HardFP_use correctly.

        ld/testsuite/
        * ld-arm/attr-merge-vfp-6.d: New test.
        * ld-arm/attr-merge-vfp-6r.d: New test.
        * ld-arm/attr-merge-vfpv3xd.s: New test.
        * ld-arm/arm-elf.exp: Add attr-merge-vfp-6 and attr-merge-vfp-6r.

2010-05-11  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>

        * arm-dis.c (thumb_opcodes): Update ldmia entry to use new %W
        format.
        (print_insn_thumb16): Add support for new %W format.

        * gas/arm/thumb32.d: Fix expected disassembly of ldmia
          instruction.

14 years ago * eval.c (evaluate_subexp_standard): Revert inadvertent change.
Tom Tromey [Tue, 11 May 2010 16:54:28 +0000 (16:54 +0000)]
* eval.c (evaluate_subexp_standard): Revert inadvertent change.

14 years ago2010-04-20 Tiemen Schut <T.Schut@sron.nl>
Joel Sherrill [Tue, 11 May 2010 14:18:20 +0000 (14:18 +0000)]
2010-04-20  Tiemen Schut    <T.Schut@sron.nl>

* erc32.c (sis_memory_write): Change prototype to const unsigned char *.
* func.c (exec_cmd, event, advance_time, wait_for_irq): Use uint64
for counts.
* interf.c (run_sim): Change icount to uint64_t. Use strtol directly.
(sim_resume): Specify maximum run time as uint64.
* sis.c (run_sim): Change icount to uint64_t.
* sis.h: Define uint64 as uint64_t. Change various fields and
prototypes to uint64 to support longer simulations.

14 years ago * coffcode.h (coff_write_object_contents): Enclose all occurrences
Alan Modra [Tue, 11 May 2010 04:42:10 +0000 (04:42 +0000)]
* coffcode.h (coff_write_object_contents): Enclose all occurrences
of hasdebug and is_reloc_section in #ifdef COFF_IMAGE_WITH_PE.

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

14 years agodaily update
Alan Modra [Tue, 11 May 2010 00:00:08 +0000 (00:00 +0000)]
daily update

14 years ago2010-05-10 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Mon, 10 May 2010 20:58:00 +0000 (20:58 +0000)]
2010-05-10  Michael Snyder  <msnyder@vmware.com>

* utils.c: White space cleanup.

14 years ago * eval.c (ptrmath_type_p): Add 'lang' argument.
Tom Tromey [Mon, 10 May 2010 20:20:21 +0000 (20:20 +0000)]
* eval.c (ptrmath_type_p): Add 'lang' argument.
(evaluate_subexp_standard): Update.
(evaluate_subexp_with_coercion): Update.
* language.h (CAST_IS_CONVERSION): Add 'LANG' argument.

14 years ago2010-05-10 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Mon, 10 May 2010 17:26:36 +0000 (17:26 +0000)]
2010-05-10  Michael Snyder  <msnyder@vmware.com>

* utils.c (do_fclose_cleanup) Restore local variable.

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

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

14 years ago * record.c (init_record_core_ops): Rename record_core to record-core.
Doug Evans [Sun, 9 May 2010 20:04:52 +0000 (20:04 +0000)]
* record.c (init_record_core_ops): Rename record_core to record-core.

14 years agodaily update
Alan Modra [Sun, 9 May 2010 00:00:06 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Sun, 9 May 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years agoImplement task switching on pa-hpux.
Joel Brobecker [Sat, 8 May 2010 18:23:42 +0000 (18:23 +0000)]
Implement task switching on pa-hpux.

gdb/ChangeLog:

        * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): New function.
        (inf_ttrace_target): Set t->to_get_ada_task_ptid.

14 years ago * valops.c (find_overload_match): Add missing i18n markup.
Pierre Muller [Sat, 8 May 2010 09:26:47 +0000 (09:26 +0000)]
* valops.c (find_overload_match): Add missing i18n markup.

14 years ago * p-exp.y (exp : SIZEOF '(' exp ')'): New rule.
Pierre Muller [Sat, 8 May 2010 09:18:02 +0000 (09:18 +0000)]
* p-exp.y (exp : SIZEOF '(' exp ')'): New rule.

14 years agogdb/
Jan Kratochvil [Sat, 8 May 2010 04:58:45 +0000 (04:58 +0000)]
gdb/
* dwarf2read.c (typename_concat): Use (char *) NULL terminated stdarg
list for the obconcat call.
* mdebugread.c (parse_symbol): Likewise.
* stabsread.c (define_symbol, read_member_functions, read_cpp_abbrev):
Likewise.
* symfile.c (obconcat): Replace the s1, s2 and s3 parameters by `...'.
New variable ap.  Remove variables len and val.
* symfile.h (obconcat): Likewise for the prototype.

14 years agogdb/testsuite/
Jan Kratochvil [Sat, 8 May 2010 04:55:32 +0000 (04:55 +0000)]
gdb/testsuite/
* gdb.dwarf2/dw2-modula2-self-type.exp: New.
* gdb.dwarf2/dw2-modula2-self-type.S: New.

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

14 years ago*** empty log message ***
gdbadmin [Sat, 8 May 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago2010-05-07 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Fri, 7 May 2010 19:26:30 +0000 (19:26 +0000)]
2010-05-07  Michael Snyder  <msnyder@vmware.com>

* python/python.c (execute_gdb_command): Remove unused variables.
* python/py-block.c (gdbpy_block_for_pc): Remove unused variable.
* python/py-breakpoint.c (gdbpy_breakpoint_created):
Remove unused variable.
* python/py-cmd.c (cmdpy_function): Remove unused variable.
(cmdpy_completer): Remove unused variable.
* python/py-frame.c (frapy_find_sal): Remove unused variable.
* python/py-function.c (fnpy_call): Remove unused variable.
* python/py-objfile.c (objfile_to_objfile_object):
Remove unused variable.
* python/py-param.c (parmpy_init): Remove unused variable.
* python/py-prettyprint.c (apply_varobj_pretty_printer):
Remove unused variable.
(gdbpy_default_visualizer): Remove unused variable.
* python/py-progspace.c (pspace_to_pspace_object):
Remove unused variable.
* python/py-symtab.c (symtab_and_line_to_sal_object):
Remove unused variable.
* python/py-type.c (typy_template_argument):
Remove unused variable.
* python/py-value.c (valpy_string): Remove unused variable.
(convert_value_from_python): Remove unused variables.

14 years ago2010-05-07 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Fri, 7 May 2010 18:49:27 +0000 (18:49 +0000)]
2010-05-07  Michael Snyder  <msnyder@vmware.com>

* valops.c (value_cast_pointers): Restore unused variable 'type1',
and use it to compute variable 't1'.

14 years ago bfd/
Daniel Jacobowitz [Fri, 7 May 2010 18:24:48 +0000 (18:24 +0000)]
bfd/
* elf32-arm.c (struct a8_erratum_reloc): Add hash member.  Move
sym_name to improve packing.
(cortex_a8_erratum_scan): Check for PLT entries.
(elf32_arm_size_stubs): Save the target symbol for a8 relocs.

ld/testsuite/
* ld-arm/cortex-a8-fix-bl-rel-plt.d: New file.
* ld-arm/arm-elf.exp (armelftests): Run cortex-a8-fix-bl-rel-plt.d.

14 years agoFix formatting.
Joel Brobecker [Fri, 7 May 2010 16:07:32 +0000 (16:07 +0000)]
Fix formatting.

14 years ago * ada-lang.c (assign_aggregate): Remove unused variable.
Joel Brobecker [Fri, 7 May 2010 16:00:48 +0000 (16:00 +0000)]
    * ada-lang.c (assign_aggregate): Remove unused variable.

14 years agoImplement task switching on solaris targets.
Joel Brobecker [Fri, 7 May 2010 15:24:16 +0000 (15:24 +0000)]
Implement task switching on solaris targets.

        * sol-thread.c (thread_db_find_thread_from_tid)
        (sol_get_ada_task_ptid): New functions.
        (init_sol_thread_ops): Set sol_thread_ops.to_get_ada_task_ptid.

14 years agoAdd ADL support
Sami Wagiaalla [Fri, 7 May 2010 14:46:28 +0000 (14:46 +0000)]
Add ADL support

2010-05-07  Sami Wagiaalla  <swagiaal@redhat.com>

PR C++/7943:
* valops.c (find_overload_match): Handle fsym == NULL case.
Add int no_adl argument.
(find_oload_champ_namespace_loop): Call make_symbol_overload_list_adl
when appropriate.
Add int no_adl argument.
(find_oload_champ_namespace):  Add int no_adl argument.
* parse.c (operator_length_standard): Return length for OP_ADL_FUNC
expression.
* expprint.c (op_name_standard): Added string for OP_ADL_FUNC case.
* eval.c (evaluate_subexp_standard): Added OP_ADL_FUNC case.
Evaluate arguments and use them to perform ADL lookup.
Pass no_adl argument to find_overload_match.
Disable adl lookup when evaluating a fully qualified OP_FUNCALL.
* cp-support.h: Added prototype for
make_symbol_overload_list_namespace.
* cp-support.c (make_symbol_overload_list_namespace): New function.
(make_symbol_overload_list_adl_namespace): New function.
(make_symbol_overload_list_adl): New function.
(make_symbol_overload_list_using): Moved code to add function to
overload set to make_symbol_overload_list_namespace.
* c-exp.y: create UNKNOWN_CPP_NAME token.
Add parse rule for ADL functions.
(classify_name): Recognize an UNKNOWN_CPP_NAME.

2010-05-07  Sami Wagiaalla  <swagiaal@redhat.com>

* gdb.cp/koenig.exp: New test.
* gdb.cp/koenig.cc: New test program.

14 years agogdb/
Jan Kratochvil [Fri, 7 May 2010 14:42:30 +0000 (14:42 +0000)]
gdb/
* fbsd-nat.c (fbsd_make_corefile_notes): Add cast to NULL used as
sentinel.

14 years ago * remote.c (remote_query_supported_append): Use reconcat.
Pedro Alves [Fri, 7 May 2010 14:01:55 +0000 (14:01 +0000)]
* remote.c (remote_query_supported_append): Use reconcat.
(remote_query_supported): Install a cleanup.  Use reconcat.

14 years ago * gdbarch.sh (qsupported): Delete.
Pedro Alves [Fri, 7 May 2010 14:00:30 +0000 (14:00 +0000)]
* gdbarch.sh (qsupported): Delete.
* gdbarch.h, gdbarch.c: Regenerate.
* remote.c (remote_query_supported): Remove use of
gdbarch_qsupported.

14 years agobfd/
Tristan Gingold [Fri, 7 May 2010 12:28:50 +0000 (12:28 +0000)]
bfd/
2010-05-07  Tristan Gingold  <gingold@adacore.com>

* Makefile.in: Regenerate with automake 1.11.1.
* aclocal.m4: Ditto.

bfd/doc/
2010-05-07  Tristan Gingold  <gingold@adacore.com>

* Makefile.in: Regenerate with automake 1.11.1.

binutils/
2010-05-07  Tristan Gingold  <gingold@adacore.com>

* Makefile.in: Regenerate with automake 1.11.1.
* aclocal.m4: Ditto.
* doc/Makefile.in: Ditto.

gas/
2010-05-07  Tristan Gingold  <gingold@adacore.com>

* Makefile.in: Regenerate with automake 1.11.1.
* aclocal.m4: Ditto.
* doc/Makefile.in: Ditto.

gprof/
2010-05-07  Tristan Gingold  <gingold@adacore.com>

* Makefile.in: Regenerate with automake 1.11.1.
* aclocal.m4: Ditto.

ld/
2010-05-07  Tristan Gingold  <gingold@adacore.com>

* Makefile.in: Regenerate with automake 1.11.1.
* aclocal.m4: Ditto.

opcodes/
2010-05-07  Tristan Gingold  <gingold@adacore.com>

* Makefile.in: Regenerate with automake 1.11.1.
* aclocal.m4: Ditto.

14 years agogdb/ChangeLog:
Sergio Durigan Junior [Fri, 7 May 2010 03:41:33 +0000 (03:41 +0000)]
gdb/ChangeLog:

2010-05-06  Sergio Durigan Junior  <sergiodj@redhat.com>

* xml-syscall.c (syscall_start_syscalls_info): Remove unused
function.

14 years ago2010-05-06 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Fri, 7 May 2010 02:09:55 +0000 (02:09 +0000)]
2010-05-06  Michael Snyder  <msnyder@vmware.com>

* xml-support.c (xinclude_start_include): Delete unused variable.
(xml_process_xincludes): Delete unused variable.
* xml-syscall.c (syscall_parse_xml): Delete unused variable.
* target-descriptions.c (tdesc_gdb_type): Delete unused variable.
(tdesc_find_arch_register): Delete unused variable.
(tdesc_use_registers): Delete unused variable.
* xml-tdesc.c (tdesc_start_target): Delete unused variable.
* inferior.c (print_inferior): Delete unused variable.
* record.c (record_open_1): Delete unused variable.
(record_restore): Delete unused variable.
(cmd_record_save): Delete unused variable.
* gcore.c (derive_heap_segment): Delete unused variable.
(objfile_find_memory_regions): Use unused variable.
* jit.c (jit_inferior_init): Delete unused variable.
* progspace.c (clone_program_space): Delete unused variable.
(pspace_empty_p): Delete unused variable.

14 years ago2010-05-06 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Fri, 7 May 2010 01:12:14 +0000 (01:12 +0000)]
2010-05-06  Michael Snyder  <msnyder@vmware.com>

* frame-unwind.c (frame_unwind_find_by_frame):
Delete unused variable.
* gnu-v2-abi.c (gnuv2_value_rtti_type): Delete unused variable.
* cp-support.c (mangled_name_to_comp): Delete unused variable.
(method_name_from_physname): Delete unused variable.
(cp_func_name): Delete unused variable.
(cp_validate_operator): Delete unused variable.
* cp-namespace.c (cp_scan_for_anonymous_namespaces):
Delete unused variable.
* trad-frame.c (trad_frame_get_prev_register):
Delete unused variable.
* tramp-frame.c (tramp_frame_cache): Delete unused variable.

14 years ago2010-05-06 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Fri, 7 May 2010 00:47:37 +0000 (00:47 +0000)]
2010-05-06  Michael Snyder  <msnyder@vmware.com>

* serial.c (serial_for_fd): Delete unused variable.
* mdebugread.c (psymtab_to_symtab_1): Delete unused variable.
* top.c (execute_command): Delete unused variable.
(init_main): Delete unused variable.
* utils.c (do_fclose_cleanup): Delete unused variable.
(do_all_inferior_continuations): Delete unused variable.
(initialize_utils): Delete unused variable.
(internal_problem_mode): Delete unused global.
* frame.c (get_prev_frame): Delete unused global.
(get_frame_locals_address): Delete unused global.
(get_frame_args_address): Delete unused global.

14 years ago2010-05-06 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Fri, 7 May 2010 00:28:32 +0000 (00:28 +0000)]
2010-05-06  Michael Snyder  <msnyder@vmware.com>

* p-typeprint.c (pascal_type_print_base): Delete unused variable.
(pascal_type_print_varspec_prefix): Delete unused variable.
* f-typeprint.c (f_type_print_base): Delete unused variable.
(f_type_print_varspec_suffix): Delete unused variable.
* m2-typeprint.c (m2_print_type): Delete unused variable.
(m2_long_set): Delete unused variable.
* ada-valprint.c (ada_val_print_1): Delete unused variable.
* d-valprint.c (dynamic_array_type): Delete unused variable.
* f-valprint.c (f77_get_dynamic_length_of_aggregate):
Delete unused variable.
(f77_create_arrayprint_offset_tbl): Delete unused variable.
* m2-valprint.c (m2_val_print): Delete unused variable.

14 years ago2010-05-06 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Fri, 7 May 2010 00:01:31 +0000 (00:01 +0000)]
2010-05-06  Michael Snyder  <msnyder@vmware.com>

* ui-out.c (ui_out_field_int): Delete unused variable.
(ui_out_field_fmt_int): Delete unused variable.
* varobj.c (varobj_list_children): Delete unused variable.
(varobj_set_value): Delete unused variable.
(install_new_value_visualizer): Delete unused variable.
(varobj_set_visualizer): Delete unused variable.
(varobj_update): Delete unused variable.
(varobj_editable_p): Delete unused variable.
(c_value_of_root): Delete unused variable.
(cplus_describe_child): Delete unused variable.

14 years ago*** empty log message ***
gdbadmin [Fri, 7 May 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Fri, 7 May 2010 00:00:06 +0000 (00:00 +0000)]
daily update

14 years ago2010-05-06 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Thu, 6 May 2010 23:36:39 +0000 (23:36 +0000)]
2010-05-06  Michael Snyder  <msnyder@vmware.com>

* ada-lang.c (add_defn_to_vec): Delete unused variable.
(decode_constrained_packed_array_type): Delete unused variable.
(add_defn_to_vec): Delete unused variable.
(symbol_completion_match): Delete unused variable.
(value_tag_from_contents_and_address): Delete unused variable.
(ada_evaluate_subexp): Delete unused variable.
* c-lang.c (classify_type): Delete unused variable.
* f-lang.c (f_printstr): Delete unused variable.
* objc-lang.c (objc_printstr): Delete unused variable.
* ada-tasks.c (get_known_tasks_addr): Delete unused variable.
* jv-lang.c (type_from_class): ifdef unused variable.
(java_class_name_from_physname): Delete unused variable.
* m2-lang.c (m2_printstr): Delete unused variable.

14 years ago2010-05-06 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Thu, 6 May 2010 22:50:09 +0000 (22:50 +0000)]
2010-05-06  Michael Snyder  <msnyder@vmware.com>

* objfiles.c (objfile_relocate): Delete unused variable.
* maint.c (_initialize_maint_cmds): Delete unused variable.
* demangle.c (_initialize_demangler): Delete unused variable.
* corefile.c (reopen_exec_file): Delete unused variable.
* dwarf2expr.c (dwarf2_read_address): Delete unused variable.
* dwarf2-frame.c (decode_frame_entry): Delete unused variable.

14 years ago2010-05-06 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Thu, 6 May 2010 22:29:49 +0000 (22:29 +0000)]
2010-05-06  Michael Snyder  <msnyder@vmware.com>

* osabi.c (_initialize_gdb_osabi): Delete unused variable.
* memattr.c (mem_delete): Delete unused variable.
(invalidate_target_mem_regions): Delete unused variable.
* mem-break.c (default_memory_insert_breakpoint):
Delete unused variable.
* target.c (target_get_osdata): Delete unused variable.
* parse.c (length_of_subexp): Delete unused variable.
(prefixify_subexp): Delete unused variable.
(exp_iterate): Delete unused variable.
* reverse.c (delete_bookmark_command): Delete unused variable.

14 years agomerge from gcc
DJ Delorie [Thu, 6 May 2010 21:40:04 +0000 (21:40 +0000)]
merge from gcc

14 years agoHandle EM_L1OM.
H.J. Lu [Thu, 6 May 2010 21:32:04 +0000 (21:32 +0000)]
Handle EM_L1OM.

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

* dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
* readelf.c (get_elf_section_flags): Likewise.
(process_section_headers): Likewise.

14 years ago * ld-elf/orphan-region.d: Use ld -N.
Joseph Myers [Thu, 6 May 2010 20:04:27 +0000 (20:04 +0000)]
* ld-elf/orphan-region.d: Use ld -N.

14 years ago2010-05-06 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Thu, 6 May 2010 19:41:12 +0000 (19:41 +0000)]
2010-05-06  Michael Snyder  <msnyder@vmware.com>

* macrocmd.c (_initialize_macrocmd): Delete unused variable.
* macroexp.c (gather_arguments): Delete unused variable.
(substitute_args): Delete unused variable.
* completer.c (gdb_completer_loc_break_characters): Unused, delete.
* gdbarch.sh (gdbarch_printable_names): Delete unused variable.
(_initialize_gdbarch): Delete unused variable.
* gdbarch.c, gdbarch.h: Regenerate.
* arch-utils.c (initialize_current_architecture):
Delete unused variable.
(_initialize_gdbarch_utils): Delete unused variable.
* gdbtypes.c (make_cv_type): Delete unused variable.
(make_type_with_address_space): Delete unused variable.

14 years ago2010-05-06 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Thu, 6 May 2010 19:14:09 +0000 (19:14 +0000)]
2010-05-06  Michael Snyder  <msnyder@vmware.com>

* linespec.c (decode_compound): Delete unused variable.
* dictionary.c (iterator_next_hashed): Delete unused variable.
* infcall.c (call_function_by_hand): Delete unused variable.
* infcmd.c (step_1): Delete unused variable.
(registers_info): Delete unused variable.
(attach_command): Delete unused variable.
* infrun.c (follow_exec): Delete unused variable.
(handle_step_into_function_backwards): Delete unused variable.
(_initialize_infrun): Delete unused variable.
* stack.c (parse_frame_specification_1): Delete unused variable.
(frame_info): Delete unused variable.
(backtrace_command_1): Delete unused variable.
(catch_info): Delete unused variable.

14 years ago2010-05-06 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Thu, 6 May 2010 18:26:13 +0000 (18:26 +0000)]
2010-05-06  Michael Snyder  <msnyder@vmware.com>

* eval.c (evaluate_subexp_standard): Delete unused variable.
* valops.c (value_cast_pointers): Delete unused variable.
(value_dynamic_cast): Delete unused variable.
(value_array): Delete unused variable.
(find_overload_match): Delete unused variable.
* valarith.c (value_subscript): Delete unused variable.
(value_binop): Delete unused variable.
* valprint.c (_initialize_valprint): Delete unused variable.
* printcmd.c (print_command_1): Delete unused variable.
(address_info): Delete unused variable.
(printf_command): Delete unused variable.

14 years ago2010-05-06 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Thu, 6 May 2010 18:07:08 +0000 (18:07 +0000)]
2010-05-06  Michael Snyder  <msnyder@vmware.com>

* auxv.c (target_auxv_search): Delete unused variable.
* blockframe.c (get_frame_block): Delete unused variable.
* regcache.c (regcache_cpy): Delete unused variable.
(regcache_cpy_no_passthrough): Delete unused variable.
* charset.c (wchar_iterate): Delete unused variable.
(find_charset_names): Delete unused variable.
(_initialize_charset): Delete unused variable.
* disasm.c (do_mixed_source_and_assembly):
Delete unused variable.
* source.c (set_default_source_symtab_and_line):
Delete unused variable.
(set_substitute_path_command): Delete unused variable.
* value.c (preserve_values): Delete unused variable.
(value_from_double): Delete unused variable.

14 years agorevert erroneous commit
Nathan Sidwell [Thu, 6 May 2010 15:02:24 +0000 (15:02 +0000)]
revert erroneous commit

14 years ago * cpu-mips.c (arch_info_struct): Fixup XLR entry.
Nathan Sidwell [Thu, 6 May 2010 10:22:51 +0000 (10:22 +0000)]
* cpu-mips.c (arch_info_struct): Fixup XLR entry.

14 years ago2010-05-05 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Thu, 6 May 2010 01:16:15 +0000 (01:16 +0000)]
2010-05-05  Michael Snyder  <msnyder@vmware.com>

* psymtab.c (lookup_partial_symbol): Delete unused variable.
(find_last_source_symtab_from_partial): Delete unused variable.
* symfile.c (place_section): Delete unused variable.
(default_symfile_offsets): Delete unused variable.
(get_debug_link_info): Delete unused variable.
(find_separate_debug_file_by_debuglink): Delete unused variable.
(add_symbol_file_command): Delete unused variable.
(symfile_find_segment_sections): Delete unused variable.
* symmisc.c (free_symtab): Delete unused variable.
(dump_symtab_1): Delete unused variable.
* symtab.c (lookup_symbil_aux_quick): Delete unused variable.
(find_pc_sect_symtab): Delete unused variable.
(skip_prologue_using_lineinfo): Delete unused variable.
(sources_info): Delete unused variable.
(completion_list_add_name): Delete unused variable.
(expand_line_sal): Delete unused variable.

14 years ago2010-05-05 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Thu, 6 May 2010 00:41:41 +0000 (00:41 +0000)]
2010-05-05  Michael Snyder  <msnyder@vmware.com>

* breakpoint.c (validate_commands_for_breakpoint):
Delete unused variables.
(insert_catchpoint): Delete unused variable.
(update_watchpoint): Delete unused variable.
(insert_bp_location): Delete unused variable.
(insert_breakpoint_locations): Delete unused variable.
(remove_breakpoint_1): Delete unused variable.
(software_breakpoint_inserted_here_p): Delete unused variable.
(watchpoints_triggered): Delete unused variable.
(bpstat_check_watchpoint): Delete unused variable.
(bpstat_stop_status): Delete unused variable.
(print_one_breakpoint_location): Delete unused variable.
(allocate_bp_location): Delete unused variable.
(create_breakpoint): Delete unused variable.
(watch_command_1): Delete unused variable.
(catch_exception_command_1): Delete unused variable.
(catch_ada_exception_command): Delete unused variable.
(delete_breakpoint): Delete unused variable.
(breakpoint_re_set_one): Delete unused variable.
(do_enable_breakpoint): Delete unused variable.

14 years ago2010-05-05 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Thu, 6 May 2010 00:32:38 +0000 (00:32 +0000)]
2010-05-05  Michael Snyder  <msnyder@vmware.com>

* mi/mi-out.c (mi_table_begin): Delete unused variable.
* mi/mi-cmd-var.c (print_varobj): Delete unused variable.
(mi_cmd_var_list_children): Delete unused variable.
(varobj_update_one): Delete unused variable.
* mi/mi-cmd-break.c (mi_cmd_break_insert): Delete unused variables.
* mi/mi-cmd-stack.c (mi_cmd_stack_list_locals):
Delete unused variable.
(mi_cmd_stack_list_variables): Delete unused variable.
(list_args_or_locals): Delete unused variable.
* mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file):
Delete unused variables.
(mi_cmd_file_list_exec_source_files): Delete unused variable.
* mi/mi-cmd-target.c (mi_cmd_target_file_delete):
Delete unused variable.
* mi/mi-interp.c (mi_interpreter_exec): Delete unused variable.
(mi_cmd_interpreter_exec): Delete unused variable.
(mi_on_normal_stop): Delete unused variable.
* mi/mi-main.c (run_one_inferior): Delete unused variable.
(print_one_inferior): Delete unused variables.
(mi_execute_command): Delete unused variable.
(mi_cmd_execute): Delete unused variable.
(timestamp): Delete unused variable.

14 years ago2010-05-05 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Thu, 6 May 2010 00:31:46 +0000 (00:31 +0000)]
2010-05-05  Michael Snyder  <msnyder@vmware.com>

* ax-gdb.c (gen_struct_elt_for_reference): Delete unused variables.
* tracepoint.c (delete_trace_variable_command):
Delete unused variables.
(encode_actions_1): Delete unused variables.
(start_tracing): Delete unused variable.
(trace_status_mi): Delete unused variable.
(tfind_1): Delete unused variable.
(trace_find_pc_command): Delete unused variable.
(trace_find_line_command): Delete unused variables.
(trace_find_range_command): Delete unused variables.
(trace_find_outside_command): Delete unused variables.
(parse_tracepoint_definition): Delete unused variables.
(tfile_fetch_registers): Delete unused variable.

14 years ago * amd64-tdep.c: Include disasm.h.
Pedro Alves [Thu, 6 May 2010 00:21:53 +0000 (00:21 +0000)]
* amd64-tdep.c: Include disasm.h.
(amd64_insn_length_fprintf, amd64_insn_length_init_dis)
(amd64_insn_length): Moved to disasm.c and renamed.
(fixup_riprel): Adjust.
* disasm.c (do_ui_file_delete): New.
(gdb_insn_length): New.
(gdb_buffered_insn_length_fprintf)
(gdb_buffered_insn_length_init_dis)
(gdb_buffered_insn_length): New, moved from amd64-tdep.c, and
renamed.
* disasm.h (gdb_insn_length): Declare.
(gdb_buffered_insn_length): Declare.

14 years ago * remote.c (clear_threads_parsing_context): New.
Pedro Alves [Thu, 6 May 2010 00:15:29 +0000 (00:15 +0000)]
* remote.c (clear_threads_parsing_context): New.
(remote_threads_info): Delete unused null_cleanup.  Install a
cleanup to clear the threads_parsing_context in case parsing
throws.

14 years ago2010-05-05 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Thu, 6 May 2010 00:08:44 +0000 (00:08 +0000)]
2010-05-05  Michael Snyder  <msnyder@vmware.com>

* c-exp.y (parse_string_or_char): Delete unused variable.
(c_lex): Delete unused variable.
* cp-name-parser.y (cpname_lex): Delete unused variable.
* ada-exp.y (find_primitive_type): Delete unused variable.
(write_var_or_type): Delete unused variable.
* jv-exp.y (java_parse): Delete unused variable.
(push_expression_name): Delete unused variable.
* p-exp.y (pascal_lex): Delete unused variable.

14 years ago*** empty log message ***
gdbadmin [Thu, 6 May 2010 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Thu, 6 May 2010 00:00:06 +0000 (00:00 +0000)]
daily update

14 years ago2010-05-05 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Wed, 5 May 2010 23:44:19 +0000 (23:44 +0000)]
2010-05-05  Michael Snyder  <msnyder@vmware.com>

* elfread.c (elf_symtab_read): Delete unused variable.
(find_separate_debug_file_by_buildid): Delete unused variables.
(elf_symfile_read): Delete unused variable.

* coffread.c (coff_symfile_read): Delete unused variables.

* coff-pe-read.c (add_pe_exported_sym): Delete unused variable.
(read_pe_exported_syms): Delete unused variable.

* stabsread.c (define_symbol): Delete unused variable.

* dwarf2read.c (read_type_comp_unit_head): Delete unused variable.
(process_psymtab_comp_unit): Delete unused variable.
(dwarf2_build_psymtabs_hard): Delete unused variable.
(load_partial_comp_unit): Delete unused variable.
(create_all_comp_units): Delete unused variable.
(scan_partial_symbols): Delete unused variable.
(add_partial_symbol): Delete unused variable.
(add_partial_namespace): Delete unused variable.
(add_partial_enumeration): Delete unused variable.
(load_full_comp_unit): Delete unused variable.
(process_full_comp_unit): Delete unused variable.
(read_file_scope): Delete unused variable.
(read_type_unit_scope): Delete unused variable.
(process_structure_scope): Delete unused variable.
(process_enumeration_scope): Delete unused variable.
(read_tag_ptr_to_member_type): Delete unused variable.
(read_typedef): Delete unused variable.
(read_partial_die): Delete unused variable.
(decode_locdesc): Delete unused variable.
(zeroed_partial_die): Delete unused global variable.

14 years ago * remote.c (remote_threads_info): Really revert previous previous
Pedro Alves [Wed, 5 May 2010 23:39:56 +0000 (23:39 +0000)]
* remote.c (remote_threads_info): Really revert previous previous
change.

14 years ago2010-05-05 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Wed, 5 May 2010 22:53:54 +0000 (22:53 +0000)]
2010-05-05  Michael Snyder  <msnyder@vmware.com>

* tui/tui-interp.c (_initialize_tui_interp):
Delete unused variable.
* tui/tui-regs.c tui_display_registers_from):
Delete unused variable.
(tui_check_register_values): Delete unused variable.
(tui_register_format): Delete unused variable.
* tui/tui-win.c (_initialize_tui_win): Delete unused variable.
* tui/tui-windata.c (tui_display_data_from_line):
Delete unused variables.
(tui_vertical_data_scroll): Delete unused variables.

14 years ago2010-05-05 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Wed, 5 May 2010 22:27:15 +0000 (22:27 +0000)]
2010-05-05  Michael Snyder  <msnyder@vmware.com>

* remote.c (remote_threads_info): Revert questionable part of
the previous change.

14 years ago2010-05-05 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Wed, 5 May 2010 21:32:56 +0000 (21:32 +0000)]
2010-05-05  Michael Snyder  <msnyder@vmware.com>

* cli-dump.c (dump_memory_to_file): Delete unused variable.
(restore_binary_file): Delete unused variable.
* cli-decode.c (deprecated_cmd_warning): Delete unused variables.
* cli-script.c (define_command): Delete unused variables.
(recurse_read_control_structure): Delete unused variable.
(script_from_file): Delete unused variable.
* cli-cmds.c (complete_command): Delete unused variable.
(disassemble_command): Delete unused variable.

14 years ago2010-05-05 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Wed, 5 May 2010 20:50:24 +0000 (20:50 +0000)]
2010-05-05  Michael Snyder  <msnyder@vmware.com>

* dcache.c (dcache_init): Delete unused variable.
(dcache_info): Delete unused variable.

14 years ago2010-05-05 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Wed, 5 May 2010 20:46:06 +0000 (20:46 +0000)]
2010-05-05  Michael Snyder  <msnyder@vmware.com>

* remote.c (remote_threads_info): Delete unused variable.
(process_stop_reply): Delete unused variable.
(remote_get_trace_status): Delete unused variables.

14 years ago2010-05-05 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Wed, 5 May 2010 20:37:23 +0000 (20:37 +0000)]
2010-05-05  Michael Snyder  <msnyder@vmware.com>

* linux-thread-db.c (add_thread_db_info): Delete unused variable.
(thread_from_lwp): Delete unused variable.
(enable_thread_event_reporting): Delete unused variable.
(check_for_thread_db): Delete unused variables.
(thread_db_find_new_threads_2): Delete unused variable.

* linux-fork.c (info_checkpoints_command): Delete unused variables.
(checkpoint_command): Delete unused variable.
(linux_fork_context): Delete unused variables.

14 years ago2010-05-05 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Wed, 5 May 2010 20:16:45 +0000 (20:16 +0000)]
2010-05-05  Michael Snyder  <msnyder@vmware.com>

* linux-nat.c (top level): Delete unused global variable.
(linux_tracefork_child): Delete unused variable.
(linux_child_follow_fork): Delete unused variable.
(linux_nat_detach): Delete unused variable.
(linux_handle_extended_wait): Delete unused variable.
(linux_nat_has_pending_sigint): Delete unused variable.
(linux_nat_find_memory_regions): Delete unused variable.
(linux_nat_make_corefile_notes): Delete unused variables.
(linux_nat_info_proc_cmd): Delete unused variable.
(linux_proc_pending_signals): Delete unused variable.
(linux_nat_stop_lwp): Delete unused variables.
(_initialize_linux_nat): Delete unused variable.

14 years ago2010-05-05 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Wed, 5 May 2010 20:01:34 +0000 (20:01 +0000)]
2010-05-05  Michael Snyder  <msnyder@vmware.com>

* ser-pipe.c (top level): Delete unused global variable.