Age | Commit message (Collapse) | Author | Files | Lines |
|
* ada-exp.y (block_lookup): Avoid operator at end of line.
* aix-thread.c (pd_enable): Idem.
* alpha-tdep.c (alpha_next_pc): Idem.
* arm-tdep.c (arm_skip_prologue, arm_scan_prologue): Idem.
(condition_true, coff_sym_is_thumb): Idem.
|
|
(Embedded Processors): Add MicroBlaze.
(MicroBlaze): New. Describe Xilinx MicroBlaze
|
|
|
|
|
|
target.c (debug_to_thread_architecture): Replace %p by %s using
host_address_to_string function.
|
|
* gdb.base/annota3.exp: Idem.
* gdb.base/maint.exp: Idem.
|
|
* darwin-nat.c: Add __TEXT __info_plist content.
(darwin_attach_pid): Update error message.
|
|
|
|
|
|
|
|
2009-10-04 Pedro Alves <pedro@codesourcery.com>
* gdbinit.in: Set data-directory to @srcdir@.
|
|
to default.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mingw and cygwin targets.
|
|
gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
|
|
(SYSCALL_SIGTRAP): New.
(status_to_str): Adjust.
(get_pending_status): Pending events in lp->waitstatus don't map
to any signal. Simplify.
(linux_handle_syscall_trap): New.
(linux_handle_extended_wait): When handling PTRACE_EVENT_CLONE
events, use linux_ops->to_resume instead of direct ptrace with
PTRACE_CONT. Remove all TRAP_IS_SYSCALL handling.
(wait_lwp): Handle syscall traps with linux_handle_syscall_trap,
and clear the sysgood bit.
(status_callback): Make it clearer and add comments.
(cancel_breakpoints_callback): Ignore if LP has waitstatus set.
(linux_nat_filter_event): Handle syscall traps with
linux_handle_syscall_trap, and clear the sysgood bit. Move the
check for storing siginfo to after handling extended statuses and
syscall traps. Store status in the lwp object.
(linux_wait_1): Don't swap the pending status out of the lwp
object until after deciding we found an lwp with an interesting
event. Requeue a new pending signal if we find one while getting
rid or a pending SIGSTOP we sent ourselves. Don't clear the
sysgood bit here.
* infrun.c (deal_with_syscall_event): Rename to ...
(handle_syscall_event): ... this. Always context switch and set
stop_pc, even if not catching the syscall. If not catching the
syscall, always resume with keep_going.
(handle_inferior_event): Adjust.
|
|
Fix compatibility of --with-system-readline and readline-6.0+.
* configure.ac <--with-system-readline> (for readline_echoing_p): New
test.
* config.in: Regenerate.
* configure: Regenerate.
|
|
|
|
Approval).
|
|
* src/gdb/testsuite/gdb.base/unload.c: Avoid warning in fprintf.
* src/gdb/testsuite/gdb.base/watchpoint-solib.c: Idem.
|
|
* infcall.c (call_function_by_hand): Add a new cleanup branch for
std::terminate breakpoints.
|
|
long type.
(test_unlink): Correct printf string.
* gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
* gdb.threads/attachstop-mt.c: Add #include <string.h>.
|
|
|
|
|
|
* gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
* gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
* gdb.arch/ia64-breakpoint-shadow.S: New file.
|
|
* gdb.objc/nondebug.exp: Likewise.
|
|
* ia64-tdep.c (ia64_convert_from_func_ptr_addr): New variable buf.
Check first the descriptor memory is readable.
|
|
|
|
target_info setting.
* gdb.threads/thread-specific.exp (get_thread_list): Support targets
that detect new threads during "info threads".
|
|
instead of CORE_ADDR for "amode".
|
|
breakpoints for L-X instructions.
(ia64_memory_insert_breakpoint, ia64_memory_remove_breakpoint):
Update the comments inside these functions.
|
|
* gdbarch.c, gdbarch.h: Regenerate.
* arch-utils.c (default_displaced_step_hw_singlestep): New function.
* arch-utils.h (default_displaced_step_hw_singlestep): Add prototype.
* ppc-linux-tdep.c (ppc_displaced_step_hw_singlestep): New function.
(rs6000_gdbarch_init): Install it.
* infrun.c (displaced_step_fixup): Use new callback to determine
whether to "step" or "continue" displaced copy.
(resume): Likewise. Do not call maybe_software_singlestep
for displaced stepping.
(maybe_software_singlestep): Do not handle displaced stepping.
|
|
platforms that use function descriptors. Prefer to use function
pointer types instead of function types.
* linespec.c (decode_objc): Support function descriptors. Fully
initialize SAL result.
* objc-lang.c (find_methods): Support function descriptors.
Do not require function symbol to point to text section.
* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): When calling
via a function pointer, use the descriptor it points to.
|
|
|
|
* ia64-tdep.c (ia64_memory_insert_breakpoint): Extend the comment.
New variable shadow_slotnum, use it appropriately instead of slotnum.
Move shadow_len initialization before SLOTNUM adjustment, cover now the
whole remaining bundle. Error now on breakpoints requested for the
slot 2 of L-X bundles. Better sanity check the requested slot 1 of L-X
bundles.
(ia64_memory_remove_breakpoint): New variable shadow_slotnum, use it
appropriately instead of slotnum. Warn now on breakpoints requested
for the slot 2 of L-X bundles. Better sanity check the requested slot
1 of L-X bundles. Update the assertio check of PLACED_SIZE.
(ia64_breakpoint_from_pc): New variable shadow_slotnum, use it
appropriately instead of slotnum. Move *lenptr initialization before
SLOTNUM adjustment, cover now the whole remaining bundle. Error now
on breakpoints requested for the slot 2 of L-X bundles. Better sanity
check the requested slot 1 of L-X bundles. Simplify the returned
expression.
|
|
and the type of instruction before deciding which slot to save
in the breakpoint shadown contents.
|
|
(linux_nat_wait_1): Mask off is-syscall bit in wait status for
TRAP_IS_SYSCALL before passing value to caller.
|
|
|
|
assigning to a bitfield.
|
|
* i386-tdep.c (i386_process_record): Remove "0x" that
don't need.
|
|
|
|
op_bxh, op1_bxhg, op2_bxhg, op_bxle, op1_bxleg, op2_bxleg,
op1_brct, op2_brct, op1_brctg, op2_brctg, op_brxh, op1_brxhg,
op2_brxhg, op_brxle, op1_brxlg, op2_brxlg): New enum values.
(is_rsi, is_rie): New insn format decoder routines.
(s390_displaced_step_fixup): New function.
(s390_gdbarch_init): Install displaced stepping routines.
|
|
Add linux-tdep.o to gdb_target_obs.
(s390*-*-*): Likewise.
|
|
Call clear_inferiors.
(spu_detach): Call clear_inferiors.
|