gm2
[Top][All Lists]
Advanced

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

Re: How to get the address of a variable in GDB?


From: Gaius Mulley
Subject: Re: How to get the address of a variable in GDB?
Date: Sun, 06 Oct 2024 20:55:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Mohammad-Reza Nabipoor <mnabipoor@gnu.org> writes:

> Hi Gaius.
>
> On Fri, Oct 04, 2024 at 01:37:04AM +0100, Gaius Mulley wrote:
>> Mohammad-Reza Nabipoor <mnabipoor@gnu.org> writes:
>> 
>> sure this is the correct place to ask the question.  This is a missing
>> feature, I've just written a patch (for the development gdb) - and will
>> post it to the gdb patch mailing list once I've rerun the testsuite.

Hi Mohammad-Reza,

the patch has been git pushed to the development branch of gdb,

(gdb) print ADR(foo)

should now work!

regards,
Gaius



reply via email to

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