aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2005-07-26* i386obsd-tdep.c (i386obsd_sigreturn_offset): New variable.Mark Kettenis2-19/+38
(i386obsd_sigtramp_p): Deal with an arbitrary number of possible offsets. (i386obsd_aout_supply_regset): Avoid bogus cast.
2005-07-26*** empty log message ***gdbadmin1-1/+1
2005-07-25* inf-ptrace.c [PT_GET_PROCESS_STATE] (inf_ptrace_follow_fork):Mark Kettenis2-0/+130
New function. (inf_ptrace_him, inf_ptrace_attach) [PT_GET_PROCESS_STATE]: Set PTRACE_FORK event flag. (inf_ptrace_wait) [PT_GET_PROCESS_STATE]: Handle PTRACE_FORK event. (inf_ptrace_target) [PT_GET_PROCESS_STATE]: Set to_follow_fork.
2005-07-25* gdb_ptrace.h (PT_TRACE_ME): Define to zero if not alreadyMark Kettenis3-154/+144
defined. * inf-ptrace.c: Tweak comments. (inf_ptrace_me): Use PT_TRACE_ME instead of hardcoded zero. (inf_ptrace_mourn_inferior): Call waitpid. (inf_ptrace_attach): Use pid_t, Remove unnecessary cast. (inf_ptrace_detach): Use pid_t. Use ptid_get_pid instead of PIDGET. (inf_ptrace_kill): Rename from inf_ptrace_kill_inferior. Use pid_t. Use ptid_get_pid instead of PIDGET. (inf_ptrace_kill): Call waitpid instead of wait. (inf_ptrace_resume): Use pid_t. Use ptid_get_pid instead of PIDGET. (inf_ptrace_wait): Use waitpid instead wait. Use pid_t. Don't call target_has_exited or target_thread_alive. Properly ignore terminated detached child processes. (inf_ptrace_has_exited): Remove function. (inf_ptrace_xfer_partial): Use pid_t. Use ptid_get_pid instead of PIDGET. Use gdb_byte instead of `unsigned char'. (inf_ptrace_thread_alive): Use ptid_get_pid instead of PIDGET. (inf_ptrace_pid_to_str): Remove function. (inf_ptrace_target): Use inf_ptrace_kill instead of inf_ptrace_kill_inferior. Use normal_pid_to_str instead of inf_ptrace_pid_to_str. Don't set to_has_exited. (inf_ptrace_fetch_register, inf_ptrace_store_register): Reformat long lines.
2005-07-25* inf-ptrace.c: Reorder functions.Mark Kettenis2-215/+190
(inf_ptrace_open, inf_ptrace_reported_exec_events_per_call) (inf_ptrace_can_run, inf_ptrace_post_attach): Removed. (inf_ptrace_target): Don't set to_open, to_reported_exec_events_per_call, to_can_run, to_post_attach, to_stratum, to_has_all_memory, to_has_memory, to_has_stack, to_has_registers, to_has_execution, to_magic. Reorder remaining initializations.
2005-07-25 * configure.ac: On MinGW, do not require a termcap library, andMark Mitchell5-0/+145
use win32-termcap.c. * configure: Regenerated. * win32-termcap.c: New file.
2005-07-25*** empty log message ***gdbadmin1-1/+1
2005-07-24 * ser-tcp.c (close): Define as a function-like macro on MinGW.Mark Mitchell2-1/+5
2005-07-24*** empty log message ***gdbadmin1-1/+1
2005-07-23*** empty log message ***gdbadmin1-1/+1
2005-07-22*** empty log message ***gdbadmin1-1/+1
2005-07-212005-07-21 Eric Christopher <echristo@apple.com>Eric Christopher2-164/+168
* MAINTAINERS (Misc): Update affiliation.
2005-07-21* inf-ttrace.c (inf_ttrace_wait): Properly report TTEVT_EXECMark Kettenis2-4/+15
events as TARGET_WAITKIND_EXECD. (inf_ttrace_detach): Reorder local variables.
2005-07-21*** empty log message ***gdbadmin1-1/+1
2005-07-20* inf-ttrace.c (inf_ttrace_vfork_ppid): New variable.Mark Kettenis2-6/+207
(inf_ttrace_follow_fork): New function. (inf_ttrace_him, inf_ttrace_attach): Ask for TTEVT_FORK and TTEVT_VFORK events. Replace TTEO_NOSTRCHLD option with TTEO_PROC_INHERIT. (inf_ttrace_create_inferior, inf_ttrace_attach): Add checks for inf_ttrace_vfork_ppid. (inf_ttrace_kill_inferior, inf_ttrace_detach): Detach from waiting parent if appropriate. (inf_ttrace_wait): Handle TTEVT_FORK and TTEVT_VFORK. (inf_ttrace_target): Set to_follow_fork.
2005-07-20* remote.c (remote_pid_to_str): Use xsnprintf instead of snprintf.Wu Zhou2-3/+5
2005-07-20*** empty log message ***gdbadmin1-1/+1
2005-07-19*** empty log message ***gdbadmin1-1/+1
2005-07-18* target.c (normal_pid_to_str): Use xsnprintf instead of snprintf.Mark Kettenis4-11/+9
* bsd-uthread.c (bsd_uthread_pid_to_str): Likewise. * inf-ttrace.c (inf_ttrace_pid_to_str): Likewise.
2005-07-18* hppa-tdep.h (hppa_frame_prev_register_helper): Change types ofMark Kettenis4-23/+31
last argument to `gdb_byte *'. * hppa-tdep.c (hppa32_convert_from_func_ptr_addr): Rewrite. (hppa_frame_prev_register_helper): Change types of last argument to `gdb_byte *'. * hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_prev_register): Change types of last argument to `gdb_byte *'.
2005-07-18* gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 onMark Kettenis3-0/+6
*-*-openbsd*. * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
2005-07-18 Jason Molenda <jmolenda@apple.com>Mark Kettenis2-4/+12
* i386-tdep.c (i386_match_insn): Match complete instruction pattern.
2005-07-18* i386-tdep.c (i386_reg_struct_return_p): Handle structures with aMark Kettenis2-5/+21
single 'long double' member correctly. (i386_return_value): Tweak comment.
2005-07-18* gdb.base/sigaltstack.c (main): Use stack_t instead of `structMark Kettenis2-1/+6
sigaltsatck'.
2005-07-18*** empty log message ***gdbadmin1-1/+1
2005-07-17*** empty log message ***gdbadmin1-1/+1
2005-07-16*** empty log message ***gdbadmin1-1/+1
2005-07-15Update for changes in Emacs 22.0.50. Bring moreNick Roberts1-188/+448
features over from gdb-ui.el. Use "-var-update --all-values" for faster re-display of watch expressions.
2005-07-15*** empty log message ***Nick Roberts1-0/+6
2005-07-15 Marcel Moolenaar <marcel@xcllnt.net>Mark Kettenis4-3/+55
* sparc64fbsd-nat.c: Include "regcache.h", <sys/types.h>, <machine/pcb.h> and "bsd-kvm.h". (sparc64fbsd_kvm_supply_pcb): New function. (_initialize_sparc64fbsd_nat): Enable libkvm interface. * config/sparc/fbsd.mh (NATDEPFILES): Add bsd-kvm.o. (LOADLIBES): New variable. * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
2005-07-15(GDB/MI Variable Objects): Describe print-valuesNick Roberts1-26/+40
option for -var-list-children and -var-update. (GDB/MI Stack Manipulation): Simplify description of print-values option for -stack-list-locals. (GDB/MI Command Description Format): Clarify. (Mode Options): Spelling of superseded.
2005-07-15*** empty log message ***Nick Roberts1-0/+9
2005-07-152005-07-15 Nick Roberts <nickrob@snap.net.nz>Daniel Jacobowitz6-29/+120
Daniel Jacobowitz <dan@codesourcery.com> * mi/mi-cmds.h (mi_no_values, mi_simple_values, mi_all_values): New declarations. * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Use string constants instead of literals for MI command options. * mi/mi-cmd-var.c (mi_no_values, mi_simple_values, mi_all_values): New variables. (mi_parse_values_option, mi_print_value_p): New functions. (mi_cmd_var_list_children): Use mi_parse_values_option and mi_print_value_p. (mi_cmd_var_update): Support a PRINT_VALUES option. Update calls to varobj_update_one. (varobj_update_one): Take a print_values argument. Call mi_print_value_p. * varobj.c (varobj_get_gdb_type): New function. * varobj.h (varobj_get_gdb_type): New prototype.
2005-07-15*** empty log message ***gdbadmin1-1/+1
2005-07-14+2005-07-14 Bob Rossi <bob@brasko.net>Bob Rossi3-2/+7
+ + * gdb.base/default.exp (tty): Changed output of command. + * gdb.base/help.exp (help tty): Ditto.
2005-07-14*** empty log message ***gdbadmin1-1/+1
2005-07-13 * ppc-linux-tdep.c (ppc_linux_init_abi): Set 64-bit link map offsets.Daniel Jacobowitz2-1/+9
2005-07-13 * configure.ac: Define HAVE_LINUX_REGSETS even if PTRACE_GETREGSDaniel Jacobowitz10-12/+93
is not available. Define HAVE_PTRACE_GETREGS if it is. * config.in, configure: Regenerated. * configure.srv: Set srv_linux_regsets for PowerPC and PowerPC64. * linux-i386-low.c, linux-m68k-low.c: Update to use HAVE_PTRACE_GETREGS. * linux-low.c (regsets_fetch_inferior_registers) (regsets_store_inferior_registers): Only return 0 if we processed GENERAL_REGS. * linux-ppc-low.c (ppc_fill_gregset, target_regsets): New. * linux-ppc64-low.c (ppc_fill_gregset, target_regsets): New.
2005-07-13 * inferiors.c (struct thread_info): Add gdb_id.Daniel Jacobowitz6-27/+115
(add_thread): Add gdb_id argument. (thread_id_to_gdb_id, thread_to_gdb_id, gdb_id_to_thread_id): New. * linux-low.c (linux_create_inferior, linux_attach_lwp): Update calls to add_thread. * remote-utils.c (prepare_resume_reply: Use thread_to_gdb_id. * server.c (handle_query): Use thread_to_gdb_id. (handle_v_cont, main): Use gdb_id_to_thread_id. * server.h (add_thread): Update prototype. (thread_id_to_gdb_id, thread_to_gdb_id, gdb_id_to_thread_id): New prototypes.
2005-07-13 * linux-low.c (fetch_register, usr_store_inferior_registers): HandleDaniel Jacobowitz4-2/+27
left-padded registers. * linux-low.h (struct linux_target_ops): Add left_pad_xfer. * linux-ppc64-low.c (the_low_target): Set left_pad_xfer.
2005-07-13*** empty log message ***gdbadmin1-1/+1
2005-07-12* gdb.arch/i386-sse.exp: Compile with -msse when using GCC.Mark Kettenis2-2/+16
2005-07-122005-07-12 Bob Rossi <bob@brasko.net>Bob Rossi2-1/+6
* gdb.texinfo (GDB/MI Miscellaneous Commands): Fix -inferior-tty-show corresponding GDB command comment.
2005-07-12Fix email.Mark Kettenis1-1/+1
2005-07-12* dwarf2expr.h: Tweak comment.Mark Kettenis6-101/+169
(struct dwarf_expr_context): Use `gdb_byte *' in read_mem and get_frame_base function pointers. (read_uleb128, read_sleb128): Change return type and types of first two arguments to `gdb_byte *'. (dwarf2_read_address): Change types of first two arguments to `gdb_byte *'. * dwarf2expr.c: Tweak comment. (dwarf_expr_eval): Change type of second argument to `gdb_byte *'. (read_uleb128, read_sleb128): Change return type and types of first two arguments to `gdb_byte *'. (dwarf2_read_address): Change types of first two arguments to `gdb_byte *'. (execute_stack_op): Change types of last two arguments to `gdb_byte *'. Use `gdb_byte *' for byte buffers. * dwarf2loc.h: Tweak comment. (struct dwarf2_locexpr_baton, struct dwarf2_loclist_baton): Use `gdb_byte *' for byte buffers. * dwarf2loc.c (find_location_expression): Change return type to `gdb_byte *'. Use `gdb_byte *' for byte buffers. Change length to `unsigned int'. (dwarf_expr_read_reg): Use `gdb_byte *' for byte buffer. Remove bogus cast. (dwarf_expr_read_mem): Change type of second argument to `gdb_byte *'. (dwarf_expr_frame_base): Change type of second argument to `gdb_byte **'. (dwarf2_evaluate_loc_desc): Change type of third argument to `gdb_byte *'. (needs_frame_read_mem): Change type of second argument to `gdb_byte *'. (needs_frame_frame_base): Change type of second argument `gdb_byte **'. Use gdb_byte for lit0. (dwarf2_tracepoint_var_ref): Change type of fourth argument to `gdb_byte *'. Use `gdb_byte *' for byte buffer. (loclist_read_variable, loclist_tracepoint_var_ref): Use `gdb_byte *' for byte buffer. * dwarf2-frame.c (struct dwarf2_cie, struct dwarf2_fde) (struct dwarf2_frame_state): Use gdb_byte instead of `unsigned char'. (read_reg): Use `gdb_byte *' for byte buffers. Remove redundant cast. (read_mem): Change second argument to `gdb_byte *'. (no_get_frame_base): Change second argument to `gdb_byte **'. (execute_stack_op): Change first argument to `gdb_byte *'. (execute_cfa_program): Change first two arguments to `gdb_byte *'. Use gdb_byte instead of `unsigned int'. Use temprorary variable to store result of read_uleb128. (struct comp_unit): Use `gdb_byte *' for byte buffers. (read_1_byte, read_4_bytes, read_8_bytes): Change last argument to `gdb_byte *'. (read_unsigned_leb128, read_signed_leb128): Change second argument to `gdb_byte *'. Use gdb_byte instead of `unsigned char'. (read_initial_length): Change second argument to `gdb_byte *'. Remove redundant casts. (read_encoded_value): Use gdb_byte instead of `unsigned char'. Remove bogus casts. (decode_frame_entry_1): Change return type and second argument to `gdb_byte *'. Use `gdb_byte *' for byte buffers. Use gdb_byte instead of `unsigned char'. (decode_frame_entry): Change return type and second argument to `gdb_byte *'. Use `gdb_byte *' for byte buffers. (dwarf2_build_frame_info): Use `gdb_byte *' for byte buffers.
2005-07-12* objc-lang.c (print_object_command): Use gdb_byte for c.Mark Kettenis3-5/+11
* arch-utils.c (legacy_extract_return_value): Use 'gdb_byte *' for registers.
2005-07-12*** empty log message ***gdbadmin1-1/+1
2005-07-11* bsd-kvm.c: Include <paths.h>.Mark Kettenis2-4/+30
(bsd_kvm_corefile): New variable. (core_kd, bsd_kvm_paddr, bsd_kvm_supply_pcb, bsd_kvm_ops): Make static. (bsd_kvm_open): Set bsd_kvm_corefile. (bsd_kvm_files_info): New function. (bsd_kvm_add_target): Set to_files_info.
2005-07-11*** empty log message ***gdbadmin1-1/+1
2005-07-10* gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test forMark Kettenis2-7/+12
-stack-select-frame without arguments. (test_stack_frame_listing): Add test for newly implemented command -stack-info-frame.