binutils-gdb.git
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.

14 years agobfd/
Tristan Gingold [Thu, 10 Jun 2010 08:51:46 +0000 (08:51 +0000)]
bfd/
2010-06-10  Tristan Gingold  <gingold@adacore.com>

* som.c: Can now be compiled on any host.
Include bfd headers instead of system one.
(som_compute_checksum): Parameter is now a pointer to a
som_external_header structure.  Adjust.
(struct section_to_type): Field section is now const.
(R_DLT_REL, R_AUX_UNWIND, R_SEC_STMT): Removed conditional
definition.
(R_LONG_PCREL_MODE, R_N0SEL, R_N1SEL, R_LINETAB): Ditto.
(R_LINETAB_ESC, R_LTP_OVERRIDE, R_COMMENT): Ditto.
(som_swap_clock_in, som_swap_clock_out): New functions.
(som_swap_header_in, som_swap_header_out): Likewise.
(som_swap_space_dictionary_in): Likewise.
(som_swap_space_dictionary_out): Likewise.
(som_swap_subspace_dictionary_in): Likewise.
(som_swap_subspace_dictionary_record_out): Likewise.
(som_swap_aux_id_in, som_swap_aux_id_out): Likewise.
(som_swap_string_auxhdr_out): Likewise.
(som_swap_compilation_unit_out): Likewise.
(som_swap_exec_auxhdr_in): Likewise.
(som_swap_exec_auxhdr_out): Likewise.
(som_swap_lst_header_in): Likewise.
(som_object_setup): Adjust parameter type using bfd types.
(setup_sections): Likewise.  Ditto for object file types.
Use intermediate variables for external representation and use the
swap functions to convert.
(som_object_p): Ditto.  Remove #ifdef/#endif on always defined
macros.
(som_prep_headers): Likewise.
(som_write_symbol_strings): Likewise.
(som_begin_writing): Likewise.
(som_finish_writing): Likewise.
(som_build_and_write_symbol_table): Likewise.
(bfd_section_from_som_symbol): Likewise.
(som_slurp_symbol_table): Likewise.
(som_bfd_print_private_bfd_data): Likewise.
(bfd_som_attach_aux_hdr): Likewise.  Clear the padding.
(bfd_som_attach_compilation_unit): Likewise.
(som_bfd_count_ar_symbols): Likewise.
(som_bfd_fill_in_ar_symbols): Likewise.
(som_slurp_armap): Likewise.
(som_bfd_ar_write_symbol_stuff): Likewise.
(som_write_armap): Likewise.  Use _bfd_ar_spacepad instead of
sprintf to write header fields.
* som.h: Include bfd headers instead of system one.
(FILE_HDR_SIZE, AUX_HDR_SIZE): Removed.
(struct somdata): Use bfd structures instead of system ones.
(struct som_section_data_struct): Likewise.
(struct som_subspace_dictionary_record): Removed (now in
include/som/internal.h)

gas/
2010-06-10  Tristan Gingold  <gingold@adacore.com>

* config/obj-som.h: Includes som/reloc.h

14 years agoinclude/som:
Tristan Gingold [Thu, 10 Jun 2010 08:31:20 +0000 (08:31 +0000)]
include/som:
2010-06-10  Tristan Gingold  <gingold@adacore.com>

* aout.h: New file.
* clock.h: Likewise.
* lst.h: Likewise.
* reloc.h: Likewise.
* internal.h: Likewise.

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

* dwarf2.h (enum dwarf_tag): Add DW_TAG_HP_Bliss_field and
DW_TAG_HP_Bliss_field_set.
(enum dwarf_attribute): Add DW_AT_HP_prologue, DW_AT_HP_epilogue,
DW_AT_HP_unit_name, DW_AT_HP_unit_size, DW_AT_HP_widened_byte_size,
DW_AT_HP_definition_points, DW_AT_HP_default_location and
DW_AT_HP_is_result_param.
(enum dwarf_type): Add DW_ATE_HP_VAX_float, DW_ATE_HP_VAX_float_d,
DW_ATE_HP_packed_decimal, DW_ATE_HP_zoned_decimal, DW_ATE_HP_edited,
DW_ATE_HP_signed_fixed, DW_ATE_HP_unsigned_fixed,
DW_ATE_HP_VAX_complex_float and DW_ATE_HP_VAX_complex_float_d.
(enum dwarf_line_number_x_ops): Add
DW_LNE_HP_source_file_correlation.
(enum dwarf_source_language): Add DW_LANG_HP_Bliss,
DW_LANG_HP_Basic91, DW_LANG_HP_Pascal91, DW_LANG_HP_IMacro,
DW_LANG_HP_Assembler.

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

* targets.c (bfd_target_list): Remove hp/ux compiler work-around
as bfd requires an ANSI-C compiler.

14 years agogas/
Jan Beulich [Thu, 10 Jun 2010 07:10:04 +0000 (07:10 +0000)]
gas/
2010-06-10  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (cpu_arch): Add comment.
(i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
from the generic entries of cpu_arch[].

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

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

14 years ago2010-06-09 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Wed, 9 Jun 2010 18:25:34 +0000 (18:25 +0000)]
2010-06-09  Michael Snyder  <msnyder@vmware.com>

* target.c (update_current_target): Fix spelling error in comment.
(target_mourn_inferior): Fix spelling error in error message.

14 years ago PR ld/11603
Dave Korn [Wed, 9 Jun 2010 18:17:10 +0000 (18:17 +0000)]
PR ld/11603
* pe-dll.c (process_def_file_and_drectve): Reorder check for
forwarded export name after check for ordinary export.

