deliverable/binutils-gdb.git
11 years agogdb/
Pedro Alves [Thu, 28 Jun 2012 16:34:04 +0000 (16:34 +0000)] 
gdb/
2012-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
    Pedro Alves  <palves@redhat.com>

* gdbthread.h (ALL_THREADS): New macro.
(thread_list): Declare.
* infrun.c (handle_inferior_event) <spurious signal>: Don't keep
going, but instead fall through to the stepping handling.
* linux-nat.c (resume_lwp): New parameter 'signo'.  Resume with
the passed in signal.  Adjust debug output.
(resume_callback): Rename to ...
(linux_nat_resume_callback): ... this.  Pass the thread's last
stop signal, if in "pass" state.
(linux_nat_resume): Adjust to rename.
(stop_wait_callback): New assertion.  Don't respawn signals;
instead let the LWP remain with SIGNALLED set.
(linux_nat_wait_1): Remove flushing of pending SIGSTOPs.
* remote.c (append_pending_thread_resumptions): New.
(remote_vcont_resume): Call it.
* target.h (target_resume): Extend comment.

gdb/testsuite/
2012-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
    Pedro Alves  <palves@redhat.com>

* gdb.threads/siginfo-threads.exp: New file.
* gdb.threads/siginfo-threads.c: New file.
* gdb.threads/sigstep-threads.exp: New file.
* gdb.threads/sigstep-threads.c: New file.

11 years agold/testsuite/
Roland McGrath [Thu, 28 Jun 2012 16:31:57 +0000 (16:31 +0000)] 
ld/testsuite/
* ld-arm/arm-elf.exp (armelftests_common): Add a test that gets
arm-lib.so built so armeabitests_common can use it.
(unresolved-1-dyn): Exclude this test for [istarget "arm*-*-nacl*"].

11 years ago PR gas/14260
Nick Clifton [Thu, 28 Jun 2012 15:38:15 +0000 (15:38 +0000)] 
PR gas/14260
* config/tc-arm.c (encode_arm_addr_mode_common): Generate an error
message if literal pool addressing is used.

* gas/arm/ldr-t-bad.s: Add test of bogus use of literal pool
addressing.
* gas/arm/ldr-t-bad.l: Update expected assembler error message
output.

11 years ago * po/vi.po: Updated Vietnamese translation.
Nick Clifton [Thu, 28 Jun 2012 14:36:01 +0000 (14:36 +0000)] 
* po/vi.po: Updated Vietnamese translation.

* po/uk.po: New Ukranian translation.
* configure.in (ALL_LINGUAS): Add uk.
* configure: Regenerate.

11 years ago * gdb.go/package.exp: Partially revert earlier patch; use
Tom Tromey [Thu, 28 Jun 2012 13:52:51 +0000 (13:52 +0000)] 
* gdb.go/package.exp: Partially revert earlier patch; use
gdb_compile again.  Use standard_output_file.

11 years agoRemove redundant statement
H.J. Lu [Thu, 28 Jun 2012 12:53:29 +0000 (12:53 +0000)] 
Remove redundant statement

* ldlang.c (update_wild_statements): Remove redundant statement.

11 years ago* configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Make sure
Alexandre Oliva [Thu, 28 Jun 2012 11:50:52 +0000 (11:50 +0000)] 
* configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Make sure
they contain -O2.
* configure: Regenerate.

11 years ago * dwarf2dbg.c (DWARF2_USE_FIXED_ADVANCE_PC): Enable when using
Nick Clifton [Thu, 28 Jun 2012 11:31:14 +0000 (11:31 +0000)] 
* dwarf2dbg.c (DWARF2_USE_FIXED_ADVANCE_PC): Enable when using
linker relaxation.
(dwarf2_gen_line_info): Generate real, local, labels for line
numbers.
(dwarf2dbg_convert_frag): Do not finalize the computation of the
frag's symbol value when linker relaxation is enabled.
(ADDR_DELTA_LIMIT): Define.
(size_fixed_inc_line_addr): Use ADDR_DELTA_LIMIT.
(emit_fixed_inc_line_addr): Likewise.
* write.c (fixup_segment): If the subtraction of two symbols
cannot be resolved but is valid, then prevent bogus range warnings
by pre-biasing add_number.
* config/tc-h8300.h (DWARF2_USE_FIXED_ADVANCE_PC): Define to 0.

* gas/lns/lns.exp: Use alternate lns-common test for targets
enabling linker relaxation.
* gas/lns/lns-big-delta.d: Allow for output from architectures
with 32-bit addresses.

11 years ago * auxv.c (fprint_target_auxv): Handle extended cache data tags.
Iain Sandoe [Thu, 28 Jun 2012 09:13:22 +0000 (09:13 +0000)] 
* auxv.c (fprint_target_auxv): Handle extended cache data tags.

