summaryrefslogtreecommitdiff
path: root/gdb
Commit message (Collapse)AuthorAgeFilesLines
* * breakpoint.c (mark_breakpoints_out): Make public.Pedro Alves2008-07-085-7/+42
| | | | | | | | | | (update_breakpoints_after_exec): Don't call mark_breakpoints_out here. Update comment. * breakpoint.h (mark_breakpoints_out): Declare. * linux-nat.c (linux_handle_extended_wait): On TARGET_WAITKIND_EXECD, call mark_breakpoints_out. * inf-ttrace.c (inf_ttrace_wait): Likewise.
* * infrun.c (follow_exec): Reset shared libraries before adding thePedro Alves2008-07-082-5/+14
| | | | main exec file.
* *** empty log message ***gdbadmin2008-07-081-1/+1
|
* * server.c (handle_v_attach): Inhibit reporting dll changes.Pedro Alves2008-07-072-0/+9
|
* gdb/Jan Kratochvil2008-07-075-1/+86
| | | | | | | * breakpoint.c (bpstat_copy): Call RELEASE_VALUE on the new OLD_VAL. gdb/testsuite/ * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
* * i386-dicos-tdep.c: Include "inferior.h".Pedro Alves2008-07-073-1/+27
| | | | | | | (i386_dicos_frame_align): New. (i386_dicos_init_abi): Register i386_dicos_frame_align. Set call dummy location ON_STACK. * Makefile.in (i386-dicos-tdep.o): Depend on $(inferior_h).
* * gstdint.h: New file.Joel Brobecker2008-07-072-0/+37
|
* (GDB/MI Target Manipulation): Fix last change.Andreas Schwab2008-07-072-76/+80
|
* *** empty log message ***gdbadmin2008-07-071-1/+1
|
* * gdb.texinfo (GDB/MI Target Manipulation): AddVladimir Prus2008-07-062-2/+13
| | | | example of -target-attach.
* *** empty log message ***gdbadmin2008-07-061-1/+1
|
* * mi/mi-interp.c (mi_on_resume): Don't try to reportVladimir Prus2008-07-052-0/+11
| | | | resumed thread it the thread list is empty.
* Add missed changelog entry.Daniel Jacobowitz2008-07-052-0/+30
|
* *** empty log message ***gdbadmin2008-07-051-1/+1
|
* * cli/cli-decode.c (add_setshow_optional_filename_cmd): SetPierre Muller2008-07-043-1/+16
| | | | | completer for set to filename_completer. NEWS: Mention it.
* Implement -target-attach.Vladimir Prus2008-07-042-1/+6
| | | | * mi/mi-cmds.c (mi_cmds): Forward -target-attach to CLI attach.
* *** empty log message ***gdbadmin2008-07-041-1/+1
|
* 2008-06-21 Hui Zhu <teawater@gmail.com>Michael Snyder2008-07-032-1/+5
| | | | * target-descriptions.c (maint_print_c_tdesc_cmd): Fix a memory leak.
* * config/i386/nm-cygwin.h (ATTACH_NO_WAIT): Delete.Pedro Alves2008-07-038-33/+58
| | | | | | | | | | | | | | | * config/i386/nm-i386gnu.h (ATTACH_NO_WAIT): Delete. * target.h (struct target_ops): Add to_attach_no_wait member. (target_attach_no_wait): New. * target.c (update_current_target): Inherit to_attach_no_wait. * infcmd.c: Replace ATTACH_NO_WAIT compile time check by target_attach_no_wait runtime check. * gnu-nat.c (init_gnu_ops): Set to_attach_no_wait in gnu_ops. * win32-nat.c (init_win32_ops): Set to_attach_no_wait in win32_ops.
* * i386-tdep.c (i386_displaced_step_fixup): Condition log printingPedro Alves2008-07-032-2/+8
| | | | on debug_displaced being set.
* *** empty log message ***gdbadmin2008-07-031-1/+1
|
* *** empty log message ***gdbadmin2008-07-021-1/+1
|
* *** empty log message ***gdbadmin2008-07-011-1/+1
|
* * frame.c (get_prev_frame_1): Call frame_unwind_find_by_frameDaniel Jacobowitz2008-06-302-3/+13
| | | | directly instead of get_frame_id.
* * rs6000-tdep.c (ppc_displaced_step_fixup): New function.Luis Machado2008-06-302-3/+118
| | | | | | (deal_with_atomic_sequence): Update BC masks. (rs6000_gdbarch_init): Init displaced stepping infra-structure. Define BRANCH_MASK, B_INSN, BC_INSN, BXL_INSN, BP_MASK and BP_INSN.
* * cris-tdep.c (crisv32_single_step_through_delay): Get this frame'sDaniel Jacobowitz2008-06-302-9/+7
| | | | register, not the previous frame's.
* * source.c (select_source_symtab): Make sure we skip namespaceLuis Machado2008-06-302-4/+12
| | | | symtabs when showing cpp source code.
* * MAINTAINERS (Authorized committers): Fix my email address.Hans-Peter Nilsson2008-06-302-1/+5
|
* *** empty log message ***gdbadmin2008-06-301-1/+1
|
* * mi/mi-cmds.c (mi_cmds): Route -exec-run, -exec-until,Vladimir Prus2008-06-294-75/+21
| | | | | | | | | | | | -target-download and -target-select via CLI, so that the quoting rules are the same as they were (unfortunately) in all prior gdb releases. * mi/mi-cmds.h (mi_cmd_exec_run, mi_cmd_exec_until) (mi_cmd_target_download, mi_cmd_target_select): Remove. * mi/mi-main.c (mi_cmd_exec_run, mi_cmd_exec_until) (mi_cmd_target_download, mi_cmd_target_select): Remove. (mi_cmd_execute): Set current_token even for commands routed via CLI.
* *** empty log message ***gdbadmin2008-06-291-1/+1
|
* * alphafbsd-tdep.c: Update for unwinder changes.Ulrich Weigand2008-06-2829-1208/+934
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * alpha-linux-tdep.c: Likewise. * alphanbsd-tdep.c: Likewise. * alphaobsd-tdep.c: Likewise. * avr-tdep.c: Likewise. * cris-tdep.c: Likewise. * frv-linux-tdep.c: Likewise. * frv-tdep.c: Likewise. * h8300-tdep.c: Likewise. * hppa-linux-tdep.c: Likewise. * iq2000-tdep.c: Likewise. * m32c-tdep.c: Likewise. * m32r-linux-tdep.c: Likewise. * m32r-tdep.c: Likewise. * m68hc11-tdep.c: Likewise. * mep-tdep.c: Likewise. * mn10300-tdep.c: Likewise. * mt-tdep.c: Likewise. * score-tdep.c: Likewise. * sh64-tdep.c: Likewise. * sh-tdep.c: Likewise. * sparc64fbsd-tdep.c: Likewise. * sparc64nbsd-tdep.c: Likewise. * sparc64obsd-tdep.c: Likewise. * v850-tdep.c: Likewise. * vaxobsd-tdep.c: Likewise. * vax-tdep.c: Likewise. * xstormy16-tdep.c: Likewise.
* * mi/mi-main.c (enum captured_mi_execute_command_actions)Vladimir Prus2008-06-282-37/+14
| | | | | | | | | | | (captured_mi_execute_command_args): Remove. (captured_mi_execute_command): Cast the closure to mi_parse pointer, not to captured_mi_execute_command_args, and don't set the action field thereof. (mi_execute_command): Pass struct mi_parse, not captured_mi_execute_command_args to captured_mi_execute_command. (mi_execute_command): Remove (dead) code for suppressing printing prompt.
* * lib/mi-support.exp (mi_send_resuming_command_raw): RevertVladimir Prus2008-06-282-1/+14
| | | | previous commit. Add a comment.
* gdb/Pedro Alves2008-06-285-58/+210
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-06-28 Pedro Alves <pedro@codesourcery.com> * linux-nat.c (enum sigchld_state): New. (linux_nat_async_events_state): Renamed from linux_nat_async_events_enabled. (linux_nat_event_pipe_push, my_waitpid): Adjust. (sigchld_default_action): New. (lin_lwp_attach_lwp): Adjust. Call linux_nat_async_events unconditionally. (linux_nat_create_inferior): Set events state to sigchld_default state. (linux_nat_resume): Adjust. (linux_nat_wait): Call linux_nat_async_events unconditionally. (sigchld_handler): Adjust. (linux_nat_async_mask): Don't set SIGCHLD actions here. (get_pending_events): Adjust. (linux_nat_async_events): Rewrite to handle enum sigchld_state instead of a boolean. (linux_nat_async): Adjust. (_initialize_linux_nat): Capture default SIGCHLD action into sigchld_default_action. gdb/testsuite/ 2008-06-28 Pedro Alves <pedro@codesourcery.com> * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
* * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.Vladimir Prus2008-06-282-0/+5
|
* Revert accidental commitVladimir Prus2008-06-281-1/+1
|
* * breakpoint.c (moribund_locations): New.Vladimir Prus2008-06-286-19/+131
| | | | | | | | | | | | | | (bpstat_stop_status): Process moribund locations. (update_global_location_list): Add removed locations to moribund_locations. (breakpoint_retire_moribund): New. * breakpoint.h (struct bp_location): New field events_till_retirement. (breakpoint_retire_moribund): Declare. * thread.c (thread_count): New. * infrun.c (handle_inferior_event): Call breakpoint_retire_moribund. * gdbthread.h (thread_count): Declare.
* *** empty log message ***gdbadmin2008-06-281-1/+1
|
* * dfp.c (decimal_convert): Call match_endianness before and afterJoseph Myers2008-06-272-2/+12
| | | | conversion.
* * remote.c (remote_insert_breakpoint): Ensure that if Z0Jonathan Larmour2008-06-272-4/+13
| | | | | unsupported and we fall back to memory_insert_breakpoint, we use the unmodified requested address.
* * dwarf2read.c (read_attribute_value): Issue a complaint whenJoel Brobecker2008-06-272-1/+12
| | | | adjusting size attribute values of 0xffffffff as zero.
* * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.Pedro Alves2008-06-273-0/+81
| | | | | | | (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're compiling an executable, link in an object that forces unbuffered output. * lib/set_unbuffered_mode.c: New file.
* * i386-tdep.c (i386_16_byte_align_p): New.Joseph Myers2008-06-272-17/+91
| | | | | | (i386_push_dummy_call): Determine stack space required for arguments going forwards allowing for 16-byte alignment, then push arguments going forwards.
* * remote-utils.c (prepare_resume_reply): If requested, don'tPedro Alves2008-06-274-27/+114
| | | | | | | | | | | | | | | output "thread:TID" in the T stop reply. * server.c (disable_packet_vCont, disable_packet_Tthread) (disable_packet_qC, disable_packet_qfThreadInfo): New globals. (handle_query): If requested, disable support for qC, qfThreadInfo and qsThreadInfo. (handle_v_requests): If requested, disable support for vCont. (gdbserver_show_disableable): New. (main): Handle --disable-packet and --disable-packet=LIST. * server.h (disable_packet_vCont, disable_packet_Tthread) (disable_packet_qC, disable_packet_qfThreadInfo): Declare.
* * infrun.c (start_remote): Don't clear thread list here.Pedro Alves2008-06-275-7/+73
| | | | | | | | | | | | | | | | | | * monitor.c (monitor_open): Include "gdbthread.h". Clear thread list here. * remote.c (record_currthread): Upgrade the main thread and its entry in the thread list if this is the first time we hear about threads. (remote_thread_alive): Consider magic_null_ptid or a ptid without a tid member always alive. (remote_find_new_threads): Don't update the main thread here. (remote_start_remote): Clear thread list here. Always add the main thread. (extended_remote_attach_1): Add the main thread here. (extended_remote_mourn_1): Re-add the main thread here. (extended_remote_create_inferior_1): Add a main thread. * Makefile.in (monitor.o): Depend on $(gdbthread_h).
* Fix date.Pedro Alves2008-06-271-1/+1
|
* Use ptid_t.tid to store thread ids instead of ptid_t.pid.Pedro Alves2008-06-272-87/+172
| | | | | | | | | | | | | | | | | | | * remote.c (magic_null_ptid, not_sent_ptid, any_thread_ptid): New globals. (general_thread, continue_thread): Change type to ptid_t. (record_currthread): Take a ptid_t parameter instead of an integer. (MAGIC_NULL_PID): Delete. (set_thread): Take a ptid_t parameter and adjust. (set_general_thread, set_continue_thread): New. (remote_thread_alive, remote_newthread_step) (remote_current_thread, remote_find_new_threads) (remote_threads_info, remote_start_remote, remote_vcont_resume) (remote_resume_1, remote_wait, extended_remote_create_inferior_1) (threadalive_test, remote_pid_to_str) (remote_get_thread_local_address): Adjust. (_initialize_remote): Initialize magic_null_ptid, not_sent_ptid and any_thread_ptid.
* *** empty log message ***gdbadmin2008-06-271-1/+1
|
* * configure.ac (--enable-tui): AC_MSG_ERROR for explicit --enable-tui.Jan Kratochvil2008-06-263-8/+23
| | | | * configure: Regenerated.