14 years ago * gas/config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
Matthew Gretton-Dann [Wed, 9 Jun 2010 15:11:51 +0000 (15:11 +0000)]
* gas/config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
value.
(parse_operands): Add support for OP_RRnpctw.
(insns): Update floating-point load/store multiples so the
first register is of type OP_RRnpctw.
* gas/testsuite/gas/arm/vldm-arm.d: New test.
* gas/testsuite/gas/arm/vldm-thumb-bad.d: Likewise.
* gas/testsuite/gas/arm/vldm-thumb-bad.l: Likewise.
* gas/testsuite/gas/arm/vldm.s: Likewise.
* gas/testsuite/gas/arm/vldmw-arm-bad.d: Likewise.
* gas/testsuite/gas/arm/vldmw-bad.l: Likewise.
* gas/testsuite/gad/arm-vldmw-bad.s: Likewise.
* gas/testsuite/gas/arm/vldmw-thumb-bad.d: Likewise.

14 years ago * yyscript.y (input_list_element): Allow strings prefixed with
Nick Clifton [Wed, 9 Jun 2010 14:14:18 +0000 (14:14 +0000)]
    * yyscript.y (input_list_element): Allow strings prefixed with
        the '-' character.  Treat these as libraries.
        * script.cc (script_add_library): New function.  Adds a library
        specified by "-l<name>" found in an input script.
        * script-c.h: Add prototype for script_add_library.

14 years ago2010-06-09 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 9 Jun 2010 13:28:31 +0000 (13:28 +0000)]
2010-06-09 Tristan Gingold  <gingold@adacore.com>

* bfdio.c (bfd_bread): Fix the code to prevent reading past the
end of archive members.

14 years agoTrivial correction to two comments in dictionary.h.
Paul N. Hilfinger [Wed, 9 Jun 2010 04:22:27 +0000 (04:22 +0000)]
Trivial correction to two comments in dictionary.h.

Changelog:

  * dictionary.h (dict_iter_name_first, dict_iter_name_next): Refer to
  SYMBOL_SEARCH_NAME, not SYMBOL_BEST_NAME, in comments.

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

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

14 years ago2010-06-08 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Tue, 8 Jun 2010 22:58:03 +0000 (22:58 +0000)]
2010-06-08  Michael Snyder  <msnyder@vmware.com>

* gdb.ada/exec_changed.exp:
Use ".*" instead of "" as wildcard regexp.

* gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
* gdb.base/call-ar-st.exp: Ditto.
* gdb.base/checkpoint.exp: Ditto.
* gdb.base/default.exp: Ditto.
* gdb.base/dump.exp: Ditto.
* gdb.base/ending-run.exp: Ditto.
* gdb.base/fileio.exp: Ditto.
* gdb.base/miscexprs.exp: Ditto.
* gdb.base/pointers.exp: Ditto.
* gdb.base/readline.exp: Ditto.
* gdb.base/reread.exp: Ditto.
* gdb.base/restore.exp: Ditto.
* gdb.base/shlib-call.exp: Ditto.
* gdb.base/valgrind-db-attach.exp: Ditto.
* gdb.base/volatile.exp: Ditto.
* gdb.base/watchpoints.exp: Ditto.

* gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.

* gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
* gdb.python/py-value.exp: Ditto.

* gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
* gdb.trace/circ.exp: Ditto.
* gdb.trace/collection.exp: Ditto.
* gdb.trace/packetlen.exp: Ditto.
* gdb.trace/passc-dyn.exp: Ditto.
* gdb.trace/report.exp: Ditto.
* gdb.trace/tfile.exp: Ditto.
* gdb.trace/tfind.exp: Ditto.
* gdb.trace/while-dyn.exp: Ditto.

14 years ago * emulparams/elf32_tic6x_le.sh (OTHER_BSS_SECTIONS): New.
Bernd Schmidt [Tue, 8 Jun 2010 20:15:18 +0000 (20:15 +0000)]
* emulparams/elf32_tic6x_le.sh (OTHER_BSS_SECTIONS): New.

14 years ago2010-06-08 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Tue, 8 Jun 2010 16:51:33 +0000 (16:51 +0000)]
2010-06-08  Michael Snyder  <msnyder@vmware.com>

* remote.c (remote_close): Set inferior_ptid to null_ptid.

14 years agogdb/
Jan Kratochvil [Tue, 8 Jun 2010 16:41:45 +0000 (16:41 +0000)]
gdb/
* configure.ac <"${have_libpython}" != no>: New workaround of
python#4434.
* configure: Regenerate.

gdb/testsuite/
* gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.

14 years ago2010-06-08 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 8 Jun 2010 15:43:38 +0000 (15:43 +0000)]
2010-06-08  Tristan Gingold  <gingold@adacore.com>

* som.c (som_bfd_free_cached_info): Do not free relocations as
they were allocated with bfd_zalloc.

14 years ago2010-06-08 Quentin Neill <quentin.neill@amd.com>
Sebastian Pop [Tue, 8 Jun 2010 15:42:29 +0000 (15:42 +0000)]
2010-06-08  Quentin Neill  <quentin.neill@amd.com>

* config/tc-i386.c (pi): Rename local loop counter
variable i that shadows global static i386_insn i
when DEBUG386 is defined.
(pte) Ditto.

