Age | Commit message (Collapse) | Author | Files | Lines |
|
This problem was noticed during the nightly snapshot build,
but can be reduced to:
% /path/to/gdb/gdbserver/configure
% make clean
The "make clean" fails, because it tries to do a "make clean"
in the common/ subdirectory. But the problem is that this
common/ subdirectory is NOT created during the configure phase,
but rather during the build phase. The error is fatal because
we had put the common subdirectory in the list of REQUIRED_SUBDIRS.
This fixes the problem by removing it from the REQUIRED_SUBDIRS
list.
gdb/gdbserver/ChangeLog:
* Makefile.in (REQUIRED_SUBDIRS): Remove $(LIBCOMMON_DIR).
|
|
* source.c (add_path): Replace semicolon at end of block.
* dwarf2expr.c (execute_stack_op): Ditto.
|
|
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* dwarf2expr.c (execute_stack_op): Delete superfluous semicolon.
* mdebugread.c (parse_symbol): Ditto.
* parse.c (parse_exp_in_context): Ditto.
* source.c (add_path): Ditto.
* utils.c (gnu_debuglink_crc32): Ditto.
* varobj.c (variable_language): Ditto.
|
|
* linux-tdep.c (linux_get_siginfo_type): Stop memory leak.
|
|
|
|
011-03-05 Yao Qi <yao@codesourcery.com>
* Makefile.in (CLEANDIRS, REQUIRED_SUBDIRS): New variable.
(subdir_do): New make target. Copied from gdb/Makefile.
(maintainer-clean, realclean, distclean, clean): Call corresponding
make targets in common/Makefile.
|
|
* linux-fork.c (inferior_call_waitptid): Fix copy/paste error.
|
|
* symfile.c (simple_overlay_update): Check for null return value
from lookup_minimal_symbol.
|
|
* gdbserver/server.c (queue_stop_reply): Call xmalloc not malloc.
|
|
|
|
* xml-syscall.c (syscall_start_syscall): Assert name is non null.
|
|
* linespec.c (decode_indirect): Call parse_to_comma_and_eval
instead of parse_and_eval_address_1.
* value.h (parse_and_eval_address_1): Remove prototype.
|
|
* remote.c (putpkt_binary): Document that case stmt falls through.
|
|
(print_bp_stop_message): ... to here.
|
|
* breakpoint.c (enable_command): Use break instead of continue,
and fill in a missing break.
(disable_command): Ditto.
|
|
(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.
|
|
* breakpoint.c (create_breakpoint): Add missing break statement.
|
|
Reverting this patch:
* infcall.c (call_function_by_hand): Add break statements for lint.
|
|
Reverting this patch:
* cli/cli-script.c (script_from_file): Add break for lint.
|
|
* solib.c (reload_shared_libraries_1): Close memory leak.
|
|
* Makefile.in: Remove GNU make feature --directory.
|
|
|
|
* remote-fileio.c (remote_fileio_func_fstat): Initialize all
fields of struct 'st' to zero.
|
|
* dwarf2read.c (process_psymtab_comp_unit): Handle case where
DW_STRING is NULL.
|
|
* tui/tui-winsource.c (tui_update_source_window_as_is): Initialize
sal.pspace before calling set_current_source_symtab_and_line.
|
|
* 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.
|
|
* Makefile.in (configure-common): Remove. Let Makefile
in dir common to rebuild itself.
(common/Makefile): Likewise.
|
|
gdb/testsuite/ChangeLog:
* gdb.python/py-inferior.exp: Avoid searching pattern beyond
end of buffer.
|
|
gdb/ChangeLog:
* utils.c (parse_escape): Add i18n markup in error message.
|
|
* 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.
|
|
* maint.c (maintenance_do_deprecate): No need to check for NULL.
|
|
* cli/cli-script.c (script_from_file): Add break for lint.
|
|
|
|
* mdebugread.c (parse_partial_symbols): Fix indent.
|
|
* gdbserver/linux-arm-low.c (arm_arch_setup): Replace malloc
with xmalloc.
|
|
* target-descriptions.c (tdesc_gdb_type): No need to call
xstrdup, callee saves a copy.
|
|
* printcmd.c (print_scalar_formatted): Use strncpy for safety.
|
|
* infcall.c (call_function_by_hand): Add break statements for lint.
|
|
* utils.c (parse_escape): Escape the escape char.
|
|
* python/py-inferior.c (build_inferior_list): Error out if
PyList_Append fails.
(gdbpy_inferiors): Error out if build_inferior_list fails.
|
|
* linux-nat.c (linux_nat_xfer_partial): Preserve errno around
a function call.
|
|
* record.c (record_restore): Move printf to before error return.
|
|
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.
|
|
* 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.
|
|
* cli/cli-dump.c (dump_bfd_file): Check error return and warn.
|
|
* jv-lang.c (evaluate_subexp_java): Conditional can't be true.
|
|
* dwarf2read.c (dwarf2_compute_name): NAME cannot be null here.
|
|
|