aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
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
2005-07-05*** empty log message ***gdbadmin1-1/+1
2005-07-04* i386nbsd-nat.c (i386nbsd_supply_pcb): Cast to 'gdb_byte *' inMark Kettenis3-3/+7
read_memory call. * bsd-uthread.c (bsd_uthread_wait): Use gdb_byte for byte buffer.
2005-07-04* bsd-kvm.c (bsd_kvm_open): Properly cast sentinel in concat call.Mark Kettenis13-34/+53
* coffread.c (patch_type, process_coff_symbol): Likewise. * corelow.c (core_open): Likewise. * dwarf2read.c (dwarf_decode_lines, dwarf2_start_subfile): * language.c (set_lang_str, set_type_str, set_range_str) (set_case_str): Likewise. * source.c (add_path, openp): Likewise. * stabsread.c: Likewise. * top.c (init_history): Likewise. * utils.c (xfullpath): Likewise. * value.c (lookup_internalvar): Likewise. * cli/cli-cmds.c (cd_command): Likewise. * cli/cli-dump.c (add_dump_command): Likewise.
2005-07-04* i387-tdep.c (print_i387_value, print_i387_ext, i387_tag): ChangeMark Kettenis2-18/+27
type of first argument to `const gdb_byte *'. (i387_print_float_info, i387_register_to_value) (i387_value_to_register, i387_supply_fsave, i387_collect_fsave) (i387_supply_fxsave, i387_collect_fxsave): Use gdb_byte for byte buffers.
2005-07-04*** empty log message ***gdbadmin1-1/+1
2005-07-03 * Makefile.in (RUNTEST): Set to runtest.Ben Elliston2-4/+5
2005-07-03 From Richard Henderson.Daniel Jacobowitz2-18/+50
* amd64-tdep.c (amd64_sse_type): New. (amd64_register_info): Use it for xmm registers. Constify. (amd64_register_type): Initialize amd64_sse_type as needed.
2005-07-03 * configure.ac: Add arguments to AC_DEFINE calls.Steve Ellcey6-346/+190
* acconfig.h: Remove file. * acinclude.m4 (AC_GNU_SOURCE): Remove definition. * configure: Regenerate. * config.in: Regenerate.
2005-07-03*** empty log message ***gdbadmin1-1/+1
2005-07-02* gdb.texinfo (Packets): Change description of 'D' packet to noteNathan J. Williams2-2/+9
that GDB does wait for a response.
2005-07-02*** empty log message ***gdbadmin1-1/+1
2005-07-01* mips-tdep.c (mips_insn16_frame_prev_register)Mark Kettenis2-3/+9
(mips_insn32_frame_prev_register, mips_stub_frame_prev_register): Change type of last argument to `gdb_byte *'.
2005-07-01 * configure.ac (BFD_NEED_DECLARATION): Replace with AC_CHECK_DECLS.Steve Ellcey5-31/+36
* configure: Regenerate. * config.in: Regenerate. * server.h (NEED_DECLARATION_STRERROR): Replace with !HAVE_DECL_STRERROR.
2005-07-01 * MAINTAINERS (Write After Approval): Add myself.Steve Ellcey2-0/+5
2005-07-01* solib-svr4.c: Include "solib.h".Mark Kettenis3-1/+7
* Makefile.in (solib-svr4.o): Update dependencies.
2005-07-01*** empty log message ***gdbadmin1-1/+1
2005-06-30*** empty log message ***gdbadmin1-1/+1
2005-06-29 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type forAndreas Schwab3-1/+10
main to avoid warnings. * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
2005-06-29*** empty log message ***gdbadmin1-1/+1
2005-06-28* eval.c (evaluate_struct_tuple): Use strcmp instead ofMark Kettenis2-3/+8
DEPRECATED_STREQ.
2005-06-282005-06-27 Michael Snyder <msnyder@redhat.com>Michael Snyder5-4/+17
* config/mn10300/linux.mt: New file. * configure.tgt: Add rule for am33 / mn10300-linux. * mn10300-tdep.c, mn10300-tdep.h: Bump copyright year.
2005-06-28*** empty log message ***gdbadmin1-1/+1
2005-06-27 * gdbtypes.c (get_discrete_bounds): Fix a comment typo.Wu Zhou2-1/+5
2005-06-27*** empty log message ***gdbadmin1-1/+1
2005-06-26*** empty log message ***gdbadmin1-1/+1