14 years ago2010-06-08 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 8 Jun 2010 14:04:25 +0000 (14:04 +0000)]
2010-06-08  Tristan Gingold  <gingold@adacore.com>

* vms-lib.c (_bfd_vms_lib_write_archive_contents): Increment
for the first block.

14 years ago * standards.texi: Import current version from gnustandards
Nick Clifton [Tue, 8 Jun 2010 12:15:36 +0000 (12:15 +0000)]
    * standards.texi: Import current version from gnustandards
        project.
        * gnu-oids.texi: New file.

14 years ago * gprof.texi (Sampling Error): Note that call counts and basic
Nick Clifton [Tue, 8 Jun 2010 10:38:48 +0000 (10:38 +0000)]
    * gprof.texi (Sampling Error): Note that call counts and basic
        block counts are only reliable for multi-threaded applications if
        the counting function itself is thread safe.

14 years agoetc/ChangeLog
Nick Clifton [Tue, 8 Jun 2010 10:30:56 +0000 (10:30 +0000)]
etc/ChangeLog

        * standards.texi: Relicense under GFDL v1.3.
        * fdl.texi: Replace with v1.3 text.

gas/ChangeLog

        * doc/as.texinfo: Replace abbreviated 20th century year numbers
        with full versions.

gprof/ChangeLog

        * gprof.texi: Replace abbreviated 20th century year numbers with
        full versions.

ld/ChangeLog

        * fdl.texi: Replace with v1.3 text.
        * ld.texinfo: Replace abbreviated 20th century year numbers with
        full versions.
        * ldint.texinfo: Likewise.
        Relicense under GFDL v1.3.  Replace text of v1.1 FDL with an
        include of the fdl.texi file.

14 years agooops - omitted from previous delta
Nick Clifton [Tue, 8 Jun 2010 10:15:48 +0000 (10:15 +0000)]
oops - omitted from previous delta

14 years ago * reg.c (set_oszc): Use unsigned int for the mask.
Nick Clifton [Tue, 8 Jun 2010 09:15:17 +0000 (09:15 +0000)]
    * reg.c (set_oszc): Use unsigned int for the mask.
        (set_szc, set_osz, set_sz): Likewise.

14 years ago2010-06-08 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 8 Jun 2010 08:26:01 +0000 (08:26 +0000)]
2010-06-08  Tristan Gingold  <gingold@adacore.com>

* vms-lib.c (_bfd_vms_lib_ia64_mkarchive): New function.
* libbfd-in.h (_bfd_vms_lib_ia64_mkarchive): Declare.
* libbfd.h: Regenerate.
* elfxx-ia64.c (bfd_elfNN_write_archive_contents): Redefine for VMS.
(bfd_elfNN_mkarchive): Ditto.

14 years ago2010-06-08 Hui Zhu <teawater@gmail.com>
Hui Zhu [Tue, 8 Jun 2010 02:25:31 +0000 (02:25 +0000)]
2010-06-08  Hui Zhu  <teawater@gmail.com>

* record.c (record_wait): Move signal out of replay code.

14 years ago2010-06-07 Doug Kwan <dougkwan@google.com>
Doug Kwan [Tue, 8 Jun 2010 00:33:41 +0000 (00:33 +0000)]
2010-06-07  Doug Kwan  <dougkwan@google.com>

* arm.cc (Target_arm::do_relax): Reserve more space for stubs.
Restrict stub-group size to be within long conditional branch
range when working around cortex-A8 erratum.

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

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

14 years agogdb/
Jan Kratochvil [Mon, 7 Jun 2010 19:55:33 +0000 (19:55 +0000)]
gdb/
Fix PR 10640.
* dwarf2-frame.c (no_dwarf_call): New function.
(execute_stack_op): Set CTX->DWARF_CALL.
* dwarf2expr.c (execute_stack_op) <DW_OP_call2, DW_OP_call4>: New.
* dwarf2expr.h (struct dwarf_expr_context) <dwarf_call>: New.
(struct dwarf_expr_context) <get_subr>: Remove the #if0-ed field.
* dwarf2loc.c (per_cu_dwarf_call, dwarf_expr_dwarf_call): New functions.
(dwarf2_evaluate_loc_desc): Initialize CTX->DWARF_CALL.
(needs_frame_dwarf_call): New function.
(dwarf2_loc_desc_needs_frame): Initialize CTX->DWARF_CALL.
* dwarf2read.c (follow_die_offset): Based on former follow_die_ref.
Update the comment.  Move variables die, offset and error call to ...
(follow_die_ref): ... a new function.
(dwarf2_fetch_die_location_block): New function.
* dwarf2loc.h (dwarf2_fetch_die_location_block): New prototype.

gdb/testsuite/
Test PR 10640.
* gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.

14 years agogdb/
Jan Kratochvil [Mon, 7 Jun 2010 19:42:58 +0000 (19:42 +0000)]
gdb/
* dwarf2loc.c (struct dwarf_expr_baton) Replace objfile by per_cu.
(dwarf_expr_tls_address): Use per_cu instead of objfile.
(dwarf2_evaluate_loc_desc): Drop initialization of BATON.OBJFILE.
Initialize new BATON.PER_CU.  Adjust CTX->GDBARCH initialization for
this change.
(struct needs_frame_baton): New field per_cu.
(dwarf2_loc_desc_needs_frame): Initialize new BATON.PER_CU.
* dwarf2read.c (struct dwarf2_per_cu_data) <cu>: Extend the comment.

