aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-11-09*** empty log message ***gdbadmin1-1/+1
2011-11-08daily updateAlan Modra1-1/+1
2011-11-08 * gdb.texinfo (MIPS): Remove duplicate "auto" reference fromMaciej W. Rozycki2-1/+5
"set mips abi" documentation.
2011-11-08 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.Maciej W. Rozycki2-1/+5
2011-11-08Merge libitm changes to configure.ac from gcc master.Richard Henderson3-0/+46
2011-11-08merge from gccDJ Delorie4-4/+79
2011-11-08 * elf-m10300.c (mn10300_elf_relax_section): Fix check for anNick Clifton2-2/+7
immediate move into an address register.
2011-11-08 * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Mark syms inAlan Modra2-1/+6
executables when export_dynamic.
2011-11-08bfd/Alan Modra5-38/+99
* elf64-ppc.c (struct ppc64_elf_obj_tdata): Rename ha_relocs_not_using_r2 to unexpected_toc_insn. (ok_lo_toc_insn): New function. (ppc64_elf_edit_toc): Check insn on lo toc reloc. Emit warning. (ppc64_elf_relocate_section): Don't check insn on lo toc reloc here. Handle addic on lo toc reloc. ld/testsuite/ * ld-powerpc/powerpc.exp: Expect ld warnings for tocopt test. * ld-powerpc/tocopt.out: New file.
2011-11-08gdb/testsuite/Yao Qi25-46/+106
* gdb.exp (supports_process_record): New. (supports_reverse): New. * gdb.reverse/break-precsave.exp: Call support_process_record to run test conditionally. * gdb.reverse/consecutive-precsave.exp: Likewise. * gdb.reverse/i386-precsave.exp: Likewise. * gdb.reverse/machinestate-precsave.exp: Likewise. * gdb.reverse/solib-precsave.exp: Likewise. * gdb.reverse/step-precsave.exp: Likewise. * gdb.reverse/until-precsave.exp: Likewise. * gdb.reverse/watch-precsave.exp: Likewise. * gdb.reverse/break-reverse.exp: Call support_reverse to run test conditionally. * gdb.reverse/consecutive-reverse.exp: Likewise. * gdb.reverse/finish-precsave.exp: Likewise. * gdb.reverse/finish-reverse-bkpt.exp: Likewise. * gdb.reverse/finish-reverse.exp: Likewise. * gdb.reverse/i386-reverse.exp: Likewise. * gdb.reverse/i386-sse-reverse.exp: Likewise. * gdb.reverse/machinestate.exp: Likewise. * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise. * gdb.reverse/sigall-precsave.exp: Likewise. * gdb.reverse/sigall-reverse.exp: Likewise. * gdb.reverse/solib-reverse.exp: Likewise. * gdb.reverse/step-reverse.exp: Likewise. * gdb.reverse/until-reverse.exp: Likewise. * gdb.reverse/watch-reverse.exp: Likewise.
2011-11-08 * MAINTAINERS: Move Michael Snyder to Past Maintainers.Stan Shebs2-9/+7
2011-11-08*** empty log message ***gdbadmin1-1/+1
2011-11-07daily updateAlan Modra1-1/+1
2011-11-07Minor reformatting in infrun.c:handle_inferior_eventJoel Brobecker2-2/+6
gdb/ChangeLog: * infrun.c (handle_inferior_event): Minor reformatting.
2011-11-07sim: dv-cfi: check for posix_fallocateMike Frysinger5-3/+13
Some systems (like OS X) do not have posix_fallocate. Add a configure check for it before we try to use it. This is less work than trying to support old systems. URL: http://sourceware.org/bugzilla/show_bug.cgi?id=13161 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-11-07sim: mn10300: fix typo in if checkMike Frysinger2-2/+7
The code looks like it should be doing a bit check, not logical. URL: http://sourceware.org/bugzilla/show_bug.cgi?id=9302 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-11-07 * gas/config/tc-arm.c (arm_cpus): Add cortex-a7 entry.Matthew Gretton-Dann3-0/+10
* gas/doc/c-arm.texi (ARM Options): Add cortex-a7 to list of accepted CPUs.
2011-11-07[gdbserver] Fix watchpoint support on WindowsJoel Brobecker2-12/+19
Watchpoint support doesn't work anymore when using gdbserver on Windows. They just never trigger. The problem comes from the fact that we always set the debug registers to zero, no matter what. This in turn comes from the fact that we use i386_low_insert_watchpoint to compute the DR values: return i386_low_insert_watchpoint (&debug_reg_state, type, addr, len); This function saves the new values in debug_reg_state. However, the values we actually use when setting the DR registers are taken from two different globals: static unsigned dr_status_mirror; static unsigned dr_control_mirror; These are really never actually changed (their value is set from the DR values read from the inferior, but since we never change them, in practice, they never change). The fix is to use the values provided by debug_reg_state, and to eliminate the two dr_[...] globals. gdb/gdbserver/ChangeLog: * win32-i386-low.c (dr_status_mirror, dr_control_mirror): Delete. (i386_dr_low_get_control, i386_dr_low_get_status): Use dr_status_mirror and dr_control_mirror from debug_reg_state. (i386_dr_low_get_status): Use debug_reg_state.dr_status_mirror (i386_initial_stuff): Remove use of deleted globals. (i386_get_thread_context, i386_set_thread_context, i386_thread_added): Use dr_status_mirror and dr_control_mirror from debug_reg_state.
2011-11-07*** empty log message ***gdbadmin1-1/+1
2011-11-06daily updateAlan Modra1-1/+1
2011-11-06 PR ld/13387Dave Anglin2-2/+19
* elf32-hppa.c (elf32_hppa_hide_symbol): Make STT_GNU_IFUNC symbol go through PLT. Reset plt field with init_plt_offset. (elf32_hppa_adjust_dynamic_symbol): Ensure that a PLT slot is allocated for symbols referenced by a plabel.
2011-11-06 * source.c (forget_cached_source_info_for_objfile): Move call toDoug Evans2-4/+10
objfile->sf->qf->forget_cached_source_info outside of ALL_OBJFILE_SYMTABS loop. (forget_cached_source_info): Delete unused variable `s'.
2011-11-06*** empty log message ***gdbadmin1-1/+1
2011-11-05daily updateAlan Modra1-1/+1
2011-11-05gdb/Jan Kratochvil2-3/+4
* i386-nat.c (dr_ref_count): Remove unused variable.
2011-11-05 * main.c (captured_main): Set lim_at_start before callingDoug Evans2-5/+13
make_command_stats_cleanup.
2011-11-05gdb/gdbserver:Yao Qi4-27/+52
2011-11-05 Yao Qi <yao@codesourcery.com> * tracepoint.c (gdb_collect): Loop over tracepoints of same address as TPOINT's. gdb/testsuite: 2011-11-05 Yao Qi <yao@codesourcery.com> * gdb.trace/trace-break.exp: Add test on setting two fast tracepoints at the same address.
2011-11-05*** empty log message ***gdbadmin1-1/+1
2011-11-04daily updateAlan Modra1-1/+1
2011-11-04 * utils.c: #include "timeval-utils.h".Doug Evans4-12/+36
(cmd_stats): Rename start_time to start_cpu_time. New member start_wall_time. (report_command_stats): Report wall time. (make_command_stats_cleanup): Record start wall time. doc/ * gdb.texinfo (Maintenance Commands): Update docs of "maint time".
2011-11-04 * cp-namespace.c (cp_lookup_symbol_imports): Reindent.Tom Tromey2-65/+69
2011-11-04* doc/c-rl78.texi (RL78-Float): Remove unused menu entry.DJ Delorie2-1/+4
2011-11-04merge from gccDJ Delorie2-3/+14
2011-11-04 * coff-pe-read.c: Include defs.h before bfd.h.Rainer Orth2-2/+5
2011-11-042011-11-04 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon2-4/+20
PR Python/13345 * python/python.c (python_run_simple_file): Expand tilde in path.
2011-11-042011-11-04 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon2-8/+28
PR Python/13363 * python/py-type.c (typy_lookup_type): Do not return a type in an exception handler.
2011-11-04*** empty log message ***gdbadmin1-1/+1
2011-11-03daily updateAlan Modra1-1/+1
2011-11-03gdb/Jan Kratochvil2-5/+12
* linux-nat.c (_initialize_linux_nat): Improve help for `info proc stat', `info proc status', `info proc cwd', `info proc cmdline' and `info proc exe'.
2011-11-03gdb/testsuite/Jan Kratochvil2-1/+5
* gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
2011-11-032011-02-11 Ben Golding <ben_golding@yahoo.co.uk>Tom Tromey2-0/+5
* events.c: add #include <stdlib.h> for free(). Fix PR build/13372.
2011-11-03 * gdb.texinfo (Stopping): Add menu entry.Tom Tromey2-1/+10
(Continuing and Stepping): Restore @node. Use @section, not @subsection.
2011-11-032011-11-03 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-2/+8
* scripttempl/aix.sc: Consider header size for .text and .data alignment.
2011-11-03 * configure.ac: Add --with-lib-path option. Define LIB_PATH andIan Lance Taylor8-16/+90
NATIVE_LINKER. * Makefile.am (AM_CPPFLAGS): Define TOOLLIBDIR. * options.cc (General_options::finalize): Use library search path from configure script if specified. If not native and no sysroot, only search TOOLLIBDIR. * options.h (Search_directory::Search_directory): Change name to const std::string&. (General_options::add_to_library_path_with_sysroot): Change arg to const std::string&. * configure, Makefile.in, config.in: Rebuild.
2011-11-03 * arm.cc (Target_arm::may_use_v5t_interworking): Check whetherIan Lance Taylor7-27/+259
we are working around the ARM1176 Erratum. * options.h (General_options::fix_arm1176): Add option. * testsuite/Makefile.am: Add testcases, and keep current ones working. * testsuite/Makefile.in: Regenerate. * testsuite/arm_fix_1176.s: New file. * testsuite/arm_fix_1176.sh: Likewise.
2011-11-03 * gdb.texinfo (Skipping Over Functions and Files): Remove nodeMaciej W. Rozycki2-2/+6
designation. Fix "Specify Location" cross-reference.
2011-11-03*** empty log message ***gdbadmin1-1/+1
2011-11-022011-11-02 Stan Shebs <stan@codesourcery.com>Stan Shebs19-6/+349
String collection for tracepoints. * NEWS: Mention string collection. * common/ax.def (tracenz): New bytecode. * ax-gdb.h (trace_string_kludge): Declare. * ax-gdb.c: Include valprint.h and c-lang.h. (trace_string_kludge): New global. (gen_traced_pop): Add string case. (agent_command): Add string case. * tracepoint.h (decode_agent_options): Declare. * tracepoint.c: Include cli-utils.h. (decode_agent_options): New function. (validate_actionline): Call it. (encode_actions_1): Ditto. * target.h (struct target_ops): New method to_supports_string_tracing. (target_supports_string_tracing): New macro. * target.c (update_current_target): Add to_supports_string_tracing. * remote.c (struct remote_state): New field string_tracing. (remote_string_tracing_feature): New function. (remote_protocol_features): New feature tracenz. (remote_supports_string_tracing): New function. (init_remote_ops): Set to_supports_string_tracing. * tracepoint.c (agent_mem_read_string): New function. (eval_agent_expr): Call it for tracenz. * server.c (handle_query): Report support for tracenz. * gdb.texinfo (Tracepoint Action Lists): Document collect/s. (General Query Packets): Describe tracenz feature. * agentexpr.texi (Bytecode Descriptions): Describe tracenz. * gdb.trace/collection.c: Add code using strings. * gdb.trace/collection.exp: Add tests of string collection.
2011-11-02daily updateAlan Modra1-1/+1
2011-11-02merge from gccDJ Delorie2-8/+19