Jan Beulich [Fri, 11 Jun 2010 15:07:53 +0000 (15:07 +0000)]
gas/
2010-06-11 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (md_parse_option): Ignore impossible processor
types.
(show_arch): New parameter 'check'.
(md_show_usage): Adjust calls to show_arch().
Jan Kratochvil [Fri, 11 Jun 2010 12:58:54 +0000 (12:58 +0000)]
gdb/
* breakpoint.c (breakpoint_restore_shadows): New OWNER comment.
(should_be_inserted): Return zero also on NULL OWNER.
(breakpoint_program_space_exit): New OWNER comment.
(insert_breakpoint_locations): Extend comment for OWNER.
(remove_breakpoint_1, remove_breakpoint): Assert on OWNER.
(breakpoint_init_inferior, breakpoint_here_p, breakpoint_thread_match):
New OWNER comment.
(print_it_typical): Return PRINT_UNKNOWN on NULL OWNER.
(watchpoint_check): New assert on BREAKPOINT_AT and OWNER.
(bpstat_check_location): New assert on OWNER.
(bpstat_check_watchpoint, bpstat_check_breakpoint_conditions): Move BL
and B initializations to the code block. New assert on them.
(print_one_breakpoint_location): New OWNER comment.
(watchpoint_locations_match): Assert on OWNER.
(breakpoint_locations_match): Move HW_POINT1 and HW_POINT2
initializations to the code block. New assert on OWNER.
(set_breakpoint_location_function): New assert on OWNER.
(disable_breakpoints_in_shlibs, disable_breakpoints_in_unloaded_shlib)
(bp_location_compare, update_global_location_list)
(update_global_location_list): New OWNER comment.
gdb/testsuite/
* gdb.base/moribund-step.exp: New.
Ulrich Weigand [Fri, 11 Jun 2010 12:44:15 +0000 (12:44 +0000)]
* Makefile.in (HFILES_NO_SRCDIR): Remove config/i386/nm-linux.h
Ulrich Weigand [Fri, 11 Jun 2010 12:10:13 +0000 (12:10 +0000)]
* config/nm-linux.h (struct target_ops): Remove forward declaration.
(lin_thread_get_thread_signals): Remove prototype.
(GET_THREAD_SIGNALS): Remove.
* linux-nat.h (lin_thread_get_thread_signals): Add prototype.
* linux-thread-db.c (check_thread_signals): Directly call
lin_thread_get_thread_signals; do not check GET_THREAD_SIGNALS.
Ulrich Weigand [Fri, 11 Jun 2010 12:08:51 +0000 (12:08 +0000)]
* gregset.h (GDB_FPXREGSET_T): Remove.
(gdb_fpxregset_t): Likewise.
(supply_fpxregset): Remove prototype.
(fill_fpxregset): Likewise.
* i386-linux-nat.c (supply_fpxregset): Remove.
(fill_fpxregset): Likewise.
(fetch_fpxregs): Inline supply_fpxregset call.
(store_fpxregs): Inline fill_fpxregset call.
* config/i386/linux.mh: Set NAT_FILE to config/nm-linux.h.
* config/i386/nm-linux.h: Remove file.
Tristan Gingold [Fri, 11 Jun 2010 09:04:39 +0000 (09:04 +0000)]
2010-06-11 Tristan Gingold <gingold@adacore.com>
* unwind-ia64.c (unw_print_abreg): Add const to special_reg.
(UNW_DEC_ABI): Ditto for abiname.
(unw_decode_table): Make it const.
Alan Modra [Fri, 11 Jun 2010 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 11 Jun 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Michael Snyder [Thu, 10 Jun 2010 19:48:20 +0000 (19:48 +0000)]
2010-06-08 Michael Snyder <msnyder@vmware.com>
* gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
* gdb.ada/boolean_expr.exp:
* gdb.ada/frame_args.exp: Ditto.
* gdb.ada/lang_switch.exp: Ditto.
* gdb.ada/ptype_arith_binop.exp: Ditto.
* gdb.ada/ref_param.exp: Ditto.
* gdb.ada/type_coercion.exp:Ditto.
* gdb.asm/asm-source.exp: Ditto.
* gdb.base/attach.exp: Ditto.
* gdb.base/bitfields2.exp: Ditto.
* gdb.base/call-signal-resume.exp: Ditto.
* gdb.base/callfuncs.exp: Ditto.
* gdb.base/commands.exp: Ditto.
* gdb.base/dbx.exp: Ditto.
* gdb.base/default.exp: Ditto.
* gdb.base/dump.exp: Ditto.
* gdb.base/exprs.exp: Ditto.
* gdb.base/freebpcmd.exp: Ditto.
* gdb.base/interrupt.exp: Ditto.
* gdb.base/list.exp: Ditto.
* gdb.base/long_long.exp: Ditto.
* gdb.base/maint.exp: Ditto.
* gdb.base/ptype.exp: Ditto.
* gdb.base/return.exp: Ditto.
* gdb.base/setshow.exp: Ditto.
* gdb.base/sigbpt.exp: Ditto.
* gdb.base/sigrepeat.exp: Ditto.
* gdb.cp/classes.exp: Ditto.
* gdb.dwarf2/dw2-restore.exp: Ditto.
* gdb.gdb/selftest.exp: Ditto.
* gdb.multi/base.exp: Ditto.
* gdb.multi/bkpt-multi-exec.exp: Ditto.
* gdb.python/py-block.exp: Ditto.
* gdb.python/py-prettyprint.exp: Ditto.
* gdb.python/py-template.exp: Ditto.
* gdb.server/ext-attach.exp: Ditto.
* gdb.server/ext-run.exp: Ditto.
* gdb.server/server-mon.exp: Ditto.
* gdb.threads/fork-thread-pending.exp: Ditto.
* gdb.threads/hand-call-in-threads.exp: Ditto.
* gdb.threads/interrupted-hand-call.exp: Ditto.
* gdb.threads/linux-dp.exp: Ditto.
* gdb.threads/manythreads.exp: Ditto.
* gdb.threads/print-threads.exp: Ditto.
* gdb.threads/pthreads.exp: Ditto.
* gdb.threads/schedlock.exp: Ditto.
* gdb.threads/thread-unwindonsignal.exp: Ditto.
* gdb.threads/threadapply.exp: Ditto.
DJ Delorie [Thu, 10 Jun 2010 18:30:24 +0000 (18:30 +0000)]
merge from gcc
Cary Coutant [Thu, 10 Jun 2010 17:20:27 +0000 (17:20 +0000)]
* object.cc (Sized_relobj::do_layout): Defer layout for reloc sections.
(Sized_relobj::do_layout_deferred_sections): Do layout for deferred
reloc sections.
* object.h (Sized_relobj::deferred_layout_relocs_): New data member.
PR 11683
* symtab.h (Symbol::is_placeholder): New member function.
* target-reloc.h (relocate_section): Check for placeholder symbols.
* testsuite/Makefile.am (plugin_test_8): New test.
(plugin_test_9): New test.
* testsuite/Makefile.in: Regenerate.
Alexandre Oliva [Thu, 10 Jun 2010 17:04:13 +0000 (17:04 +0000)]
* Makefile.def (configure-gcc): Depend on all-libelf.
* Makefile.in: Rebuild.
H.J. Lu [Thu, 10 Jun 2010 16:38:17 +0000 (16:38 +0000)]
Stop if -march=XXX is invalid.
2010-06-10 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (update_code_flag): New.
(set_code_flag): Use it.
(i386_target_format): Replace set_code_flag with update_code_flag.
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.
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.
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.
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.
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.
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
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.
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.
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.
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[].
gdbadmin [Thu, 10 Jun 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 10 Jun 2010 00:00:05 +0000 (00:00 +0000)]
daily update
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.
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.
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.
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.
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.
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.
gdbadmin [Wed, 9 Jun 2010 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 9 Jun 2010 00:00:05 +0000 (00:00 +0000)]
daily update
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.
Bernd Schmidt [Tue, 8 Jun 2010 20:15:18 +0000 (20:15 +0000)]
* emulparams/elf32_tic6x_le.sh (OTHER_BSS_SECTIONS): New.
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.
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.
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.
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.
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.
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.
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.
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.
Nick Clifton [Tue, 8 Jun 2010 10:15:48 +0000 (10:15 +0000)]
oops - omitted from previous delta
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.
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.
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.
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.
gdbadmin [Tue, 8 Jun 2010 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 8 Jun 2010 00:00:05 +0000 (00:00 +0000)]
daily update
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.
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.
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.
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.
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.
Jan Kratochvil [Mon, 7 Jun 2010 13:39:10 +0000 (13:39 +0000)]
gdb/
* breakpoint.h (owner): Extend the comment.
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.
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.
Nathan Sidwell [Mon, 7 Jun 2010 07:42:49 +0000 (07:42 +0000)]
* README: Make version-agnostic.
Alan Modra [Mon, 7 Jun 2010 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 7 Jun 2010 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 6 Jun 2010 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 6 Jun 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
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.
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).
gdbadmin [Sat, 5 Jun 2010 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 5 Jun 2010 00:00:07 +0000 (00:00 +0000)]
daily update
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.
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.
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.
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.
Doug Evans [Fri, 4 Jun 2010 21:20:21 +0000 (21:20 +0000)]
remove trailing whitespace in previous checkin
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.
Jan Kratochvil [Fri, 4 Jun 2010 16:48:02 +0000 (16:48 +0000)]
gdb/
* breakpoint.c (update_global_location_list): Fix comment typo.
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.
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.
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.
Alan Modra [Fri, 4 Jun 2010 00:00:08 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 4 Jun 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
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.
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.
Doug Evans [Thu, 3 Jun 2010 19:06:59 +0000 (19:06 +0000)]
* gdbint.texinfo (Coding): Add subsection on command names.
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.
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.
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.
DJ Delorie [Thu, 3 Jun 2010 16:54:11 +0000 (16:54 +0000)]
merge from gcc
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.
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.
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.
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.
Alan Modra [Thu, 3 Jun 2010 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 3 Jun 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
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.
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.
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.
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.
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.
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.
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.
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.
This page took 0.042997 seconds and 4 git commands to generate.