14 years agoFix operator doubly nested namespace search.
Sami Wagiaalla [Mon, 7 Jun 2010 17:51:03 +0000 (17:51 +0000)]
Fix operator doubly nested namespace search.

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

* cp-support.c (make_symbol_overload_list_namespace): Only search
static and global blocks.
(make_symbol_overload_list_block): New function.
(make_symbol_overload_list): Separate namespace search from block
search.
(make_symbol_overload_list_qualified): Use
make_symbol_overload_list_block.

14 years agoTest and support all cpp operator types.
Sami Wagiaalla [Mon, 7 Jun 2010 16:11:35 +0000 (16:11 +0000)]
Test and support all cpp operator types.

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

* value.h: Created oload_search_type enum.
(find_overload_match): Use oload_search_type enum.
* valops.c (find_overload_match): Support combined member and
non-member search.
* eval.c (evaluate_subexp_standard): Calls to
find_overload_match now use oload_search_type enum.
(oload_method_static): Verify index is a proper value.
* valarith.c (value_user_defined_cpp_op): Search for and handle
both member and non-member operators.
(value_user_defined_cpp_op): New function.
(value_user_defined_op): New function.
(value_x_unop): Use value_user_defined_op.
(value_x_binop): Ditto.
* cp-support.c (make_symbol_overload_list_using): Added block
iteration.
Add check for namespace aliases and imported declarations.

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

* gdb.cp/koenig.exp: Test for ADL operators.
* gdb.cp/koenig.cc: Added ADL operators.
* gdb.cp/operator.exp: New test.
* gdb.cp/operator.cc: New test.

14 years ago * gold-threads.cc (Lock_impl_threads::Lock_impl_threads): Correct
Ian Lance Taylor [Mon, 7 Jun 2010 15:00:44 +0000 (15:00 +0000)]
* gold-threads.cc (Lock_impl_threads::Lock_impl_threads): Correct
#ifdef typo.

14 years agogdb/
Jan Kratochvil [Mon, 7 Jun 2010 13:39:10 +0000 (13:39 +0000)]
gdb/
* breakpoint.h (owner): Extend the comment.

14 years agogdb/
Jan Kratochvil [Mon, 7 Jun 2010 13:38:25 +0000 (13:38 +0000)]
gdb/
Clear stale specific bp_location from former whole breakpoint.
* breakpoint.c (delete_breakpoint): Move the stale referencing clear
code ...
(free_bp_location): ... here.  Rename there the called function to
bpstat_remove_bp_location_callback.
(bpstat_remove_breakpoint_callback): Rename to ...
(bpstat_remove_bp_location_callback): ... here, change DATA resolution
to struct bp_location.  Change the called function to
bpstat_remove_bp_location.  Create new declaration for the function.
(bpstat_remove_breakpoint): Rename to ...
(bpstat_remove_bp_location): ..., change the parameter to loc, adjust
code for the new parameter type.

14 years ago * gas/testsuite/gas/arm/thumb-eabi.d: Add case for divided syntax encoding of movs.
Matthew Gretton-Dann [Mon, 7 Jun 2010 10:43:52 +0000 (10:43 +0000)]
* gas/testsuite/gas/arm/thumb-eabi.d: Add case for divided syntax encoding of movs.
* gas/testsuite/gas/arm/thumb.d: Likewise.
* gas/testsuite/gas/arm/thumb.s: Likewise.
* gas/testsuite/gas/arm/thumb2_it.d: Update for change in lsls/movs disassembly.
* gas/testsuite/gas/arm/thumb2_it_auto.d: Liekwise.
* gas/testsuite/gas/arm/thumb32.d: Likewise.
* ld/testsuite/ld-arm/arm-call.d: Handle change in lsls/movs disassembly.
* ld/testsuite/ld-arm/farcall-thumb-arm-short.d: Likewise.
* ld/testsuite/ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Likewise.
* ld/testsuite/ld-arm/farcall-thumb-thumb-blx.d: Likewise.
* ld/testsuite/ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Likewise.
* ld/testsuite/ld-arm/farcall-thumb-thumb-m.d: Likewise.
* ld/testsuite/ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise.
* ld/testsuite/ld-arm/farcall-thumb-thumb.d: Likewise.
* ld/testsuite/ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: Likewise.
* ld/testsuite/ld-arm/thumb2-bl-as-thumb1-bad.d: Likewise.
* ld/testsuite/ld-arm/thumb2-bl-bad-noeabi.d: Likewise.
* ld/testsuite/ld-arm/thumb2-bl-bad.d: Likewise.
* opcodes/arm-dis.c (thumb-opcodes): Add disassembly for movs.

14 years ago * README: Make version-agnostic.
Nathan Sidwell [Mon, 7 Jun 2010 07:42:49 +0000 (07:42 +0000)]
* README: Make version-agnostic.

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

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

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

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

14 years agogdb/
Jan Kratochvil [Sat, 5 Jun 2010 14:11:54 +0000 (14:11 +0000)]
gdb/
Fix duplicate types for single DIE.
* dwarf2read.c (read_structure_type): Move set_descriptive_type after
set_die_type.
(read_array_type): Remove type initialization.  Recheck get_die_type
after initial die_type.  Move set_die_type before set_descriptive_type.
(read_set_type): New variable domain_type.  Recheck get_die_type after
initial die_type.  Move attr initialization later.
(read_tag_pointer_type, read_tag_reference_type): New variable
target_type.  Recheck get_die_type after initial die_type.
(read_tag_ptr_to_member_type): Recheck get_die_type after initial
die_type and die_containing_type.
(read_tag_const_type, read_tag_volatile_type, read_subroutine_type):
Recheck get_die_type after initial die_type.
(read_subrange_type): Recheck get_die_type after initial die_type.
Move set_die_type before set_descriptive_type.
(set_die_type): Extend the function comment.  Call complaint if DIE has
some type already set.

