[Top][All Lists]

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

Re: Extend gdb to filter registers

From: Eli Zaretskii
Subject: Re: Extend gdb to filter registers
Date: Sat, 05 Oct 2019 22:01:17 +0300

> From: Yuan Fu <address@hidden>
> Date: Sat, 5 Oct 2019 13:51:05 -0400
> Cc: Stefan Monnier <address@hidden>,
>  address@hidden
> * make gdb-mi support multiple memory display, so that I can monitor
>   different memory locations at the same time
> * make gdb-mi support expressions as memory location, e.g., $rsp, x+1.
>   This mimics the display command of gdb, e.g. display/5gx $rsp.
>   Currently, gdb-mi does supports expressions for setting memory
>   monitors but translates it to a _fixed_ value; and the memory
>   monitor doesn't reflect the chagne of the expression's value. For
>   example, it does't follow $rsp and update address as $rsp chganges
> * make gdb-mi support multiple gdb sessions at the same time.

Sound useful features to me, thanks.

> * Is there any test that I can check my changes again to?

Unfortunately, no.  You will get bonus points for starting one.

> * Is the last one (multiple gdb sessions) neccessary? Have there been
>   requests for it?

It sounds a bit obscure, and I don't think I;ve ever heard a request
for that.  So we could leave this out for now.


reply via email to

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