From dde08ee10924b57d4e1c80e40a6a1fe14c93dcb5 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Wed, 26 May 2010 18:19:28 +0000 Subject: gdb/ 2010-05-26 Pedro Alves * NEWS: Mention the `qRelocInsn' feature. * gdbarch.sh (relocate_instruction): New. * amd64-tdep.c (rip_relative_offset): New. (append_insns): New. (amd64_relocate_instruction): New. (amd64_init_abi): Install it. * i386-tdep.c (append_insns): New. (i386_relocate_instruction): New. (i386_gdbarch_init): Install it. * remote.c (remote_get_noisy_reply): Handle qRelocInsn requests. * gdbarch.h, gdbarch.c: Regenerate. gdb/doc/ 2010-05-26 Pedro Alves * gdb.texinfo (General Query Packets) : Describe the `qRelocInsn' feature. (Relocate instruction reply packet): New subsection of `Tracepoint Packets'. (Tracepoint Packets): Mention that packets QTDP and QTStart support the qRelocInsn request, and add cross reference to new subsection. --- gdb/NEWS | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gdb/NEWS') diff --git a/gdb/NEWS b/gdb/NEWS index f91fe2e..7f41808 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -18,6 +18,15 @@ qGetTIBAddr Return the address of the Windows Thread Information Block of a given thread. +qRelocInsn + + In response to several of the tracepoint packets, the target may now + also respond with a number of intermediate `qRelocInsn' request + packets before the final result packet, to have GDB handle + relocating an instruction to execute at a different address. This + is particularly useful for stubs that support fast tracepoints. GDB + reports support for this feature in the qSupported packet. + * The source command now accepts a -s option to force searching for the script in the source search path even if the script name specifies a directory. -- cgit v1.1