14 years ago * mi/mi-main.c (mi_cmd_list_thread_groups): Adjust
Vladimir Prus [Sat, 5 Jun 2010 05:56:02 +0000 (05:56 +0000)]
* mi/mi-main.c (mi_cmd_list_thread_groups): Adjust
for current naming of thread groups (iN, not N).

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

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

14 years ago2010-06-04 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Fri, 4 Jun 2010 23:09:15 +0000 (23:09 +0000)]
2010-06-04  Michael Snyder  <msnyder@vmware.com>

* gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.

14 years ago2010-06-04 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Fri, 4 Jun 2010 22:15:29 +0000 (22:15 +0000)]
2010-06-04  Michael Snyder  <msnyder@vmware.com>

* gdb.base/pending.exp: Replace gdb_test_multiple with gdb_test.

14 years ago2010-06-04 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Fri, 4 Jun 2010 21:45:04 +0000 (21:45 +0000)]
2010-06-04  Michael Snyder  <msnyder@vmware.com>

* gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.

14 years ago2010-06-04 Sergio Durigan Junior <sergiodj@redhat.com>
Sergio Durigan Junior [Fri, 4 Jun 2010 21:39:47 +0000 (21:39 +0000)]
2010-06-04  Sergio Durigan Junior  <sergiodj@redhat.com>

* ada-lang.c (ada_operator_length): Constify `struct expression'.
* parse.c (operator_length): Likewise.
(operator_length_standard): Likewise.
* parser-defs.h (operator_length): Likewise.
(operator_length_standard): Likewise.
(struct exp_descriptor <operator_length>): Likewise.

14 years agoremove trailing whitespace in previous checkin
Doug Evans [Fri, 4 Jun 2010 21:20:21 +0000 (21:20 +0000)]
remove trailing whitespace in previous checkin

14 years ago Add support for enabling/disabling individual pretty-printers.
Doug Evans [Fri, 4 Jun 2010 18:18:28 +0000 (18:18 +0000)]
Add support for enabling/disabling individual pretty-printers.
* python/py-prettyprint.c (search_pp_list): Skip disabled printers.
* python/python-internal.h (gdbpy_enabled_cst): Declare.
* python/python.c (gdbpy_enabled_cst): Define.
(_initialize_python): Initialize gdbpy_enabled_cst.
* NEWS: Add entry.

doc/
* gdb.texinfo (Python API): New node `Disabling Pretty-Printers'.

testsuite/
* gdb.python/py-prettyprint.exp: Add new test for enabled and
disabled printers.
* gdb.python/py-prettyprint.py (disable_lookup_function): New function.
(enable_lookup_function): New function.

14 years agogdb/
Jan Kratochvil [Fri, 4 Jun 2010 16:48:02 +0000 (16:48 +0000)]
gdb/
* breakpoint.c (update_global_location_list): Fix comment typo.

14 years ago * gdb.python/py-value.exp (test_value_hash): Don't test equality
Tom Tromey [Fri, 4 Jun 2010 16:40:15 +0000 (16:40 +0000)]
* gdb.python/py-value.exp (test_value_hash): Don't test equality
of hash and id.

14 years agogdb/testsuite/
Jan Kratochvil [Fri, 4 Jun 2010 14:26:52 +0000 (14:26 +0000)]
gdb/testsuite/
* gdb.base/commands.exp (add printf tbreak command): Remove trailing
newline.
* gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
(empty verbose non-noisy clear, empty verbose noisy clear)
(empty non-verbose noisy clear): Likewise.

14 years ago2010-06-04 Hui Zhu <teawater@gmail.com>
Hui Zhu [Fri, 4 Jun 2010 02:39:16 +0000 (02:39 +0000)]
2010-06-04  Hui Zhu  <teawater@gmail.com>

* dwarf2loc.c (disassemble_dwarf_expression): Change ul to l.

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

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

14 years ago2010-06-03 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Thu, 3 Jun 2010 23:54:18 +0000 (23:54 +0000)]
2010-06-03  Michael Snyder  <msnyder@vmware.com>

* gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
* gdb.base/display.exp: Ditto.
* gdb.base/find.exp: Ditto.
* gdb.base/ifelse.exp: Ditto.
* gdb.base/multi-forks.exp: Ditto.
* gdb.base/recurse.exp: Ditto.
* gdb.base/setshow.exp: Ditto.
* gdb.base/value-double-free.exp: Ditto.
* gdb.base/watch-vfork.exp: Ditto.
* gdb.base/watch_thread_num.exp: Ditto.
* gdb.base/watchpoint-solib.exp: Ditto.
* gdb.base/watchpoint.exp: Ditto.
* gdb.base/watchpoints.exp: Ditto.

* gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
* gdb.cp/overload.exp: Ditto.
* gdb.cp/virtfunc.exp: Ditto.

* gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.

* gdb.reverse/watch-precsave.exp:
Replace gdb_test with gdb_test_no_output.

* gdb.threads/attach-into-signal.exp:
Replace gdb_test with gdb_test_no_output.
* gdb.threads/local-watch-wrong-thread.exp: Ditto.
* gdb.threads/watchthreads.exp: Ditto.
* gdb.threads/watchthreads2.exp: Ditto.

* gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
* gdb.trace/tfind.exp: Ditto.

14 years agodo not emit PASS for gdb_test_no_output test if message is empty string.
Joel Brobecker [Thu, 3 Jun 2010 20:29:27 +0000 (20:29 +0000)]
do not emit PASS for gdb_test_no_output test if message is empty string.

This patch makes gdb_test_no_output not emit a PASS for a sucessful
test when the message is the empty string. As requested, this makes
it consistent with what gdb_test does.

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

        * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
        successful test if message is the empty string.

14 years ago * gdbint.texinfo (Coding): Add subsection on command names.
Doug Evans [Thu, 3 Jun 2010 19:06:59 +0000 (19:06 +0000)]
* gdbint.texinfo (Coding): Add subsection on command names.

14 years ago * configure.ac: Don't fail if python is unusable when
Doug Evans [Thu, 3 Jun 2010 18:58:39 +0000 (18:58 +0000)]
* configure.ac: Don't fail if python is unusable when
configured with --with-python=auto.
* configure: Regenerate.

14 years ago PR gold/11658
Sriraman Tallam [Thu, 3 Jun 2010 18:01:19 +0000 (18:01 +0000)]
PR gold/11658
* output.cc
(Output_section::Input_section_sort_entry::compare_section_ordering):
Change to return non-zero correctly.
(Output_section::Input_section_sort_section_order_index_compare
::operator()): Change to fix ambiguity in comparisons.

14 years ago2010-06-02 Quentin Neill <quentin.neill@amd.com>
Sebastian Pop [Thu, 3 Jun 2010 17:00:30 +0000 (17:00 +0000)]
2010-06-02  Quentin Neill  <quentin.neill@amd.com>

* config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.

14 years agomerge from gcc
DJ Delorie [Thu, 3 Jun 2010 16:54:11 +0000 (16:54 +0000)]
merge from gcc

14 years agoRemove redundant naming of symbol from new_symbol.
Sami Wagiaalla [Thu, 3 Jun 2010 15:39:43 +0000 (15:39 +0000)]
Remove redundant naming of symbol from new_symbol.

2010-06-03  Sami Wagiaalla  <swagiaal@redhat.com>

* dwarf2read.c (new_symbol): Remove redundant naming of symbol.

14 years ago2010-06-02 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 3 Jun 2010 07:36:04 +0000 (07:36 +0000)]
2010-06-02  Tristan Gingold  <gingold@adacore.com>

