aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2008-01-29 * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameterJoel Brobecker12-21/+39
and use it. (proceed, start_remote): Update call to wait_for_inferior. * inferior.h (wait_for_inferior): Update declaration. * fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c, solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior. * inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED.
2008-01-29* lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknownJim Blandy3-0/+12
host' errors. * lib/mi-support.exp (mi_gdb_target_cmd): Same.
2008-01-29* gdb.threads/sigthread.c: Use barriers to ensure thatJim Blandy2-0/+16
child_thread and child_thread_two are always initialized before we start to use them.
2008-01-292008-01-29 Aleksandar Ristovski <aristovski@qnx.com>Daniel Jacobowitz2-3/+18
* varobj (adjust_value_for_child_access): Added checking for returned value from gdb_value_ind. (c_describe_child): Likewise. (cplus_describe_child): Fixed a typo.
2008-01-29* MAINTAINERS: Update my info.Jim Blandy2-2/+6
2008-01-29 Use multiple locations for hardware watchpoints.Vladimir Prus7-252/+478
This eliminates the need to traverse value chain, doing various checks, in three different places. * breakpoint.h (struct bp_location): New fields lengths and watchpoint_type. (struct breakpoint): Remove the val_chain field. * breakpoint.c (is_hardware_watchpoint): New. (free_valchain): Remove. (update_watchpoint): New. (insert_bp_location): For hardware watchpoint, just directly insert it. (insert_breakpoints): Call update_watchpoint_locations on all watchpoints. If we have failed to insert any location of a hardware watchpoint, remove all inserted locations. (remove_breakpoint): For hardware watchpoints, directly remove location. (watchpoints_triggered): Iterate over locations. (bpstat_stop_status): Use only first location of a resource watchpoint. (delete_breakpoint): Don't call free_valchain. (print_one_breakpoint): Don't print all locations for watchpoints. (breakpoint_re_set_one): Use update_watchpoint for watchpoints.
2008-01-29 Don't reset watchpoint block on solib load.Vladimir Prus2-42/+76
* breakpoint.c (insert_bp_location): For watchpoints, recompute condition. (breakpoint_re_set_one): Instead of recomputing value and condition for watchpoints, just reset value and let insert_breakpoints/insert_bp_location recompute it. Don't do anything about disabled watchpoint.
2008-01-29 * gdb.base/gdb1056.exp: Add unsigned integer test.Pierre Muller2-0/+6
2008-01-29 * valarith.c (value_binop): Handle unsigned integerPierre Muller2-1/+9
division by zero.
2008-01-29 * mn10300-tdep.c (mn10300_analyze_prologue): Check for anKevin Buettner2-27/+37
instruction pattern that appears frequently in position independent code. Fix bug in code which looks for "fmov" and backtracks if no "fmov" is found.
2008-01-29*** empty log message ***gdbadmin1-1/+1
2008-01-28 * dbxread.c (read_dbx_symtab): Reformat comments to 80 columns.Doug Evans2-7/+11
Move local var def closer to only use.
2008-01-28 * dbxread.c (read_dbx_symtab): Fix indentation.Doug Evans2-479/+483
2008-01-28 * fork-child.c (SHELL_FILE): Remove #ifndef.Daniel Jacobowitz4-19/+10
(fork_inferior): Remove SHELL_COMMAND_CONCAT. * gdbint.texinfo (Native Conditionals): Remove SHELL_COMMAND_CONCAT and SHELL_FILE.
2008-01-28 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.Doug Evans2-7/+11
2008-01-28*** empty log message ***gdbadmin1-1/+1
2008-01-27* gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.Jim Blandy2-1/+3
2008-01-27* gdb.base/expand-psymtabs.exp: Doc fix.Jim Blandy2-1/+16
2008-01-27*** empty log message ***gdbadmin1-1/+1
2008-01-26 * gdb.texinfo (Specify Location): Improve wording.Eli Zaretskii1-3/+4
2008-01-26* gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.Mark Kettenis2-0/+12
2008-01-26*** empty log message ***gdbadmin1-1/+1
2008-01-25 * i386-tdep.c (i386_skip_noop): New function.Pierre Muller2-0/+51
(i386_analyze_prologue): Call i386_skip_noop function.
2008-01-252008-01-24 Michael Snyder <msnyder@specifix.com>Michael Snyder5-5/+11
* procfs.c (procfs_xfer_partial): Comment, cut/paste error. * win32-nat.c (win32_xfer_partial): Ditto. * target.c (default_xfer_partial): Minor whitespace adjustment.
2008-01-25*** empty log message ***gdbadmin1-1/+1
2008-01-24 * arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don'tPedro Alves2-1/+6
strip bit 1 even if pc doesn't point to thumb code.
2008-01-24*** empty log message ***gdbadmin1-1/+1
2008-01-23Add value field to tests for output of -var-set-format.Nick Roberts1-18/+18
2008-01-23*** empty log message ***Nick Roberts1-0/+5
2008-01-23 * remote.c (remote_wait): Handle SIGINT between packets.Daniel Jacobowitz2-1/+22
(remote_async_wait): Likewise.
2008-01-23 Inform about new thread in a single place.Vladimir Prus19-62/+327
* thread.c (add_thread_silent): Renamed from add_thread. (print_thread_events): New variable definition. (show_print_thread_events): New function. (_initialize_thread): Add "set print thread-events" and "show print thread-events" commands. (add_thread): Announce new thread. * gdbthread.h (add_thread_silent): Declare. (print_thread_events): New variable declaration. * inf-ttrace.c (inf_ttrace_wait): Don't inform about new thread, as add_thread is always called too, and will take care of that. * infrun.c (handle_inferior_event): Likewise. * procfs.c (procfs_wait): Likewise. * remote.c (remote_currthread): Likewise. * sol-thread.c (sol_thread_wait): Likewise. * win32-nat.c (get_win32_debug_event): Likewise. * linux-thread-db.c (attach_thread): Likewise. Remove the verbose parameter. (check_event): Make detach_thread be verbose only if print_thread_events is set. * linux-nat.c (lin_lwp_attach_lwp): Don't inform about new thread. This is called only from linux-thread-db.c:attach_thread, which will take care. Remove the verbose parameter. * linux-nat.h (lin_lwp_attach_lwp): Adjust prototype.
2008-01-23Add value field to tests for output of -var-set-format.Nick Roberts1-18/+18
2008-01-23Add the variable octal.Nick Roberts1-0/+2
2008-01-23*** empty log message ***Nick Roberts1-0/+7
2008-01-23(mi_cmd_var_set_format): Add value field to output.Nick Roberts1-0/+3
2008-01-23*** empty log message ***Nick Roberts1-0/+4
2008-01-23*** empty log message ***gdbadmin1-1/+1
2008-01-22 * gdb.base/float.exp: Allow missing floating point for m68k andDaniel Jacobowitz2-2/+22
PowerPC.
2008-01-22 * breakpoint.c (break_command_really): New parameterVladimir Prus7-7/+58
ignore_count. (break_command_1): Pass 0 as ignore_count to break_command_really. (gdb_breakpoint): Pass ignore_count to break_command_really.
2008-01-22 * mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): FindKevin Buettner2-0/+8
sigcontext struct via pointer. (struct sigframe comment): Update to show new field `psc'.
2008-01-22*** empty log message ***gdbadmin1-1/+1
2008-01-21 * infrun.c (handle_inferior_event): IfVladimir Prus2-18/+7
we failed to remove breakpoints, error, don't try to increment PC by hand.
2008-01-21*** empty log message ***gdbadmin1-1/+1
2008-01-20*** empty log message ***gdbadmin1-1/+1
2008-01-19 Add NetBSD/hppa target and host support.Nick Hudson10-107/+661
* hppabsd-tdep.c (hppabsd_supply_gregset): Move to ... (hppabsd_gregset): Move to ... (hppabsd_regset_from_core_section): Rename hppaobsd_regset_from_core_section and move to ... (hppabsd_find_global_pointer): Update comment. (hppabsd_init_abi): Make global. Do not register hppabsd_regset_from_core_section. (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and move to ... (_initialize_hppabsd_tdep): Move to ... * hppaobsd-tdep.c: ... here. New file. * hppnbsd-tdep.c: New file. * hppnbsd-nat.c: New file. * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o. (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c. (hppabsd-nat.o, hppabsd-tdep.o): New dependencies. (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies. * configure.host (hppa*-*-netbsd*): New entry. * configure.tgt (hppa*-*-netbsd*): New entry. (hppa*-*-openbsd*): Update. * NEWS (New native configuration): Mention NetBSD/hppa. (New targets): Mention NetBSD/hppa.
2008-01-19 * gdb.texinfo (Specify Location): New section.Eli Zaretskii2-93/+126
(Delete Breaks, Edit, Set Breaks): Remove description of locations. Instead, add a reference to "Specify Location". (Machine Code, Jumping, Thread Stops, Continuing and Stepping) (Symbols): Refer to "Specify Location" for the valid forms of linespecs and locations.
2008-01-19*** empty log message ***gdbadmin1-1/+1
2008-01-18 * gdbarch.sh (function_list): Add new property bits_big_endian toMarkus Deuling15-31/+91
gdbarch structure. * gdbarch.{c,h}: Regenerate. * value.c (struct value): Replace BITS_BIG_ENDIAN by gdbarch_bits_big_endian (comment). (unpack_field_as_long, modify_field): Likewise. * value.h: Likewise (comment). * valops.c (value_slice): Likewise. * valarith.c (value_subscript, value_bit_index): Likewise. * gdbtypes.h (field): Likewise (comment). * eval.c (evaluate_subexp_standard): Likewise. * dwarf2read.c (dwarf2_add_field): Likewise. * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val) (move_bits, ada_value_assign, value_assign_to_component): Likewise. * defs.h (BITS_BIG_ENDIAN): Remove. * gdbint.texinfo (Target Conditionals): Replace the description of BITS_BIG_ENDIAN with a description of gdbarch_bits_big_endian.
2008-01-18 * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriateMarkus Deuling5-59/+38
function calls. * m2-exp.y (yylex): Likewise. * objc-exp.y (yylex): Likewise. * defs.h (DEPRECATED_STREQN): Remove.
2008-01-18*** empty log message ***gdbadmin1-1/+1