aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2009-12-03gdb/Jan Kratochvil2-3/+9
* linux-thread-db.c (find_new_threads_once): Change errp and err types to td_err_e. (thread_db_find_new_threads_2): Change err type to td_err_e.
2009-12-03ChangeLog:Paul Pluzhnikov5-0/+135
2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com> PR gdb/11022 * breakpoint.c (invalidate_bp_value_on_memory_change): New function. (_initialize_breakpoint): Add it as memory change observer. testsuite/ChangeLog: 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com> PR gdb/11022 * gdb.base/pr11022.exp: New test. * gdb.base/pr11022.c: New test.
2009-12-032009-12-03 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+6
* machoread.c (macho_sym_fns): Set sym_segment routine.
2009-12-03gdb/testsuite/Jan Kratochvil3-20/+57
Fix spurious false FAILs. * gdb.base/structs.c (chartest): New. (main): Fill-in chartest. * gdb.base/structs.exp (anychar_re, first): New. (start_structs_test): Import global anychar_re and first. New gdb_test call "set print elements 300; ${testfile}" (start_structs_test <$first>): New block. (any): Import global anychar_re. New variable ac. Use ${ac}.
2009-12-03*** empty log message ***gdbadmin1-1/+1
2009-12-02gdb/ChangeLog:Paul Pluzhnikov8-10/+21
2009-12-02 Paul Pluzhnikov <ppluzhnikov@google.com> * ada-lang.c (ada_value_assign): Use observer_notify_memory_changed. * valops.c (value_assign): Likewise. * defs.h (deprecated_memory_changed_hook): Remove. * top.c (deprecated_memory_changed_hook): Likewise. * interps.c (clear_interpreter_hooks): Adjust. gdb/gdbtk/ChangeLog: 2009-12-02 Paul Pluzhnikov <ppluzhnikov@google.com> * generic/gdbtk-hooks.c (gdbtk_memory_changed): Adjust. (gdbtk_add_hooks): Adjust. gdb/doc/ChangeLog: 2009-12-02 Paul Pluzhnikov <ppluzhnikov@google.com> * observer.texi: New memory_changed observer.
2009-12-022009-12-02 Tristan Gingold <gingold@adacore.com>Tristan Gingold6-8/+22
* symfile.h (dwarf2_build_psymtabs): Remove mainline parameter in prototype. * dwarf2read.c (dwarf2_build_psymtabs): Remove mainline paramter in definition, simplify code assuming it is always 0. * coffread.c (coff_symfile_read): Adjust call. * elfread.c (elf_symfile_read): Ditto. * machoread.c (macho_symfile_read): Explicitely calls init_psymbol_list if mainline is set.
2009-12-022009-12-02 Tristan Gingold <gingold@adacore.com>Tristan Gingold7-25/+30
* dwarf2read.c (dwarf2_build_psymtabs_easy): Remove mainline parameter. (dwarf2_build_psymtabs_hard): Ditto. (dwarf2_build_psymtabs): Ajust calls. * stabsread.h (elfstab_build_psymtabs): Remove mainline parameter on the prototype. (coffstab_build_psymtabs): Ditto. (stabsect_build_psymtabs): Ditto. * dbxread.c (coffstab_build_psymtabs): Remove mainline parameter on the definition. (elfstab_build_psymtabs): Ditto. (stabsect_build_psymtabs): Ditto. * coffread.c (coff_symfile_read): Adjust call. * elfread.c (elf_symfile_read): Ditto. * somread.c (som_symfile_read): Ditto.
2009-12-022009-10-23 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-2/+8
* charset.c (_initialize_charset): Set a default value to auto_host_charset_name if empty.
2009-12-02*** empty log message ***gdbadmin1-1/+1
2009-12-01 * gcore.c: Include solib.h.Joseph Myers6-1/+92
(gcore_create_callback): Call solib_keep_data_in_core when considering not saving memory in core file. * solib-svr4.c (svr4_keep_data_in_core): New. (_initialize_svr4_solib): Initialize svr4_so_ops.keep_data_in_core. * solib.c (solib_keep_data_in_core): New. * solib.h (solib_keep_data_in_core): Declare. * solist.h (struct target_so_ops): Add keep_data_in_core.
2009-12-01 * gdb.texinfo (Reverse Execution): Fix typo.Tom Tromey2-1/+5
2009-12-01*** empty log message ***gdbadmin1-1/+1
2009-11-30gdb/testsuite/Jan Kratochvil2-1/+5
* gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
2009-11-30gdb/testsuite/Jan Kratochvil3-2/+10
* gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call): Force $srcfile file. * gdb.base/foll-fork.c (callee): Comment out the printf call.
2009-11-30config:Joseph Myers2-110/+142
* largefile.m4 (ACX_LARGEFILE): Require AC_CANONICAL_HOST and AC_CANONICAL_TARGET. bfd: * configure: Regenerate. binutils: * configure: Regenerate. gas: * configure: Regenerate. gdb: * configure: Regenerate. gprof: * configure: Regenerate. ld: * configure: Regenerate.
2009-11-30*** empty log message ***gdbadmin1-1/+1
2009-11-29*** empty log message ***gdbadmin1-1/+1
2009-11-28 * target.c (target_terminal_inferior): Use target_can_async_p, notVladimir Prus2-2/+9
target_is_async_p.
2009-11-28*** empty log message ***gdbadmin1-1/+1
2009-11-27gdb/Ulrich Weigand6-4/+15
* s390-nat.c (s390_can_use_hw_breakpoint): Only support breakpoints of type bp_hardware_watchpoint. gdb/testsuite/ * gdb.base/hbreak.exp: Disable for s390*-*-* targets. * gdb.base/watchpoint-hw-hit-once.exp: Likewise. * gdb.threads/watchthreads-reorder.exp: Likewise.
2009-11-27 * ada-lang.c: Apply some corrections to the previous comment addition.Joel Brobecker2-5/+9
2009-11-27 * ada-lang.c: Update the comment explaining how to evaluateJoel Brobecker2-34/+77
Ada expressions.
2009-11-27*** empty log message ***gdbadmin1-1/+1
2009-11-26 * win32-low.c (get_child_debug_event): On EXIT_THREAD_DEBUG_EVENTPedro Alves2-5/+9
events, don't leave current_inferior pointing at null.
2009-11-26 * win32-low.c (LOG): Delete.Pedro Alves2-9/+20
(OUTMSG): Output to stderr. (OUTMSG2): Conditionalize on `debug_threads' variable, instead of on compile time LOG macro. (win32_wait): Fix debug output.
2009-11-26 * win32-low.c (win32_add_one_solib): If the dll name isPedro Alves2-0/+13
"ntdll.dll", prepend the system directory to the dll path.
2009-11-26*** empty log message ***gdbadmin1-1/+1
2009-11-25 PR gdb/8704Daniel Jacobowitz7-5/+72
* breakpoint.c (find_condition_and_thread): Correct task error message. * c-exp.y (yylex): Stop before "thread N", "task N", or abbreviations of those. doc/ * gdb.texinfo (Thread-Specific Breakpoints): Thread specifiers are allowed after the breakpoint condition. testsuite/ * gdb.base/condbreak.exp: Test combinations of "break *EXP", "if", and "thread". Correct matching in the previous test.
2009-11-25 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.Daniel Jacobowitz3-0/+89
2009-11-25*** empty log message ***gdbadmin1-1/+1
2009-11-24 * acinclude.m4: Include ../config/zlib.m4.Joel Brobecker4-2/+29
* configure.ac: Use AM_ZLIB to check for zlib support. * configure: Regenerate.
2009-11-24 * breakpoint.c (expand_line_sal_maybe): Adjust adjust the SALJoel Brobecker2-2/+9
past the function prologue in the case where we were given only one SAL.
2009-11-24 * record.c (init_record_ops, init_record_core_ops): ActuallyPedro Alves2-0/+7
install record_stopped_data_address.
2009-11-24*** empty log message ***gdbadmin1-1/+1
2009-11-232009-11-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>Tom Tromey2-0/+7
* dwarf2read.c [HAVE_MMAP] (MAP_FAILED): Define if missing.
2009-11-23 * dwarf2read.c (find_partial_die): Don't reassign to 'back_to'.Tom Tromey2-1/+5
2009-11-23 PR python/10782:Tom Tromey2-0/+10
* gdb.texinfo (Types In Python): Document Type.pointer.
2009-11-232009-11-23 Michael Snyder <msnyder@vmware.com>Michael Snyder3-3/+164
* gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints. * gdb.reverse-watch-precsave.exp: Ditto.
2009-11-232009-11-23 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+8
* NEWS: Mention hw watchpoint fix for process record.
2009-11-23gdb/ChangeLog:Paul Pluzhnikov8-18/+40
2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com> * cli/cli-cmds.c (disassemble_command): Split on comma. (init_cli_cmds): Update help. * NEWS: Mention incompatible change to 'disassemble'. gdb/testsuite/ChangeLog: 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com> * gdb.asm/asm-source.exp: Adjust. * gdb.base/help.exp: Adjust. gdb/doc/ChangeLog: 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com> * gdb.texinfo (Machine Code): Adjust.
2009-11-23*** empty log message ***gdbadmin1-1/+1
2009-11-22 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)Pedro Alves2-3/+13
(do_syscall_tests_without_xml): Set data-directory to /the/path/to/nowhere.
2009-11-22 Make hardware breakpoints work for process repord.Pedro Alves2-22/+39
* record.c (record_wait): Only adjust PC on software breakpoints hits.
2009-11-22 Make hardware watchpoints work for process record.Pedro Alves4-9/+136
* breakpoint.c (hardware_watchpoint_inserted_in_range): New. * breakpoint.h (hardware_watchpoint_inserted_in_range): Declare. * record.c (record_beneath_to_stopped_by_watchpoint) (record_beneath_to_stopped_data_address, record_hw_watchpoint): New globals. (record_exec_insn): Check for watchpoint hits. (tmp_to_stopped_by_watchpoint, tmp_to_stopped_data_address): New globals. (record_open): Set tmp_to_stopped_by_watchpoint, tmp_to_stopped_data_address, record_beneath_to_stopped_by_watchpoint and record_beneath_to_stopped_data_address. (record_wait): Report watchpoint hits to the core. Update and extend comments. (record_stopped_by_watchpoint): New. (record_stopped_data_address): New. (init_record_ops): Install them. (init_record_core_ops): Ditto.
2009-11-22*** empty log message ***gdbadmin1-1/+1
2009-11-21 * breakpoint.c (update_watchpoint): Skip creating locations andPedro Alves2-53/+117
reading the selected frame if there's no execution. (bpstat_stop_status): Use is_hardware_watchpoint. If not stopping, update watchpoints and the global location list, instead of removing and inserting all breakpoints. (breakpoint_address_is_meaningful): Hardware watchpoints also have a meaningful target address. (watchpoint_locations_match): New. (breakpoint_locations_match): New. (watch_command_1): Create the watchpoint breakpoint without any location initially. Use update_watchpoint to create the watchpoint locations. (update_global_location_list): Use breakpoint_locations_match, so watchpoint locations are handled too. Also detect duplicate watchpoint locations.
2009-11-21 gdb/Pedro Alves6-2/+267
* breakpoint.h (struct breakpoint) <watchpoint_thread>: New field. * breakpoint.c (watchpoint_in_thread_scope): New. (update_watchpoint): Skip if the local watchpoint's thread doesn't match the current thread, or if the current thread is running. (watchpoint_check): Ditto. (watch_command_1): Set the watchpoint's watchpoint_thread field. gdb/testsuite/ * gdb.threads/local-watch-wrong-thread.c, gdb.threads/local-watch-wrong-thread.exp: New files.
2009-11-21 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don'tPedro Alves2-2/+7
assume new `regsub' syntax available.
2009-11-21*** empty log message ***gdbadmin1-1/+1