* as.h: Remove conditionnal definition of HAVE_STDARG_H,
USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
Remove conditionnal inclusion of stdarg.h and varargs.h.
Assume ISO C.
* config.in: Regenerate.
* configure: Regenerate.
* configure.in: Remove stdarg.h and varargs.h from
AC_CHECK_HEADERS list.
* messages.c (as_tsktsk): Remove non ISO C version.
(as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.

14 years ago * valprint.h (get_array_bounds): Change low and high parameter types
Pierre Muller [Thu, 3 Jun 2010 06:50:49 +0000 (06:50 +0000)]
* valprint.h (get_array_bounds): Change low and high parameter types
to LONGEST *.
* valprint.c (get_array_bounds): Use get_discrete_bounds call to
compute bounds.
(val_print_array_elements): Adapt to change above.
* ada-valprint.c (print_optional_low_bound): Adapt to change above.
* p-valprint.c (pascal_val_print): Likewise.

14 years agoImport AC_CHECK_DECL for C++ fixes from git Autoconf.
Ralf Wildenhues [Thu, 3 Jun 2010 06:33:10 +0000 (06:33 +0000)]
Import AC_CHECK_DECL for C++ fixes from git Autoconf.

config/:
Sync from GCC:
PR bootstrap/42798
* override.m4 (_AC_CHECK_DECL_BODY, _AC_CHECK_DECLS): Import
definitions from git Autoconf.

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

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

14 years agogdb/
Jan Kratochvil [Wed, 2 Jun 2010 23:01:01 +0000 (23:01 +0000)]
gdb/
* symfile.c (init_filename_language_table): New extensions .for, .FOR,
.ftn, .FTN, .fpp, .FPP, .f90, .F90, .f95, .F95, .f03, .F03, .f08 and
.F08.

gdb/testsuite/
* gdb.fortran/module.exp (stopped language detection): New test.

14 years agogdb/
Jan Kratochvil [Wed, 2 Jun 2010 22:41:56 +0000 (22:41 +0000)]
gdb/
Support DW_TAG_module as separate namespaces.
* dwarf2read.c (typename_concat): New parameter physname.
(read_module_type): New function and declaration.
(scan_partial_symbols): Scan also DW_TAG_module children.
(partial_die_parent_scope): Accept scope even from DW_TAG_module. Pass
to typename_concat backward compatible physname value 0.
(partial_die_full_name, read_namespace_type): Pass to typename_concat
backward compatible physname value 0.
(add_partial_module, read_module): Remove FIXME comment.
(process_die) <DW_TAG_module>: Set PROCESSING_HAS_NAMESPACE_INFO.
(die_needs_namespace) <DW_TAG_variable>: Allow returning true even for
DIEs under DW_TAG_module.
(dwarf2_compute_name): Move the ada block for DW_AT_linkage_name and
DW_AT_MIPS_linkage_name first, extend it for language_fortran
&& physname and return there instead of just setting NAME.  Extend
the main block for language_fortran.  Pass physname parameter to the
typename_concat call.
(read_import_statement, read_func_scope, get_scope_pc_bounds)
(load_partial_dies, determine_prefix): Support also DW_TAG_module.
(new_symbol): Fill in cplus_specific.demangled_name if it is still
missing from SYMBOL_SET_NAMES in the language_fortran case.
(new_symbol) <DW_TAG_variable>: Force LOC_UNRESOLVED for gfortran module
variables.
(read_type_die) <DW_TAG_module>: New.
(MAX_SEP_LEN): Increase to 7.
(typename_concat): New parameter physname.  New variable lead.  Support
also language_fortran.
* f-exp.y (yylex): Consider : also as a symbol name character class.
* f-lang.c: Include cp-support.h.
(f_word_break_characters, f_make_symbol_completion_list): New functions.
(f_language_defn): Use cp_lookup_symbol_nonlocal,
f_word_break_characters and f_make_symbol_completion_list.
* f-typeprint.c (f_type_print_base) <TYPE_CODE_MODULE>: New.
* gdbtypes.h (enum type_code) <TYPE_CODE_MODULE>: New.
* symtab.c (symbol_init_language_specific): Support language_fortran.
(symbol_find_demangled_name): New comment on language_fortran.
(symbol_natural_name, symbol_demangled_name): Use demangled_name even
for language_fortran.
(lookup_symbol_aux_local): Check imports also for language_fortran.
(default_make_symbol_completion_list): Rename to ...
(default_make_symbol_completion_list_break_on): ... this name.  New
parameter break_on, use it.
(default_make_symbol_completion_list): New stub.
* symtab.h (default_make_symbol_completion_list_break_on): New
prototype.

gdb/testsuite/
Support DW_TAG_module as separate namespaces.
* gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
gdb.fortran/library-module-lib.f90: New.
* gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
(print i): Remove.
(continue to breakpoint: i-is-1, print var_i value 1)
(continue to breakpoint: i-is-2, print var_i value 2)
(continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
(print var_d, print var_i value 14, ptype modmany, complete `modm)
(complete `modmany, complete `modmany`, complete `modmany`var)
(show language, setting breakpoint at module): New tests.
* gdb.fortran/module.f90 (module mod): Remove.
(module mod1, module mod2, module modmany, subroutine sub1)
(subroutine sub2, program module): New.

14 years agogdb/testsuite/
Jan Kratochvil [Wed, 2 Jun 2010 22:24:15 +0000 (22:24 +0000)]
gdb/testsuite/
* gdb.cp/anon-union.exp (pass): Rename to ...
(print z 2): ... here.

14 years agoFix ARI warning in remote.c (no trailing \n in call to error)
Joel Brobecker [Wed, 2 Jun 2010 22:21:53 +0000 (22:21 +0000)]
Fix ARI warning in remote.c (no trailing \n in call to error)

        * remote.c (remote_get_noisy_reply): Remove trailing "\n" in call
        to error.

14 years agogdb/testsuite/
Jan Kratochvil [Wed, 2 Jun 2010 22:20:12 +0000 (22:20 +0000)]
gdb/testsuite/
* gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
(print value of rUC, print value of rI, print value of UI): ... here.

14 years ago2010-06-02 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Wed, 2 Jun 2010 21:55:28 +0000 (21:55 +0000)]
2010-06-02  Michael Snyder  <msnyder@vmware.com>

* gdb.trace/actions.exp: Use gdb_test_no_output.
* gdb.trace/circ.exp: Ditto.
* gdb.trace/packetlen.exp: Ditto.
* gdb.trace/save-trace.exp: Ditto.
* gdb.trace/tracecmd.exp: Ditto.
* gdb.trace/tsv.exp: Ditto.

14 years ago2010-06-02 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Wed, 2 Jun 2010 21:53:28 +0000 (21:53 +0000)]
2010-06-02  Michael Snyder  <msnyder@vmware.com>

* gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
* gdb.threads/hand-call-in-thraeds.exp: Ditto.
* gdb.threads/local-watch-wrong-thread.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/staticthreads.exp: Ditto.
* gdb.threads/thread-specific.exp: Ditto.
* gdb.threads/thread-unwindonsignal.exp: Ditto.
* gdb.threads/threadapply.exp: Ditto.
* gdb.threads/watchthreads.exp: Ditto.
* gdb.threads/watchthreads2.exp: Ditto.

14 years ago2010-06-02 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Wed, 2 Jun 2010 21:50:56 +0000 (21:50 +0000)]
2010-06-02  Michael Snyder  <msnyder@vmware.com>

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

* gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
* gdb.reverse/watch-reverse.exp: Ditto.

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

14 years ago2010-06-02 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Wed, 2 Jun 2010 21:46:45 +0000 (21:46 +0000)]
2010-06-02  Michael Snyder  <msnyder@vmware.com>

* gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
* gdb.dwarf2/dw2-compressed.exp: Ditto.
* gdb.dwarf2/dw2-intercu.exp: Ditto.
* gdb.dwarf2/dw2-intermix.exp: Ditto.
* gdb.dwarf2/dw2-producer.exp: Ditto.
* gdb.dwarf2/mac-fileno.exp: Ditto.

* gdb.gdb/observer.exp: Use gdb_test_no_output.
* gdb.gdb/selftest.exp: Ditto.

* gdb.multi/base.exp: Use gdb_test_no_output.

* gdb.opt/inline-cmds.exp: Use gdb_test_no_output.

