OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
14 years ago PR other/43838
jakub [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>
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>
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/
gingold [Thu, 10 Jun 2010 08:51:44 +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:
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>
gingold [Thu, 10 Jun 2010 08:19:51 +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>
gingold [Thu, 10 Jun 2010 08:16:08 +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/
jbeulich [Thu, 10 Jun 2010 07:10:02 +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
amodra [Thu, 10 Jun 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago2010-06-09 Michael Snyder <msnyder@vmware.com>
msnyder [Wed, 9 Jun 2010 18:25:32 +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
davek [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 * libc/include/sys/reent.h (_reent): Adjust _REENT_SMALL to be
kazu [Wed, 9 Jun 2010 15:15:35 +0000 (15:15 +0000)]
* libc/include/sys/reent.h (_reent): Adjust _REENT_SMALL to be
binary compatible with normal layout.
(_REENT_INIT): Adjust to match struct layout.

14 years ago * gas/config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
mgretton [Wed, 9 Jun 2010 15:11:47 +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
nickc [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>
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 ago * path.cc (symlink_info::check_shortcut): Use ro_u_empty rather than
corinna [Wed, 9 Jun 2010 12:32:10 +0000 (12:32 +0000)]
* path.cc (symlink_info::check_shortcut): Use ro_u_empty rather than
local UNICODE_STRING object.
(symlink_info::check_sysfile): Ditto.  Return immediately if NtOpenFile
failed to avoid closing random handle.  Improve debug output in case
NtReadFile failed.

14 years agoTrivial correction to two comments in dictionary.h.
hilfingr [Wed, 9 Jun 2010 04:22:24 +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
amodra [Wed, 9 Jun 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago2010-06-08 Michael Snyder <msnyder@vmware.com>
msnyder [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 ago2010-06-08 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 8 Jun 2010 21:47:57 +0000 (21:47 +0000)]
2010-06-08  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/wordexp.h: Add __cplusplus wrapper.

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

14 years ago2010-06-08 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 8 Jun 2010 18:44:11 +0000 (18:44 +0000)]
2010-06-08  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.in: Add test for enable-newlib-register-fini
        to set the _WANT_REGISTER_FINI flag.
        * configure: Regenerated.
        * Makefile.in: Ditto.
        * newlib.hin: Add _WANT_REGISTER_FINI flag.
        * libc/stdlib/__call_atexit.c: Add test for
        _WANT_REGISTER_FINI to enable the register_fini function.

14 years ago2010-06-08 Michael Snyder <msnyder@vmware.com>
msnyder [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/
jkratoch [Tue, 8 Jun 2010 16:41:38 +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>
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>
spop [Tue, 8 Jun 2010 15:42:28 +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 ago * path.cc (symlink_info::check): Set h to NULL after closing handle
corinna [Tue, 8 Jun 2010 15:25:09 +0000 (15:25 +0000)]
* path.cc (symlink_info::check): Set h to NULL after closing handle
in udf check.  Remove overagressive bracketing.  Don't set h to NULL
without closing the handle.  Fix using wrong handle in checking
file system when using parent directory handle.

14 years ago2010-06-08 Tristan Gingold <gingold@adacore.com>
gingold [Tue, 8 Jun 2010 14:04:24 +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
nickc [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
nickc [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
nickc [Tue, 8 Jun 2010 10:30:54 +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
nickc [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.
nickc [Tue, 8 Jun 2010 09:15:15 +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>
gingold [Tue, 8 Jun 2010 08:26:00 +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>
teawater [Tue, 8 Jun 2010 02:25:29 +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>
dougkwan [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
amodra [Tue, 8 Jun 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years agogdb/
jkratoch [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/
jkratoch [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.
swagiaal [Mon, 7 Jun 2010 17:50:58 +0000 (17:50 +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.
swagiaal [Mon, 7 Jun 2010 16:11:26 +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 [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/
jkratoch [Mon, 7 Jun 2010 13:39:10 +0000 (13:39 +0000)]
gdb/
* breakpoint.h (owner): Extend the comment.

14 years agogdb/
jkratoch [Mon, 7 Jun 2010 13:38:24 +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.
mgretton [Mon, 7 Jun 2010 10:43:50 +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 * include/sys/stdio.h: Remove _GNU_SOURCE guard around getline
corinna [Mon, 7 Jun 2010 09:16:11 +0000 (09:16 +0000)]
* include/sys/stdio.h: Remove _GNU_SOURCE guard around getline
and getdelim prototypes since they are SUSv4 now.

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

14 years agodaily update
amodra [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
amodra [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/
jkratoch [Sat, 5 Jun 2010 14:11:53 +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
vprus [Sat, 5 Jun 2010 05:55:59 +0000 (05:55 +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
amodra [Sat, 5 Jun 2010 00:00:07 +0000 (00:00 +0000)]
daily update

14 years ago2010-06-04 Michael Snyder <msnyder@vmware.com>
msnyder [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>
msnyder [Fri, 4 Jun 2010 22:15:28 +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>
msnyder [Fri, 4 Jun 2010 21:45:02 +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>
sergiodj [Fri, 4 Jun 2010 21:39:46 +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
devans [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.
devans [Fri, 4 Jun 2010 18:18:24 +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/
jkratoch [Fri, 4 Jun 2010 16:47:58 +0000 (16:47 +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
tromey [Fri, 4 Jun 2010 16:40:13 +0000 (16:40 +0000)]
* gdb.python/py-value.exp (test_value_hash): Don't test equality
of hash and id.

14 years ago2010-06-04 Mark Mitchell <mark@codesourcery.com>
jjohnstn [Fri, 4 Jun 2010 15:30:39 +0000 (15:30 +0000)]
2010-06-04  Mark Mitchell  <mark@codesourcery.com>

        * libc/stdlib/__call_atexit.c (__libc_fini): Declare.
        (register_fini): New function.
        * libc/misc/init.c (_fini): Remove.
        (__libc_fini_array): Likewise.
        * libc/misc/fini.c: New file.
        * libc/misc/Makefile.am (LIB_SOURCES): Add fini.c.
        * libc/misc/Makefile.in: Regenerate.

14 years agogdb/testsuite/
jkratoch [Fri, 4 Jun 2010 14:26:47 +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>
teawater [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
amodra [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>
msnyder [Thu, 3 Jun 2010 23:54:17 +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.
brobecke [Thu, 3 Jun 2010 20:29:26 +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.
devans [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
devans [Thu, 3 Jun 2010 18:58:38 +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
tmsriram [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>
spop [Thu, 3 Jun 2010 17:00:27 +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 [Thu, 3 Jun 2010 16:54:11 +0000 (16:54 +0000)]
merge from gcc

14 years agoRemove redundant naming of symbol from new_symbol.
swagiaal [Thu, 3 Jun 2010 15:39:39 +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>
gingold [Thu, 3 Jun 2010 07:35:56 +0000 (07:35 +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
muller [Thu, 3 Jun 2010 06:50:47 +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.
rwild [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
amodra [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/
jkratoch [Wed, 2 Jun 2010 23:01:00 +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/
jkratoch [Wed, 2 Jun 2010 22:41:55 +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/
jkratoch [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)
brobecke [Wed, 2 Jun 2010 22:21:52 +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/
jkratoch [Wed, 2 Jun 2010 22:20:11 +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>
msnyder [Wed, 2 Jun 2010 21:55:27 +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>
msnyder [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>
msnyder [Wed, 2 Jun 2010 21:50:55 +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>
msnyder [Wed, 2 Jun 2010 21:46:44 +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/
jkratoch [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/
jkratoch [Wed, 2 Jun 2010 20:03:40 +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>
msnyder [Wed, 2 Jun 2010 20:03:15 +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>
msnyder [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>
msnyder [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
tromey [Wed, 2 Jun 2010 19:37:54 +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/
jkratoch [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.