11 years ago * common.h (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE,
Iain Sandoe [Thu, 28 Jun 2012 09:12:27 +0000 (09:12 +0000)] 
* common.h (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE,
AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New defines.

11 years ago * dwarf2read.c (dwarf2_cu): Add ranges_base.
Doug Evans [Thu, 28 Jun 2012 01:10:38 +0000 (01:10 +0000)] 
* dwarf2read.c (dwarf2_cu): Add ranges_base.
Delete have_addr_base, unused.  All uses updated.
(init_cutu_and_read_dies): Process DW_AT_GNU_ranges_base.
(dwarf2_get_pc_bounds): Add ranges_base.
(dwarf2_record_block_ranges): Ditto.

testsuite/
* gdb.dwarf2/fission-base.c: New file.
* gdb.dwarf2/fission-base.S: New file.
* gdb.dwarf2/fission-base.exp: New file.

11 years agodaily update
Alan Modra [Thu, 28 Jun 2012 00:00:04 +0000 (00:00 +0000)] 
daily update

11 years ago*** empty log message ***
gdbadmin [Thu, 28 Jun 2012 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

11 years agogdb/testsuite/
Jan Kratochvil [Wed, 27 Jun 2012 23:37:03 +0000 (23:37 +0000)] 
gdb/testsuite/
* gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.

11 years ago PR macros/7961:
Tom Tromey [Wed, 27 Jun 2012 18:08:41 +0000 (18:08 +0000)] 
PR macros/7961:
* varobj.c (varobj_create): Update.
(varobj_set_value): Update.
* tracepoint.c (validate_actionline): Update.
(encode_actions_1): Update.
* parse.c (parse_exp_1): Add 'pc' argument.
(parse_exp_in_context): Add 'pc' argument.  Change how
expression_context_pc is set.
(parse_expression): Update.
(parse_field_expression): Update.
* expression.h (parse_exp_1): Update.
* eval.c (parse_to_comma_and_eval): Update.
* breakpoint.c (set_breakpoint_condition): Update.
(update_watchpoint): Update.
(init_breakpoint_sal): Update
(find_condition_and_thread): Update.
(watch_command_1): Update.
(update_breakpoint_locations): Update.
* ada-lang.c (ada_read_renaming_var_value): Update.
(create_excep_cond_exprs): Update.
testsuite
* gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
* gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.

11 years ago * gdb.dwarf2/pr10770.exp: Use standard_testfile.
Tom Tromey [Wed, 27 Jun 2012 17:00:09 +0000 (17:00 +0000)] 
* gdb.dwarf2/pr10770.exp: Use standard_testfile.
* gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
* gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
* gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
* gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
prepare_for_testing.
* gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
* gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
* gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
standard_testfile.
* gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
* gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
* gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
* gdb.dwarf2/callframecfa.exp: Use standard_testfile,
prepare_for_testing.
* gdb.dwarf2/dup-psym.exp: Use standard_testfile.
* gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
* gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
* gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
* gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
* gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
* gdb.dwarf2/dw2-const.exp: Use standard_testfile.
* gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
* gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
* gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
* gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
* gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
* gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
* gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
* gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
* gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
* gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
* gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
* gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
* gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
* gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
* gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
standard_output_file.
* gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
standard_output_file.
* gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
* gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
* gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
* gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
* gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
* gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
* gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
* gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
* gdb.dwarf2/implptr.exp: Use standard_testfile.
* gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
* gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
* gdb.dwarf2/pieces.exp: Use standard_testfile.
* gdb.dwarf2/pr11465.exp: Use standard_testfile.
* gdb.dwarf2/pr13961.exp: Use standard_testfile.
* gdb.dwarf2/valop.exp: Use standard_testfile,
prepare_for_testing.

11 years ago * dwarf2read.c (per_cu_header_read_in): Simplify, and handle
Doug Evans [Wed, 27 Jun 2012 14:26:09 +0000 (14:26 +0000)] 
* dwarf2read.c (per_cu_header_read_in): Simplify, and handle
type units.

11 years ago * gdb.python/python.exp: Fix regexps in pagination tests.
Tom Tromey [Wed, 27 Jun 2012 13:37:26 +0000 (13:37 +0000)] 
* gdb.python/python.exp: Fix regexps in pagination tests.

11 years agold-elf/ehdr_start.d (target): Add *-*-nacl*.
Roland McGrath [Wed, 27 Jun 2012 01:26:33 +0000 (01:26 +0000)] 
ld-elf/ehdr_start.d (target): Add *-*-nacl*.

11 years ago * ld-elf/ehdr_start.s: Use data rather than rodata.
Alan Modra [Wed, 27 Jun 2012 01:18:09 +0000 (01:18 +0000)] 
* ld-elf/ehdr_start.s: Use data rather than rodata.
* ld-elf/ehdr_start.d: Run on linux and gnu targets only.

11 years ago * gas/i386/rep-ret.s: Zero pad section.
Alan Modra [Wed, 27 Jun 2012 01:17:11 +0000 (01:17 +0000)] 
* gas/i386/rep-ret.s: Zero pad section.
* gas/i386/rep-ret.d: Update.

11 years ago * dwarf2read.c (read_and_check_comp_unit_head): Delete unnecessary
Doug Evans [Wed, 27 Jun 2012 00:35:33 +0000 (00:35 +0000)] 
* dwarf2read.c (read_and_check_comp_unit_head): Delete unnecessary
prototype.
(error_check_comp_unit_head): New arg abbrev_section.  All callers
updated.
(read_and_check_comp_unit_head): Ditto.
(read_and_check_type_unit_head): Ditto.

11 years ago2012-06-26 Siva Chandra Reddy <sivachandra@google.com>
Siva Chandra Reddy [Wed, 27 Jun 2012 00:21:21 +0000 (00:21 +0000)] 
2012-06-26  Siva Chandra Reddy  <sivachandra@google.com>

        New attribute 'last' for gdb.Symtab_and_line.
        * NEWS (Python Scripting): Add entry about the new attribute.
        * python/py-symtab.c (salpy_get_last): New function which
        implements the get method for the 'last' attribute of
        gdb.Symtab_and_line.
        (sal_object_getset): Add entry for the 'last' attribute.

        doc/
        * gdb.texinfo (Symbol Tables In Python): Add description about
        the new 'last' attribute of gdb.Symtab_and line.

        testsuite/
        * gdb.python/py-symtab.exp: Add tests to test the new attribute
        'last' of gdb.Symtab_and_line.
        * gdb.python/py-symbol.c: Move break point comment to enable
        testing of gdb.Symtab_and_line.last.

11 years agodaily update
Alan Modra [Wed, 27 Jun 2012 00:00:05 +0000 (00:00 +0000)] 
daily update

11 years ago*** empty log message ***
gdbadmin [Wed, 27 Jun 2012 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

11 years ago2012-06-26 Siva Chandra Reddy <sivachandra@google.com>
Siva Chandra Reddy [Tue, 26 Jun 2012 23:51:32 +0000 (23:51 +0000)] 
2012-06-26  Siva Chandra Reddy  <sivachandra@google.com>

* gdb.texinfo (Symbol Tables In Python): Correct the description
of the 'pc' attribute of gdb.Symtab_and_line.

11 years ago * dwarf2read.c (dwo_section_names): Add macinfo_dwo, macro_dwo.
Doug Evans [Tue, 26 Jun 2012 21:56:46 +0000 (21:56 +0000)] 
* dwarf2read.c (dwo_section_names): Add macinfo_dwo, macro_dwo.
(dwo_sections): Add macinfo, macro.
(dwarf2_locate_dwo_sections): Watch for macro sections.
(dwarf_decode_macros): Remove args lh, abfd, section, section_name.
All callers updated.  Handle DWO files.

11 years ago * NEWS: Mention new options "set debug dwarf2-read" and
Doug Evans [Tue, 26 Jun 2012 20:14:03 +0000 (20:14 +0000)] 
* NEWS: Mention new options "set debug dwarf2-read" and
"set debug symtab-create".
* dwarf2read.c (dwarf2_read_debug): New static global.
(dwarf2_build_psymtabs_hard): Add debugging printfs.
(process_queue): Ditto.
(process_full_comp_unit): Ditto.
(_initialize_dwarf2_read): Add new option "set debug dwarf2-read".
* elfread.c (elf_symfile_read): Add debugging printf.
* minsyms.c (install_minimal_symbols): Ditto.
* psymtab.c (allocate_psymtab): Ditto.
* symfile.c (allocate_symtab): Ditto.
* symtab.c (symtab_create_debug): New global.
(_initialize_symtab): Add new option "set debug symtab-create".
* symtab.h (symtab_create_debug): Declare.

doc/
* gdb.texinfo (Debugging Output): Document debug options dwarf2-read
and symtab-create.

11 years ago * dwarf2read.c (lookup_dwo_comp_unit): Enhance comment.
Doug Evans [Tue, 26 Jun 2012 19:48:13 +0000 (19:48 +0000)] 
* dwarf2read.c (lookup_dwo_comp_unit): Enhance comment.
(lookup_dwo_type_unit): Ditto.

11 years ago * gdb.threads/step.c: Remove.
Tom Tromey [Tue, 26 Jun 2012 19:46:30 +0000 (19:46 +0000)] 
* gdb.threads/step.c: Remove.
* gdb.threads/step.exp: Remove.
* gdb.threads/step2.exp: Remove.

11 years ago * gdb.threads/watchpoint-fork.exp (test): Use
Tom Tromey [Tue, 26 Jun 2012 19:23:20 +0000 (19:23 +0000)] 
* gdb.threads/watchpoint-fork.exp (test): Use
standard_output_file.  Don't declare objdir.
* gdb.threads/attach-into-signal.exp: Use standard_testfile,
standard_output_file.
* gdb.threads/attach-stopped.exp: Use standard_testfile.
* gdb.threads/bp_in_thread.exp: Use standard_testfile,
clean_restart.  Remove incdir.
* gdb.threads/corethreads.exp: Use standard_testfile.
* gdb.threads/execl.exp: Use standard_testfile,
standard_output_file, clean_restart.
* gdb.threads/fork-child-threads.exp: Use standard_testfile,
clean_restart.
* gdb.threads/fork-thread-pending.exp: Use standard_testfile,
clean_restart.
* gdb.threads/gcore-thread.exp: Use standard_testfile.  Remove
incdir.
* gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
clean_restart.  Remove incdir.
* gdb.threads/ia64-sigill.exp: Use standard_testfile.
* gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
clean_restart.  Remove incdir.
* gdb.threads/killed.exp: Use standard_testfile, clean_restart.
Remove incdir.
* gdb.threads/leader-exit.exp: Use standard_testfile.
* gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
* gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
clean_restart.
* gdb.threads/manythreads.exp: Use standard_testfile,
clean_restart.  Remove incdir.
* gdb.threads/multi-create.exp: Use standard_testfile,
clean_restart.
* gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
* gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
* gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
* gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
* gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
* gdb.threads/pending-step.exp: Use standard_testfile,
clean_restart.  Remove incdir.
* gdb.threads/print-threads.exp: Use standard_testfile,
clean_restart.  Remove incdir.
* gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
clean_restart.  Remove incdir.
* gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
Remove incdir.
* gdb.threads/schedlock.exp: Use standard_testfile.  Remove
incdir.
* gdb.threads/sigthread.exp: Use standard_testfile,
clean_restart.
* gdb.threads/staticthreads.exp: Use standard_testfile,
clean_restart.  Remove incdir.
* gdb.threads/switch-threads.exp: Use standard_testfile,
clean_restart.  Remove incdir.
* gdb.threads/thread-execl.exp: Use standard_testfile,
clean_restart.  Remove incdir.
* gdb.threads/thread-find.exp: Use standard_testfile,
clean_restart.
* gdb.threads/thread-specific.exp: Use standard_testfile,
clean_restart.  Remove incdir.
* gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
clean_restart.  Remove incdir.
* gdb.threads/thread_check.exp: Use standard_testfile,
clean_restart.  Remove incdir.
* gdb.threads/thread_events.exp: Use standard_testfile.  Remove
incdir.
* gdb.threads/threadapply.exp: Use standard_testfile,
clean_restart.  Remove incdir.
* gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
clean_restart.  Remove incdir.
* gdb.threads/tls-nodebug.exp: Use standard_testfile,
clean_restart.
* gdb.threads/tls-shared.exp: Use standard_testfile,
clean_restart, standard_output_file.
* gdb.threads/tls-var.exp: Use standard_testfile,
standard_output_file.
* gdb.threads/tls.exp: Use standard_testfile, clean_restart.
Remove incdir.
* gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
* gdb.threads/watchthreads.exp: Use standard_testfile.  Remove
incdir.
* gdb.threads/watchthreads2.exp: Use standard_testfile,
clean_restart.  Remove incdir.

11 years ago * gdb.trace/actions.exp: Use standard_testfile.
Tom Tromey [Tue, 26 Jun 2012 18:25:19 +0000 (18:25 +0000)] 
* gdb.trace/actions.exp: Use standard_testfile.
* gdb.trace/ax.exp: Use standard_testfile.
* gdb.trace/backtrace.exp: Use standard_testfile.
* gdb.trace/change-loc.exp: Use standard_testfile.
* gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
* gdb.trace/collection.exp: Use standard_testfile,
prepare_for_testing.
* gdb.trace/deltrace.exp: Use standard_testfile.
* gdb.trace/disconnected-tracing.exp: Use standard_testfile.
* gdb.trace/ftrace.exp: Use standard_testfile.
* gdb.trace/infotrace.exp: Use standard_testfile.
* gdb.trace/packetlen.exp: Use standard_testfile.
* gdb.trace/passc-dyn.exp: Use standard_testfile.
* gdb.trace/passcount.exp: Use standard_testfile.
* gdb.trace/pending.exp: Use standard_testfile.
* gdb.trace/report.exp: Use standard_testfile.
* gdb.trace/save-trace.exp: Use standard_testfile.
* gdb.trace/stap-trace.exp: Use standard_testfile.
* gdb.trace/status-stop.exp: Use standard_testfile.
* gdb.trace/strace.exp: Use standard_testfile.
* gdb.trace/tfile.exp: Use standard_testfile.
* gdb.trace/tfind.exp: Use standard_testfile.
* gdb.trace/trace-break.exp: Use standard_testfile.
* gdb.trace/trace-mt.exp: Use standard_testfile.
* gdb.trace/tracecmd.exp: Use standard_testfile.
* gdb.trace/tspeed.exp: Use standard_testfile.
* gdb.trace/tstatus.exp: Use standard_testfile.
* gdb.trace/tsv.exp: Use standard_testfile.
* gdb.trace/unavailable.exp: Use standard_testfile,
prepare_for_testing.
* gdb.trace/while-dyn.exp: Use standard_testfile.
* gdb.trace/while-stepping.exp: Use standard_testfile.

11 years ago * gdb.reverse/break-precsave.exp: Use standard_testfile.
Tom Tromey [Tue, 26 Jun 2012 17:54:59 +0000 (17:54 +0000)] 
* gdb.reverse/break-precsave.exp: Use standard_testfile.
* gdb.reverse/break-reverse.exp: Use standard_testfile.
* gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
* gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
* gdb.reverse/finish-precsave.exp: Use standard_testfile.
* gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
* gdb.reverse/finish-reverse.exp: Use standard_testfile.
* gdb.reverse/i386-precsave.exp: Use standard_testfile,
prepare_for_testing.
* gdb.reverse/i386-reverse.exp: Use standard_testfile,
prepare_for_testing.
* gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
prepare_for_testing.
* gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
prepare_for_testing.
* gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
prepare_for_testing
* gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
* gdb.reverse/machinestate.exp: Use standard_testfile.
* gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
* gdb.reverse/sigall-precsave.exp: Use standard_testfile,
build_executable.
* gdb.reverse/sigall-reverse.exp: Use standard_testfile,
build_executable.
* gdb.reverse/solib-precsave.exp: Use standard_testfile,
standard_output_file.
* gdb.reverse/solib-reverse.exp: Use standard_testfile,
standard_output_file.
* gdb.reverse/step-precsave.exp: Use standard_testfile.
* gdb.reverse/step-reverse.exp: Use standard_testfile.
* gdb.reverse/until-precsave.exp: Use standard_testfile.
* gdb.reverse/until-reverse.exp: Use standard_testfile.
* gdb.reverse/watch-precsave.exp: Use standard_testfile.
* gdb.reverse/watch-reverse.exp: Use standard_testfile.

11 years ago * gdb.stabs/weird.exp: Remove directory-checking code. Use
Tom Tromey [Tue, 26 Jun 2012 17:32:44 +0000 (17:32 +0000)] 
* gdb.stabs/weird.exp: Remove directory-checking code.  Use
standard_output_file.
* gdb.stabs/exclfwd.exp: Use standard_testfile,
prepare_for_testing.  Remove directory-checking code.

11 years agoUse PTRACE_PEEKUSER to get fs_base/gs_base
H.J. Lu [Tue, 26 Jun 2012 14:43:01 +0000 (14:43 +0000)] 
Use PTRACE_PEEKUSER to get fs_base/gs_base

* amd64-linux-nat.c: Include <sys/user.h>.
(ps_get_thread_area): Use PTRACE_PEEKUSER to get fs_base/gs_base
if HAVE_STRUCT_USER_REGS_STRUCT_FS_BASE or
HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE is defined.

* configure.ac: Check if the fs_base and gs_base members of
`struct user_regs_struct' exist.
* config.in: Regenerated.
* configure: Likewise.

11 years ago * elf64-ppc.c (ppc64_elf_next_toc_section): Don't error if input
Alan Modra [Tue, 26 Jun 2012 01:40:59 +0000 (01:40 +0000)] 
* elf64-ppc.c (ppc64_elf_next_toc_section): Don't error if input
file has multiple .got/.toc sections and all don't fit in
current toc group.

11 years agodaily update
Alan Modra [Tue, 26 Jun 2012 00:00:05 +0000 (00:00 +0000)] 
daily update

11 years ago*** empty log message ***
gdbadmin [Tue, 26 Jun 2012 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

11 years ago* ld-elf/ehdr_start.d (ld): Add explicit -e _start.
Roland McGrath [Mon, 25 Jun 2012 22:36:21 +0000 (22:36 +0000)] 
* ld-elf/ehdr_start.d (ld): Add explicit -e _start.
(notarget): Add arm*-*-eabi* cris-*-*.

11 years ago * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
Tom Tromey [Mon, 25 Jun 2012 21:07:32 +0000 (21:07 +0000)] 
* gdb.multi/watchpoint-multi.exp: Use standard_testfile.
* gdb.multi/bkpt-multi-exec.exp: Use standard_output_file.  Use
build_executable, not prepare_for_testing.
* gdb.multi/base.exp: Use standard_output_file.  Use
build_executable,  not prepare_for_testing.

11 years ago * gdb.fortran/subarray.exp: Use standard_testfile,
Tom Tromey [Mon, 25 Jun 2012 20:51:35 +0000 (20:51 +0000)] 
* gdb.fortran/subarray.exp: Use standard_testfile,
prepare_for_testing.
* gdb.fortran/multi-dim.exp: Use standard_testfile.
* gdb.fortran/module.exp: Use standard_testfile.
* gdb.fortran/logical.exp: Use standard_testfile.
* gdb.fortran/library-module.exp: Use standard_testfile,
standard_output_file.
* gdb.fortran/derived-type.exp: Use standard_testfile,
prepare_for_testing.
* gdb.fortran/complex.exp: Use standard_testfile,
prepare_for_testing.
* gdb.fortran/charset.exp: Use standard_testfile.
* gdb.fortran/array-element.exp: Use standard_testfile,
prepare_for_testing.

11 years ago * gdb.texinfo (GDB/MI Breakpoint Commands): Remove "-r" option
Keith Seitz [Mon, 25 Jun 2012 20:51:30 +0000 (20:51 +0000)] 
* gdb.texinfo (GDB/MI Breakpoint Commands): Remove "-r" option
from example.  Remove "rbreak" from list of corresponding
gdb commands.

11 years ago * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
Keith Seitz [Mon, 25 Jun 2012 20:49:47 +0000 (20:49 +0000)] 
* gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
Change rbreak-related tests to KFAIL and add bugzilla numbers.

11 years ago * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
Tom Tromey [Mon, 25 Jun 2012 20:43:40 +0000 (20:43 +0000)] 
* gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
* gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
* gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
* gdb.pascal/floats.exp: Use standard_testfile, clean_restart.

11 years ago * gdb.linespec/ls-errs.exp: Use standard_testfile.
Tom Tromey [Mon, 25 Jun 2012 20:31:21 +0000 (20:31 +0000)] 
* gdb.linespec/ls-errs.exp: Use standard_testfile.
* gdb.linespec/ls-dollar.exp: Use standard_testfile.
* gdb.linespec/linespec.exp: Use standard_testfile.

11 years ago * gdb.modula2/unbounded-array.exp: Use standard_testfile,
Tom Tromey [Mon, 25 Jun 2012 20:28:23 +0000 (20:28 +0000)] 
* gdb.modula2/unbounded-array.exp: Use standard_testfile,
prepare_for_testing.

11 years ago * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
Tom Tromey [Mon, 25 Jun 2012 20:24:57 +0000 (20:24 +0000)] 
* gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
prepare_for_testing.
* gdb.opt/inline-break.exp: Use standard_testfile,
prepare_for_testing.
* gdb.opt/inline-bt.exp: Use standard_testfile,
prepare_for_testing.
* gdb.opt/inline-cmds.exp: Use standard_testfile,
prepare_for_testing.
* gdb.opt/inline-locals.exp: Use standard_testfile,
prepare_for_testing.

11 years ago * gdb.asm/asm-source.exp: Use standard_output_file,
Tom Tromey [Mon, 25 Jun 2012 20:11:43 +0000 (20:11 +0000)] 
* gdb.asm/asm-source.exp: Use standard_output_file,
standard_testfile.  Construct .o files in proper subdir.

11 years ago * gdb.server/ext-attach.exp: Use standard_testfile,
Tom Tromey [Mon, 25 Jun 2012 19:46:26 +0000 (19:46 +0000)] 
* gdb.server/ext-attach.exp: Use standard_testfile,
prepare_for_testing.
* gdb.server/ext-run.exp: Use standard_testfile,
build_executable.
* gdb.server/file-transfer.exp: Use standard_testfile,
prepare_for_testing.
* gdb.server/server-exec-info.exp: Use standard_testfile.
* gdb.server/server-mon.exp: Use standard_testfile,
prepare_for_testing.
* gdb.server/server-run.exp: Use standard_testfile,
build_executable.
* gdb.server/solib-list.exp: Use standard_testfile,
standard_output_file.

11 years ago * lib/gdb.exp (standard_output_file): Use "file join".
Tom Tromey [Mon, 25 Jun 2012 19:13:25 +0000 (19:13 +0000)] 
* lib/gdb.exp (standard_output_file): Use "file join".
* gdb.go/chan.exp: Use standard_testfile.
* gdb.go/handcall.exp: Use standard_testfile.
* gdb.go/hello.exp: Use standard_testfile.
* gdb.integers/chan.exp: Use standard_testfile.
* gdb.go/methods.exp: Use standard_testfile.
* gdb.go/package.exp: Use standard_testfile.
* gdb.go/strings.exp: Use standard_testfile.
* gdb.go/types.exp: Use standard_testfile.
* gdb.go/unsafe.exp: Use standard_testfile.

11 years agoPR14291: KeyboardInterrupt not caught for Python output
Michael Eager [Mon, 25 Jun 2012 16:53:20 +0000 (16:53 +0000)] 
PR14291:  KeyboardInterrupt not caught for Python output

11 years ago2012-06-25 Greta Yorsh <greta.yorsh@arm.com>
Matthew Gretton-Dann [Mon, 25 Jun 2012 12:56:18 +0000 (12:56 +0000)] 
2012-06-25  Greta Yorsh  <greta.yorsh@arm.com>

* gdb/testsuite/gdb.arch/arm-disp-step.S: Fix use of .global directives.

11 years ago2012-06-25 Greta Yorsh <greta.yorsh@arm.com>
Matthew Gretton-Dann [Mon, 25 Jun 2012 12:32:45 +0000 (12:32 +0000)] 
2012-06-25  Greta Yorsh  <greta.yorsh@arm.com>

* gdb/arm-tdep.c (arm_in_function_epilogue_p): Recognize POP with a single
register as a stack alignment in ARM mode.

11 years ago * ldlang.c (load_symbols): Close file and set flags.loaded
Alan Modra [Mon, 25 Jun 2012 01:49:08 +0000 (01:49 +0000)] 
* ldlang.c (load_symbols): Close file and set flags.loaded
after parsing script file.
(open_input_bfds): Don't segv on closed script.

11 years ago*** empty log message ***
gdbadmin [Mon, 25 Jun 2012 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

11 years agodaily update
Alan Modra [Mon, 25 Jun 2012 00:00:05 +0000 (00:00 +0000)] 
daily update

11 years agoReplace -linux-gnux32 with -linux-gnu
H.J. Lu [Sun, 24 Jun 2012 21:47:45 +0000 (21:47 +0000)] 
Replace -linux-gnux32 with -linux-gnu

11 years agoEnable elf_k1om for x86_64-*-linux-gnux32
H.J. Lu [Sun, 24 Jun 2012 18:52:17 +0000 (18:52 +0000)] 
Enable elf_k1om for x86_64-*-linux-gnux32

* configure.tgt: Enable elf_k1om for x86_64-*-linux-gnux32.
Remove x32 in tdir_i386linux and tdir_elf_i386.

11 years agogdb/
Jan Kratochvil [Sun, 24 Jun 2012 09:12:33 +0000 (09:12 +0000)] 
gdb/
Update gnulib to GIT commit a39f53ccb70a613e647e1019fb4c63645220267e.
* gnulib/config.in: Regenerate.
* gnulib/configure: Likewise.
* gnulib/import/m4/extensions.m4: Update it.
* gnulib/import/m4/gnulib-common.m4: Likewise.
* gnulib/import/m4/memmem.m4: Likewise.
* gnulib/import/m4/mmap-anon.m4: Likewise.
* gnulib/import/m4/multiarch.m4: Likewise.
* gnulib/import/stdint.in.h: Likewise.

11 years agogdb:
Yao Qi [Sun, 24 Jun 2012 07:28:10 +0000 (07:28 +0000)] 
gdb:
* corefile.c (write_memory_with_notification): New.
* gdbcore.h: Declare write_memory_with_notification.
* ada-lang.c (ada_value_assign): Replace 'write_memory' and
'observer_notify_memory_changed' with 'write_memory_with_notification'.
* valops.c (value_assign): Likewise.
* python/py-inferior.c (infpy_write_memory): Call
'write_memory_with_notification'.

11 years agogdb/
Jan Kratochvil [Sun, 24 Jun 2012 06:58:11 +0000 (06:58 +0000)] 
gdb/
* cc-with-index.sh: Use also -ex "set auto-load no".

11 years agogdb/testsuite/
Jan Kratochvil [Sun, 24 Jun 2012 06:36:27 +0000 (06:36 +0000)] 
gdb/testsuite/
Fix regression by the previous commit.
* gdb.python/lib-types.exp: Add c++ to the compilation flags.

11 years ago*** empty log message ***
gdbadmin [Sun, 24 Jun 2012 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

11 years agodaily update
Alan Modra [Sun, 24 Jun 2012 00:00:04 +0000 (00:00 +0000)] 
daily update

11 years ago PR 14125
Doug Evans [Sat, 23 Jun 2012 22:23:47 +0000 (22:23 +0000)] 
PR 14125
* NEWS: Document additions to .gdb_index.
* dwarf2read.c: #include "gdb/gdb-index.h".
(DW2_GDB_INDEX_SYMBOL_STATIC_SET_VALUE): New macro.
(DW2_GDB_INDEX_SYMBOL_KIND_SET_VALUE): New macro.
(DW2_GDB_INDEX_CU_SET_VALUE): New macro.
(dwarf2_read_index): Recognize version 7.
(dw2_do_expand_symtabs_matching): New args want_specific_block,
block_kind, domain): All callers updated.
(dw2_find_symbol_file): Handle new index CU values.
(dw2_expand_symtabs_matching): Match symbol kind if requested.
(add_index_entry): New args is_static, kind.  All callers updated.
(offset_type_compare, uniquify_cu_indices): New functions
(symbol_kind): New function.
(write_psymtabs_to_index): Remove duplicate CU values.
(write_psymtabs_to_index): Write .gdb_index version 7.

doc/
* gdb.texinfo (Index Section Format): Document version 7 format.

include/gdb/
* gdb-index.h: New file.

11 years ago*** empty log message ***
gdbadmin [Sat, 23 Jun 2012 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

11 years agodaily update
Alan Modra [Sat, 23 Jun 2012 00:00:04 +0000 (00:00 +0000)] 
daily update

11 years agogas/
Roland McGrath [Fri, 22 Jun 2012 21:54:06 +0000 (21:54 +0000)] 
gas/
* NEWS: Mention 'rep ret' too.

gas/testsuite/
* gas/i386/rep-ret.d: New file.
* gas/i386/rep-ret.s: New file.
* gas/i386/i386.exp: Add the new test.

opcodes/
* i386-opc.tbl: Add RepPrefixOk to ret.
* i386-tbl.h: Regenerate.

11 years agoAdd -Wdeclaration-after-statement to list of compiler warnings
Joel Brobecker [Fri, 22 Jun 2012 18:59:04 +0000 (18:59 +0000)] 
Add -Wdeclaration-after-statement to list of compiler warnings

gdb/ChangeLog:

        * configure.ac (build_warnings): Add -Wdeclaration-after-statement.
        * configure: Regenerate.

11 years agogold/
Roland McGrath [Fri, 22 Jun 2012 18:02:24 +0000 (18:02 +0000)] 
gold/
* layout.cc (finalize): Define __ehdr_start symbol if applicable.

11 years ago * gdb.python/lib-types.exp: Use standard_testfile,
Tom Tromey [Fri, 22 Jun 2012 17:59:33 +0000 (17:59 +0000)] 
* gdb.python/lib-types.exp: Use standard_testfile,
prepare_for_testing.
* gdb.python/py-block.exp: Use standard_testfile.
* gdb.python/py-breakpoint.exp: Use standard_testfile.
* gdb.python/py-events.exp: Use standard_testfile,
standard_output_file.
* gdb.python/py-evsignal.exp: Use standard_testfile.
* gdb.python/py-evethreads.exp: Use standard_testfile.
* gdb.python/py-explore-cc.exp: Use standard_testfile.
* gdb.python/py-explore.exp: Use standard_testfile.
* gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
standard_output_file.
* gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
prepare_for_testing.
* gdb.python/py-frame-inline.exp: Use standard_testfile.
* gdb.python/py-frame.exp: Use standard_testfile.
* gdb.python/py-inferior.exp: Use standard_testfile.
* gdb.python/py-infthread.exp: Use standard_testfile.
* gdb.python/py-mi.exp: Use standard_testfile.
* gdb.python/py-objfile-script.exp: Use standard_testfile,
build_executable.
* gdb.python/py-objfile.exp: Use standard_testfile.
* gdb.python/py-pp-maint.exp: Use standard_testfile,
prepare_for_testing.
* gdb.python/py-prettyprint.exp: Use standard_testfile.
* gdb.python/py-progspace.exp: Use standard_testfile,
build_executable.
* gdb.python/py-prompt.exp: Use standard_testfile,
build_executable.
* gdb.python/py-section-script.exp: Use standard_testfile,
build_executable.
* gdb.python/py-shared.exp: Use standard_testfile,
standard_output_file, clean_restart.
* gdb.python/py-symbol.exp: Use standard_output_file,
prepare_for_testing.
* gdb.python/py-symtab.exp: Use standard_output_file,
prepare_for_testing
* gdb.python/py-template.exp: Use standard_testfile.
* gdb.python/py-type.exp: Use standard_testfile.
* gdb.python/py-value-cc.exp: Use standard_testfile.
* gdb.python/py-value.exp: Use standard_testfile.
* gdb.python/python.exp: Use standard_testfile, build_executable.

11 years ago * gdb.objc/basicclass.exp: Use standard_testfile.
Tom Tromey [Fri, 22 Jun 2012 17:15:22 +0000 (17:15 +0000)] 
* gdb.objc/basicclass.exp: Use standard_testfile.
(do_objc_tests): Don't declare objdir.
* gdb.objc/nondebug.exp: Use standard_testfile.
(do_objc_tests): Don't declare objdir.
* gdb.objc/objcdecode.exp: Use standard_testfile.
(do_objc_tests): Don't declare objdir.

11 years agobfd/
Roland McGrath [Fri, 22 Jun 2012 16:52:33 +0000 (16:52 +0000)] 
bfd/
* elf.c (assign_file_positions_for_non_load_sections): Define
__ehdr_start symbol if it's referenced and there's a PT_LOAD
segment that covers both the file and program headers.

ld/
* NEWS: Mention __ehdr_start.

ld/testsuite/
* ld-elf/ehdr_start.s: New file.
* ld-elf/ehdr_start.d: New file.

11 years ago * gdb.java/jmain.exp: Use standard_testfile.
Tom Tromey [Fri, 22 Jun 2012 16:44:15 +0000 (16:44 +0000)] 
* gdb.java/jmain.exp: Use standard_testfile.
* gdb.java/jmisc.exp: Use standard_testfile.
* gdb.java/jnpe.exp: Use standard_testfile.
* gdb.java/jprint.exp: Use standard_testfile.

11 years agogas/
Roland McGrath [Fri, 22 Jun 2012 16:42:08 +0000 (16:42 +0000)] 
gas/
* config/tc-i386.c (parse_insn): Don't complain about REP prefix
when the template has opcode_modifier.repprefixok set.
* NEWS: Mention the change.

gas/testsuite/
* gas/i386/rep-bsf.d: New file.
* gas/i386/rep-bsf.s: New file.
* gas/i386/i386.exp: Add the new test.

opcodes/
* i386-opc.h (RepPrefixOk): New enum constant.
(i386_opcode_modifier): New bitfield 'repprefixok'.
* i386-gen.c (opcode_modifiers): Add RepPrefixOk.
* i386-opc.tbl: Add RepPrefixOk to bsf, bsr, and to all
instructions that have IsString.
* i386-tbl.h: Regenerate.

11 years ago * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
Tom Tromey [Fri, 22 Jun 2012 16:39:11 +0000 (16:39 +0000)] 
* lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
(standard_output_file, standard_testfile): New procs.
(build_executable, clean_restart): Use standard_output_file.

11 years ago* elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Don't make
Andreas Schwab [Fri, 22 Jun 2012 09:30:18 +0000 (09:30 +0000)] 
* elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Don't make
_GLOBAL_OFFSET_TABLE_ and _DYNAMIC absolute.

11 years agogdb/doc:
Yao Qi [Fri, 22 Jun 2012 08:37:49 +0000 (08:37 +0000)] 
gdb/doc:

* gdb.texinfo: Add missing cindex for some packets.

11 years agogdb/testsuite:
Yao Qi [Fri, 22 Jun 2012 07:45:57 +0000 (07:45 +0000)] 
gdb/testsuite:

* boards/native-gdbserver.exp: New proc ${board}_exec.
* boards/native-stdio-gdbserver.exp: Likewise.

11 years ago * elf64-ppc.c (ppc64_elf_func_desc_adjust): Don't emit out-of-line
Alan Modra [Fri, 22 Jun 2012 05:53:04 +0000 (05:53 +0000)] 
* elf64-ppc.c (ppc64_elf_func_desc_adjust): Don't emit out-of-line
save/restore functions when relocatable.  Make "funcs" static.

11 years ago*** empty log message ***
gdbadmin [Fri, 22 Jun 2012 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

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

11 years ago * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
Tom Tromey [Thu, 21 Jun 2012 20:46:25 +0000 (20:46 +0000)] 
* lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
(build_executable): Update.
(get_compiler_info): Remove 'binfile' argument.
* gdb.ada/arrayidx.exp: Update.
* gdb.ada/null_array.exp: Update.
* gdb.arch/altivec-abi.exp: Update.
* gdb.arch/altivec-regs.exp: Update.
* gdb.arch/amd64-byte.exp: Update.
* gdb.arch/amd64-dword.exp: Update.
* gdb.arch/amd64-word.exp: Update.
* gdb.arch/i386-avx.exp: Update.
* gdb.arch/i386-byte.exp: Update.
* gdb.arch/i386-sse.exp: Update.
* gdb.arch/i386-word.exp: Update.
* gdb.arch/ppc-dfp.exp: Update.
* gdb.arch/ppc-fp.exp: Update.
* gdb.arch/vsx-regs.exp: Update.
* gdb.base/all-bin.exp: Update.
* gdb.base/annota1.exp: Update.
* gdb.base/async.exp: Update.
* gdb.base/attach.exp: Update.
* gdb.base/break-interp.exp: Update.
* gdb.base/call-ar-st.exp: Update.
* gdb.base/call-rt-st.exp: Update.
* gdb.base/call-sc.exp: Update.
* gdb.base/callfuncs.exp: Update.
* gdb.base/catch-load.exp: Update.
* gdb.base/completion.exp: Update.
* gdb.base/complex.exp: Update.
* gdb.base/condbreak.exp: Update.
* gdb.base/consecutive.exp: Update.
* gdb.base/constvars.exp: Update.
* gdb.base/corefile.exp: Update.
* gdb.base/eval-skip.exp: Update.
* gdb.base/expand-psymtabs.exp: Update.
* gdb.base/exprs.exp: Update.
* gdb.base/fileio.exp: Update.
* gdb.base/fixsection.exp: Update.
* gdb.base/funcargs.exp: Update.
* gdb.base/gdb11530.exp: Update.
* gdb.base/gdb1555.exp: Update.
* gdb.base/gnu-ifunc.exp: Update.
* gdb.base/gnu_vector.exp: Update.
* gdb.base/info-macros.exp: Update.
* gdb.base/jit-simple.exp: Update.
* gdb.base/jit-so.exp: Update.
* gdb.base/jit.exp: Update.
* gdb.base/langs.exp: Update.
* gdb.base/list.exp: Update.
* gdb.base/logical.exp: Update.
* gdb.base/long_long.exp: Update.
* gdb.base/longjmp.exp: Update.
* gdb.base/macscp.exp: Update.
* gdb.base/mips_pro.exp: Update.
* gdb.base/miscexprs.exp: Update.
* gdb.base/morestack.exp: Update.
* gdb.base/nodebug.exp: Update.
* gdb.base/opaque.exp: Update.
* gdb.base/pc-fp.exp: Update.
* gdb.base/pending.exp: Update.
* gdb.base/permissions.exp: Update.
* gdb.base/pointers.exp: Update.
* gdb.base/prelink.exp: Update.
* gdb.base/printcmds.exp: Update.
* gdb.base/psymtab.exp: Update.
* gdb.base/ptype.exp: Update.
* gdb.base/relational.exp: Update.
* gdb.base/scope.exp: Update.
* gdb.base/setvar.exp: Update.
* gdb.base/shlib-call.exp: Update.
* gdb.base/shreloc.exp: Update.
* gdb.base/signals.exp: Update.
* gdb.base/sizeof.exp: Update.
* gdb.base/so-impl-ld.exp: Update.
* gdb.base/so-indr-cl.exp: Update.
* gdb.base/solib-disc.exp: Update.
* gdb.base/solib-display.exp: Update.
* gdb.base/solib-nodir.exp: Update.
* gdb.base/solib-overlap.exp: Update.
* gdb.base/solib-symbol.exp: Update.
* gdb.base/solib-weak.exp: Update.
* gdb.base/solib.exp: Update.
* gdb.base/store.exp: Update.
* gdb.base/structs.exp: Update.
* gdb.base/structs2.exp: Update.
* gdb.base/type-opaque.exp: Update.
* gdb.base/unload.exp: Update.
* gdb.base/varargs.exp: Update.
* gdb.base/volatile.exp: Update.
* gdb.base/watch_thread_num.exp: Update.
* gdb.base/watchpoint-solib.exp: Update.
* gdb.base/watchpoint.exp: Update.
* gdb.base/watchpoints.exp: Update.
* gdb.base/whatis.exp: Update.
* gdb.cell/arch.exp: Update.
* gdb.cell/break.exp: Update.
* gdb.cell/bt.exp: Update.
* gdb.cell/core.exp: Update.
* gdb.cell/data.exp: Update.
* gdb.cell/ea-cache.exp: Update.
* gdb.cell/f-regs.exp: Update.
* gdb.cell/fork.exp: Update.
* gdb.cell/gcore.exp: Update.
* gdb.cell/mem-access.exp: Update.
* gdb.cell/ptype.exp: Update.
* gdb.cell/registers.exp: Update.
* gdb.cell/sizeof.exp: Update.
* gdb.cell/solib-symbol.exp: Update.
* gdb.cell/solib.exp: Update.
* gdb.cp/ambiguous.exp: Update.
* gdb.cp/breakpoint.exp: Update.
* gdb.cp/bs15503.exp: Update.
* gdb.cp/casts.exp: Update.
* gdb.cp/class2.exp: Update.
* gdb.cp/cpexprs.exp: Update.
* gdb.cp/cplusfuncs.exp: Update.
* gdb.cp/ctti.exp: Update.
* gdb.cp/dispcxx.exp: Update.
* gdb.cp/gdb1355.exp: Update.
* gdb.cp/gdb2384.exp: Update.
* gdb.cp/gdb2495.exp: Update.
* gdb.cp/infcall-dlopen.exp: Update.
* gdb.cp/local.exp: Update.
* gdb.cp/m-data.exp: Update.
* gdb.cp/m-static.exp: Update.
* gdb.cp/mb-ctor.exp: Update.
* gdb.cp/mb-inline.exp: Update.
* gdb.cp/mb-templates.exp: Update.
* gdb.cp/member-ptr.exp: Update.
* gdb.cp/method.exp: Update.
* gdb.cp/namespace.exp: Update.
* gdb.cp/nextoverthrow.exp: Update.
* gdb.cp/nsdecl.exp: Update.
* gdb.cp/nsrecurs.exp: Update.
* gdb.cp/nsstress.exp: Update.
* gdb.cp/nsusing.exp: Update.
* gdb.cp/pr-1023.exp: Update.
* gdb.cp/pr-1210.exp: Update.
* gdb.cp/pr-574.exp: Update.
* gdb.cp/pr9631.exp: Update.
* gdb.cp/printmethod.exp: Update.
* gdb.cp/psmang.exp: Update.
* gdb.cp/re-set-overloaded.exp: Update.
* gdb.cp/rtti.exp: Update.
* gdb.cp/shadow.exp: Update.
* gdb.cp/templates.exp: Update.
* gdb.cp/try_catch.exp: Update.
* gdb.dwarf2/dw2-ranges.exp: Update.
* gdb.dwarf2/pr10770.exp: Update.
* gdb.fortran/library-module.exp: Update.
* gdb.hp/gdb.aCC/optimize.exp: Update.
* gdb.hp/gdb.aCC/watch-cmd.exp: Update.
* gdb.hp/gdb.base-hp/callfwmall.exp: Update.
* gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
* gdb.hp/gdb.base-hp/pxdb.exp: Update.
* gdb.hp/gdb.base-hp/sized-enum.exp: Update.
* gdb.hp/gdb.base-hp/so-thresh.exp: Update.
* gdb.hp/gdb.compat/xdb1.exp: Update.
* gdb.hp/gdb.compat/xdb2.exp: Update.
* gdb.hp/gdb.compat/xdb3.exp: Update.
* gdb.hp/gdb.defects/bs14602.exp: Update.
* gdb.hp/gdb.defects/solib-d.exp: Update.
* gdb.hp/gdb.objdbg/objdbg01.exp: Update.
* gdb.hp/gdb.objdbg/objdbg02.exp: Update.
* gdb.hp/gdb.objdbg/objdbg03.exp: Update.
* gdb.hp/gdb.objdbg/objdbg04.exp: Update.
* gdb.mi/gdb792.exp: Update.
* gdb.mi/mi-pending.exp: Update.
* gdb.mi/mi-solib.exp: Update.
* gdb.mi/mi-var-cp.exp: Update.
* gdb.opt/clobbered-registers-O2.exp: Update.
* gdb.opt/inline-bt.exp: Update.
* gdb.opt/inline-cmds.exp: Update.
* gdb.opt/inline-locals.exp: Update.
* gdb.python/py-events.exp: Update.
* gdb.python/py-finish-breakpoint.exp: Update.
* gdb.python/py-type.exp: Update.
* gdb.reverse/solib-precsave.exp: Update.
* gdb.reverse/solib-reverse.exp: Update.
* gdb.server/solib-list.exp: Update.
* gdb.stabs/weird.exp: Update.
* gdb.threads/attach-into-signal.exp: Update.
* gdb.threads/attach-stopped.exp: Update.
* gdb.threads/tls-shared.exp: Update.
* gdb.trace/change-loc.exp: Update.
* gdb.trace/strace.exp: Update.

11 years agold/
Alan Modra [Thu, 21 Jun 2012 03:33:00 +0000 (03:33 +0000)] 
ld/
* ldlang.c (lang_insert_orphan): Don't make __start_<sec> symbol
absolute, and remove unnecessary alignment.
ld/testsuite/
* ld-gc/start.d: Update.

11 years ago*** empty log message ***
gdbadmin [Thu, 21 Jun 2012 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

11 years agodaily update
Alan Modra [Thu, 21 Jun 2012 00:00:04 +0000 (00:00 +0000)] 
daily update

11 years ago * gdb.texinfo (GDB/MI Breakpoint Commands): Re-order options
Keith Seitz [Wed, 20 Jun 2012 20:11:06 +0000 (20:11 +0000)] 
* gdb.texinfo (GDB/MI Breakpoint Commands): Re-order options
for -break-insert and document -p.

11 years ago * python/py-inferior.c: Update comments of infpy_read_memory
Yao Qi [Wed, 20 Jun 2012 04:02:22 +0000 (04:02 +0000)] 
    * python/py-inferior.c: Update comments of infpy_read_memory
        and infpy_write_memory.

gdb/doc:

        * gdb.texinfo (Inferiors In Python): Replace "gdb.read_memory"
        and "gdb.write_memory" with "Inferior.read_memory" and
        "Inferior.write_memory".

11 years ago*** empty log message ***
gdbadmin [Wed, 20 Jun 2012 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

11 years agodaily update
Alan Modra [Wed, 20 Jun 2012 00:00:04 +0000 (00:00 +0000)] 
daily update

11 years agoinclude "config.h" instead of BFD's sysdep.h in d10v/interp.c
Joel Brobecker [Tue, 19 Jun 2012 22:46:57 +0000 (22:46 +0000)] 
include "config.h" instead of BFD's sysdep.h in d10v/interp.c

The change of include file introduces some new warnings about functions
being used without a prototype. So a few more system includes have been
added to compensate for that.

sim/d10v/ChangeLog:

        * interp.c: #include "config.h" instead of "sysdep.h".
        Add conditional include of string.h or strings.h, as well as
        conditional include of stdlib.h.

11 years ago PR exp/9514:
Tom Tromey [Tue, 19 Jun 2012 19:49:42 +0000 (19:49 +0000)] 
PR exp/9514:
* parser-defs.h (insert_type, insert_type_address_space): Declare.
(push_type_address_space): Remove.
* parse.c (insert_into_type_stack): New function.
(insert_type): Likewise.
(insert_type_address_space): Rename from push_type_address_space.
Insert tp_space_identifier.
* c-exp.y (ptr_operator): New production.
(abs_decl): Use ptr_operator.
(space_identifier): Call insert_type_address_space.
(ptype): Don't use const_or_volatile_or_space_identifier.
(const_or_volatile_noopt): Call insert_type.
(conversion_type_id, conversion_declarator): New productions.
(operator): Use conversion_type_id.
testsuite
* gdb.base/whatis.exp: Add tests.

11 years ago * gdb.cp/m-static.cc (keepalive): New function.
Tom Tromey [Tue, 19 Jun 2012 15:47:02 +0000 (15:47 +0000)] 
* gdb.cp/m-static.cc (keepalive): New function.
(gnu_obj_1::method): Use it.

11 years ago * symtab.h (minimal_symbol): New member created_by_gdb.
Doug Evans [Tue, 19 Jun 2012 00:53:35 +0000 (00:53 +0000)] 
* symtab.h (minimal_symbol): New member created_by_gdb.
* elfread.c (elf_symtab_read): Set created_by_gdb for @plt minsym
created by gdb.
* symtab.c (lookup_symbol_in_objfile_from_linkage_name): New function.
(search_symbols): Call it instead of lookup_symbol.
Skip symbols created by gdb.  Only scan minsyms if nfiles == 0.

testsuite:
* gdb.base/info-fun.exp: New file.
* gdb.base/info-fun.c: New file.
* gdb.base/info-fun-solib.c: New file.

11 years ago * dwarf2expr.c (execute_stack_op): Handle DW_OP_GNU_const_index.
Doug Evans [Tue, 19 Jun 2012 00:37:18 +0000 (00:37 +0000)] 
* dwarf2expr.c (execute_stack_op): Handle DW_OP_GNU_const_index.
Adjust address for DW_OP_GNU_addr_index.
* dwarf2expr.h (dwarf_expr_context): Update comment.
* dwarf2loc.c (locexpr_describe_location_piece): New arg per_cu,
all callers updated.  Handle TLS vars described with
DW_OP_GNU_const_index.
(disassemble_dwarf_expression): Handle DW_OP_GNU_addr_index
and DW_OP_GNU_const_index.
* dwarf2read.c (decode_locdesc): Handle DW_OP_GNU_addr_index.

11 years agomerge from gcc
DJ Delorie [Tue, 19 Jun 2012 00:03:49 +0000 (00:03 +0000)] 
merge from gcc

11 years agodaily update
Alan Modra [Tue, 19 Jun 2012 00:00:04 +0000 (00:00 +0000)] 
daily update

11 years ago*** empty log message ***
gdbadmin [Tue, 19 Jun 2012 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

11 years ago * block.c (find_block_in_blockvector): Make explicit the fact that we
Doug Evans [Mon, 18 Jun 2012 20:31:26 +0000 (20:31 +0000)] 
* block.c (find_block_in_blockvector): Make explicit the fact that we
ignore GLOBAL_BLOCK.

11 years ago * c-exp.y (operator): Remove trailing space after "delete" and
Tom Tromey [Mon, 18 Jun 2012 20:23:38 +0000 (20:23 +0000)] 
* c-exp.y (operator): Remove trailing space after "delete" and
"delete[]".

This page took 0.0481 seconds and 4 git commands to generate.