emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extend gdb to filter registers


From: Yuan Fu
Subject: Re: Extend gdb to filter registers
Date: Mon, 07 Oct 2019 22:23:06 -0400

If anyone is interested, please try these out:

1. register.patch

Adds register filters to register buffer. There will be [-|+] buttons
on the header line of the register buffer. Click them and chose what to
include/exclude.

2. memory.patch

Adds support for multiple memory buffers. Add support for expressions as
memory address. Call out the first memory buffer by
‘gdb-display-memory-buffer’ like before, call out additional ones by
‘gdb-display-new-memory-buffer’. To use an expression as address, click
on the address button like before and enter expressions like x, x + 1,
$rsp, etc. gdb-mi will display an error if the expression you entered is
invalid or it can’t read memory. You need to also apply the
unwind-protect patch for this to work properly.


3. unwind-protect.patch

Fixes a bug where one error could mess up the whole gdb-mi session. The
previous unwind-protect.patch doesn’t solve the bug fully and this one
should.

Any comment is welcome. Thanks.

Yuan

Attachment: register.patch
Description: Text Data

Attachment: memory.patch
Description: Text Data

Attachment: unwind-protect.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]