aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
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.
2005-07-10*** empty log message ***gdbadmin1-1/+1
2005-07-09*** empty log message ***gdbadmin1-1/+1
2005-07-08*** empty log message ***gdbadmin1-1/+1
2005-07-07* observer.sh: Use different temporary file name depending on modeAndreas Schwab2-1/+10
of operation to avoid clash during parallel build.
2005-07-07*** empty log message ***gdbadmin1-1/+1
2005-07-06Index: gdb/ChangeLogBob Rossi15-15/+205
+2005-07-06 Bob Rossi <bob@brasko.net> + + * fork-child.c (fork-inferior): Use accessor function for + inferior_io_terminal. + * infcmd.c (inferior_io_terminal): Make static. + (set_inferior_io_terminal): New function. + (get_inferior_io_terminal): Ditto. + (tty_command): Use accessor function. + (_initialize_infcmd): Add inferior_tty setshow variable. + (_initialize_infcmd): Remove tty command. + (_initialize_infcmd): Add a tty command that is an alias. + * inferior.h (set_inferior_io_terminal): New prototype. + (get_inferior_io_terminal): Ditto. + (new_tty_prefork): Add const qualifier to parameter. + * inflow.c (inferior_thisrun_terminal): Add const qualifier. + (new_tty_prefork): Add const qualifier to parameter. + * nto-procfs (procfs_create_inferior): Use accessor function. + (procfs_create_inferior): Add const qualifier to locals. + * win32-nat.c (child_create_inferior): Ditto. + * mi/mi-cmd-env.c (mi_cmd_inferior_tty_set): New function. + (mi_cmd_inferior_tty_set): Ditto. + * mi/mi-cmds.c (mi_cmds): Add inferior-tty-set and inferior-tty-show + * mi/mi-cmds.h (mi_cmd_inferior_tty_set): Add prototype. + (mi_cmd_inferior_tty_show): Ditto. Index: gdb/doc/ChangeLog +2005-07-06 Bob Rossi <bob@brasko.net> + + * gdb.texinfo (GDB/MI Miscellaneous Commands): Add -inferior-tty-set + and -inferior-tty-show. + (Input/Output): Document "set/show inferior-tty" and tty alias. Index: gdb/testsuite/ChangeLog +2005-07-06 Bob Rossi <bob@brasko.net> + + * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty + command. + (Copyright): Update copyright.
2005-07-06 * tui/tui-win.c (parse_scrolling_args): Fix SEGV error with invalidWu Zhou2-1/+6
scroll commands.
2005-07-06 * f-exp.y (yyparse): Add code to support exponentiation expression.Wu Zhou4-17/+43
(yylex): Add code to scan exponentiation operator. * eval.c (evaluate_subexp_standard): Add support for BINOP_EXP. * valarith.c (value_binop): Reset errno to 0 before calling pow to do exponentiation operation.
2005-07-06* gdb.fortran/exprs.exp (test_arithmetic_expressions): Add fiveWu Zhou2-1/+14
tests to evaluate exponentiation expression.
2005-07-06*** empty log message ***gdbadmin1-1/+1