14 years agogdb/testsuite/
Jan Kratochvil [Wed, 2 Jun 2010 21:38:32 +0000 (21:38 +0000)]
gdb/testsuite/
* gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.

14 years agogdb/
Jan Kratochvil [Wed, 2 Jun 2010 20:03:42 +0000 (20:03 +0000)]
gdb/
* dwarf2read.c (typename_concat): Add const to the variable sep.

14 years ago2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
Michael Snyder [Wed, 2 Jun 2010 20:03:16 +0000 (20:03 +0000)]
2010-06-02  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>

* gdb.cp/class2.exp: Use gdb_test_no_output.
* gdb.cp/classes.exp: Ditto.
* gdb.cp/extern-c.exp: Ditto.
* gdb.cp/inherit.exp: Ditto.
* gdb.cp/maint.exp: Ditto.
* gdb.cp/mb-inline.exp: Ditto.
* gdb.cp/mb-templates.exp: Ditto.
* gdb.cp/method2.exp: Ditto.
* gdb.cp/misc.exp: Ditto.
* gdb.cp/ovldbreak.exp: Ditto.
* gdb.cp/punctuator.exp: Ditto.
* gdb.cp/templates.exp: Ditto.
* gdb.cp/virtbase.exp: Ditto.

14 years ago2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
Michael Snyder [Wed, 2 Jun 2010 19:58:21 +0000 (19:58 +0000)]
2010-06-02  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>

* gdb.threads/attach-stopped.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.threads/attachstop-mt.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.threads/gcore-thread.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.threads/hand-call-in-threads.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
* gdb.threads/print-threads.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
* gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
* gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.

14 years ago2010-05-26 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
Michael Snyder [Wed, 2 Jun 2010 19:41:11 +0000 (19:41 +0000)]
2010-05-26  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>

* gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.

14 years agogdb
Tom Tromey [Wed, 2 Jun 2010 19:37:56 +0000 (19:37 +0000)]
gdb
* dwarf2loc.h (dwarf2_per_cu_data): Declare.
* dwarf2read.c (dwarf_stack_op_name): No longer static.  Return
type is const.  Add 'def' argument.  Add missing operators, remove
unhandled ones.
(decode_locdesc): Update.
(dwarf2_always_disassemble): New global.
(show_dwarf2_always_disassemble): New function.
(_initialize_dwarf2_read): Add always-disassemble.
(dwarf2_per_cu_offset_size): New function.
* dwarf2loc.c (dwarf2_always_disassemble): Declare.
(piece_end_p): New function.
(locexpr_describe_location_piece): Replace 'size' argument with
'end'.  Use piece_end_p.  Rewrite recognition of TLS.  Recognize
some constants.  Remove errors.
(disassemble_dwarf_expression): New function.
(locexpr_describe_location_1): Use disassemble_dwarf_expression.
Add 'offset_size' argument.
(loclist_describe_location): Change output formatting.
* dwarf2expr.h (dwarf_stack_op_name): Declare.
gdb/doc
* gdb.texinfo (Maintenance Commands): Document maint set dwarf2
always-disassemble.

14 years agogdb/testsuite/
Jan Kratochvil [Wed, 2 Jun 2010 17:35:16 +0000 (17:35 +0000)]
gdb/testsuite/
* gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.

14 years agoFix ADL anonymous name crash.
Sami Wagiaalla [Wed, 2 Jun 2010 15:31:30 +0000 (15:31 +0000)]
Fix ADL anonymous name crash.

2010-06-02  Sami Wagiaalla  <swagiaal@redhat.com>

* cp-support.c (make_symbol_overload_list_adl_namespace): Handle
anonymous type case.

2010-06-02  Sami Wagiaalla  <swagiaal@redhat.com>

* gdb.cp/koenig.exp: Added new test case.
* gdb.cp/koenig.cc: Ditto.

14 years ago2010-06-02 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 2 Jun 2010 08:01:30 +0000 (08:01 +0000)]
2010-06-02  Tristan Gingold  <gingold@adacore.com>

* vms-alpha.c (alpha_vms_bfd_final_link): Fix 64bit constant.

14 years ago * dwarf2read.c (read_subrange_type): Handle missing base type
Pierre Muller [Wed, 2 Jun 2010 06:24:00 +0000 (06:24 +0000)]
* dwarf2read.c (read_subrange_type): Handle missing base type
according to Dwarf-2 specifications.

14 years ago2010-06-01 Sergio Durigan Junior <sergiodj@redhat.com>
Sergio Durigan Junior [Wed, 2 Jun 2010 00:40:40 +0000 (00:40 +0000)]
2010-06-01  Sergio Durigan Junior  <sergiodj@redhat.com>

* expprint.c (print_subexp_standard): Remove exp_opcodes BINOP_INCL,
BINOP_EXCL.
(op_name_standard): Remove exp_opcodes BINOP_INCL, BINOP_EXCL,
UNOP_LOWER, UNOP_UPPER, UNOP_LENGTH.
(dump_subexp_body_standard): Remove exp_opcodes BINOP_INCL,
BINOP_EXCL, UNOP_LOWER, UNOP_UPPER, UNOP_LENGTH, UNOP_CARD,
UNOP_CHMAX, UNOP_CHMIN.
* expression.h (enum exp_opcode) <BINOP_INCL, BINOP_EXCL,
UNOP_LOWER, UNOP_UPPER, UNOP_LENGTH, UNOP_CARD, UNOP_CHMAX,
UNOP_CHMIN>: Remove opcodes.

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