poke-devel
[Top][All Lists]
Advanced

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

Re: GDB integration: loading types from new modules


From: Jose E. Marchesi
Subject: Re: GDB integration: loading types from new modules
Date: Fri, 20 Sep 2024 20:42:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

> Hi Jose.
>
> On Fri, Sep 20, 2024 at 05:03:57PM GMT, Jose E. Marchesi wrote:
>> 
>> I was wondering, when a new binary is loaded in GDB, does re-running
>> poke-add-types to get all the types added by the new binary?  If not,
>> shall we add a feature to the patch-set?
>> 
>
> You mean invoking `poke-add-types' without any arg, will re-define all the
> already-registered types?

No, not exactly.

I was just wondering whether issuing:

(gdb) poke-add-types .*

would actually pick up any new type.  Also, how does GDB handle several
compilation units with types having the same name?


> This makes sense.
>
> At the moment, we don't process already-registered types, which is not good!
> I'll fix this.
>
>
> Regards,
> Mohammad-Reza



reply via email to

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