aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2011-03-042011-03-04 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>Michael Snyder2-4/+12
* breakpoint.c (enable_command): Use break instead of continue, and fill in a missing break. (disable_command): Ditto.
2011-03-04 * inflow.c (terminal_init_inferior_with_pgrp): Copy ttystate.Ulrich Weigand11-5/+85
(terminal_save_ours): Remove misleading comment. (inflow_inferior_data_cleanup): Free ttystate. (inflow_inferior_exit): Likewise. (copy_terminal_info): Copy ttystate. * serial.c (serial_copy_tty_state): New function. * serial.h (serial_copy_tty_state): Add prototype. (struct serial_ops): Add copy_tty_state callback. * ser-base.c (ser_base_copy_tty_state): New function. * ser-base.h (ser_base_copy_tty_state): Add prototype. * ser-go32.c (dos_copy_tty_state): New function. (dos_ops): Install copy_tty_state callback. * ser-mingw.c (_initialize_ser_windows): Likewise. * ser-pipe.c (_initialize_ser_pipe): Likewise. * ser-unix.c (hardwire_copy_tty_state): New function. (_initialize_ser_hardwire): Install it.
2011-03-042011-03-04 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+3
* breakpoint.c (create_breakpoint): Add missing break statement.
2011-03-042011-03-04 Michael Snyder <msnyder@vmware.com>Michael Snyder2-2/+3
Reverting this patch: * infcall.c (call_function_by_hand): Add break statements for lint.
2011-03-042011-03-04 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+5
Reverting this patch: * cli/cli-script.c (script_from_file): Add break for lint.
2011-03-042011-03-04 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+5
* solib.c (reload_shared_libraries_1): Close memory leak.
2011-03-042011-03-04 Yao Qi <yao@codesourcery.com>Yao Qi2-1/+5
* Makefile.in: Remove GNU make feature --directory.
2011-03-04*** empty log message ***gdbadmin1-1/+1
2011-03-032011-03-03 Michael Snyder <msnyder@vmware.com>Michael Snyder2-6/+4
* remote-fileio.c (remote_fileio_func_fstat): Initialize all fields of struct 'st' to zero.
2011-03-03 PR gdb/12538:Tom Tromey2-1/+12
* dwarf2read.c (process_psymtab_comp_unit): Handle case where DW_STRING is NULL.
2011-03-032011-03-03 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+7
* tui/tui-winsource.c (tui_update_source_window_as_is): Initialize sal.pspace before calling set_current_source_symtab_and_line.
2011-03-03 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.Tom Tromey27-23953/+60
* gdb.hp/gdb.aCC/configure (Makefile): Remove. * gdb.hp/gdb.aCC/configure.ac: Remove. * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove. * gdb.hp/gdb.base-hp/configure (Makefile): Remove. * gdb.hp/gdb.base-hp/configure.ac: Remove. * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove. * gdb.hp/gdb.compat/configure (Makefile): Remove. * gdb.hp/gdb.compat/configure.ac: Remove. * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove. * gdb.hp/gdb.defects/configure (Makefile): Remove. * gdb.hp/gdb.defects/configure.ac: Remove. * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove. * gdb.hp/gdb.objdbg/configure (Makefile): Remove. * gdb.hp/gdb.objdbg/configure.ac: Remove. * gdb.hp/configure.ac: Remove. * gdb.hp/configure: Remove. * gdb.hp/Makefile.in (SUBDIRS): No longer a configure substitution. (Makefile): Remove rule. * gdb.cell/configure.ac: Remove. * gdb.cell/configure: Remove. * gdb.stabs/Makefile.in (Makefile): Remove. (distclean): Don't remove config.status or config.log. * gdb.stabs/configure (Makefile): Remove. * gdb.stabs/configure.ac: Remove. * configure: Rebuild. * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs. Remove stabs- and cell-specific logic. Test for existence of ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp subdirectories, gdb.cell, and and gdb.stabs. * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
2011-03-032011-03-03 Yao Qi <yao@codesourcery.com>Yao Qi2-23/+6
* Makefile.in (configure-common): Remove. Let Makefile in dir common to rebuild itself. (common/Makefile): Likewise.
2011-03-03py-inferior.exp: Avoid searching pattern beyond bufferJoel Brobecker2-5/+10
gdb/testsuite/ChangeLog: * gdb.python/py-inferior.exp: Avoid searching pattern beyond end of buffer.
2011-03-03add i18n markup in error message (utils.c:parse_escape)Joel Brobecker2-2/+6
gdb/ChangeLog: * utils.c (parse_escape): Add i18n markup in error message.
2011-03-032011-03-03 Yao Qi <yao@codesourcery.com>Yao Qi2-18/+34
* gdb/arm-tdep.c (shifted_reg_val): Replace magic number 15 with ARM_PC_REGNUM. (thumb_get_next_pc_raw, arm_get_next_pc_raw): Likewise. (displaced_write_reg, displaced_read_reg): Likewise. (copy_ldr_str_ldrb_strb, cleanup_block_load_all): Likewise. (cleanup_block_load_pc, copy_block_xfer): Likewise. (cleanup_branch): Replace magic number 14 and 15 with ARM_LR_REGNUM and ARM_PC_REGNUM respectively.
2011-03-032011-03-02 Michael Snyder <msnyder@vmware.com>Michael Snyder2-3/+3
* maint.c (maintenance_do_deprecate): No need to check for NULL.
2011-03-032011-03-02 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+3
* cli/cli-script.c (script_from_file): Add break for lint.
2011-03-03*** empty log message ***gdbadmin1-1/+1
2011-03-022011-03-02 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+3
* mdebugread.c (parse_partial_symbols): Fix indent.
2011-03-022011-03-02 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+4
* gdbserver/linux-arm-low.c (arm_arch_setup): Replace malloc with xmalloc.
2011-03-022011-03-02 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+4
* target-descriptions.c (tdesc_gdb_type): No need to call xstrdup, callee saves a copy.
2011-03-022011-03-02 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+3
* printcmd.c (print_scalar_formatted): Use strncpy for safety.
2011-03-022011-03-02 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+4
* infcall.c (call_function_by_hand): Add break statements for lint.
2011-03-022011-03-02 Michael Snyder <msnyder@vmware.com>Michael Snyder2-4/+5
* utils.c (parse_escape): Escape the escape char.
2011-03-022011-03-02 Michael Snyder <msnyder@vmware.com>Michael Snyder2-2/+12
* python/py-inferior.c (build_inferior_list): Error out if PyList_Append fails. (gdbpy_inferiors): Error out if build_inferior_list fails.
2011-03-022011-03-02 Michael Snyder <msnyder@vmware.com>Michael Snyder2-3/+6
* linux-nat.c (linux_nat_xfer_partial): Preserve errno around a function call.
2011-03-022011-03-02 Michael Snyder <msnyder@vmware.com>Michael Snyder2-3/+7
* record.c (record_restore): Move printf to before error return.
2011-03-02use gdb_test_no_output in gdb.python/py-inferior.expJoel Brobecker2-39/+44
gdb/testsuite/ChangeLog: * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of gdb_test when running a test where we expected no output back.
2011-03-022011-03-02 Yao Qi <yao@codesourcery.com>Yao Qi3-10/+74
* arm-tdep.h (struct displaced_step_closure): Add two new fields is_thumb and insn_size. * arm-tdep.c (displaced_read_reg): Adjust correct pipeline offset on both ARM and Thumb mode. (arm_process_displaced_insn): Set is_thumb and insn_size. (arm_displaced_init_closure): Handle both 16-bit and 32-bit. (arm_displaced_step_fixup): Likewise.
2011-03-022011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+5
* cli/cli-dump.c (dump_bfd_file): Check error return and warn.
2011-03-022011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-2/+2
* jv-lang.c (evaluate_subexp_java): Conditional can't be true.
2011-03-022011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+3
* dwarf2read.c (dwarf2_compute_name): NAME cannot be null here.
2011-03-02*** empty log message ***gdbadmin1-1/+1
2011-03-012011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+7
* cli/cli-dump.c (restore_binary_file): Validate ftell return value.
2011-03-012011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+4
* ada-lang.c (ada_make_symbol_completion_list): Replace malloc with xmalloc.
2011-03-012011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-4/+7
* ada-lang.c (aggregate_assign_others): Rename inner scope variable which shadows function parameter.
2011-03-012011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+4
* tracepoint.c (create_tsv_from_upload): Superfluous call to xstrdup. Callee already calls xstrdup.
2011-03-012011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-8/+7
* linespec.c (decode_line_1): Remove unnecessary null check.
2011-03-012011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-2/+5
* tracepoint.c (scope_info): Fix mem leak, remove underused variable.
2011-03-012011-03-01 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>Michael Snyder2-12/+12
* python/py-prettyprint.c (apply_val_pretty_printer): Remove superfluous null check.
2011-03-012011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-5/+3
* std-regs.c (value_of_builtin_frame_pc_reg): Frame can't be null. (value_of_builtin_frame_fp_reg): Ditto.
2011-03-012011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-5/+4
* std-regs.c (value_of_builtin_frame_pc_reg): Frame can't be null.
2011-03-012011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-2/+4
* event-top.c (display_gdb_prompt): Remove superfluous null check.
2011-03-012011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+5
* python/py-prettyprint.c (apply_val_pretty_printer): VAL may be null.
2011-03-012011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-6/+11
* linespec.c (decode_line_1): Check for null before dereference.
2011-03-012011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-2/+5
* reverse.c (record_restore): Move null-check to before pointer dereference.
2011-03-012011-02-28 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+2
* python/py-utils.c (gdbpy_obj_to_string): Delete unused variable.
2011-03-012011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+7
* objc-lang.c (selectors_info): Add explanitory comment. (classes_info): Ditto.
2011-03-01 * arm-linux-tdep.c (ARM_LDR_PC_SP_4): Add define.Ulrich Weigand4-3/+56
(arm_linux_restart_syscall_init): Handle both on-stack and in-kernel versions of the trampoline. Handle Thumb vs. ARM addresses. (arm_kernel_linux_restart_syscall_tramp_frame): New global. (arm_linux_init_abi): Install it. * arm-tdep.c (arm_psr_thumb_bit): Make global. * arm-tdep.c (arm_psr_thumb_bit): Add prototype.