[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile scripting for gdb
From: |
Doug Evans |
Subject: |
Re: guile scripting for gdb |
Date: |
Sat, 9 Nov 2013 12:33:28 -0800 |
On Sat, Nov 9, 2013 at 10:40 AM, Doug Evans <address@hidden> wrote:
>> As discussed on IRC, one possible issue is eq?-ness of SMOBs: one would
>> usually expects pointer equality to be preserved at the Scheme level.
>
> Yeah.
> That'll require gdb maintaining its own table(s) for each kind of smob
> we want to intern.
Actually, to be more precise, it will require maintaining tables for
*some* smobs we want to intern.
For other smobs the cost of caching the SCM in the gdb object isn't onerous.
[The object is marked as protected from GC until the gdb object is deleted.]
Alas, for two of the more important smobs we'd want to eq?, I think,
gdb symbols and types, we'll need separate tables.
Minimizing space usage of their gdb structs is important (critical
even), and only a small fraction of them will typically be used in
Scheme.
And we certainly don't want to pay that expense when Scheme isn't used.
- guile scripting for gdb, Doug Evans, 2013/11/04
- guile scripting for gdb, Doug Evans, 2013/11/04
- Re: guile scripting for gdb, Ludovic Courtès, 2013/11/08
- Re: guile scripting for gdb, Doug Evans, 2013/11/09
- Re: guile scripting for gdb, Thien-Thi Nguyen, 2013/11/09
- Re: guile scripting for gdb,
Doug Evans <=
- Re: guile scripting for gdb, Ludovic Courtès, 2013/11/10
- Re: guile scripting for gdb, Doug Evans, 2013/11/10
- Re: guile scripting for gdb, Doug Evans, 2013/11/11
- Re: guile scripting for gdb, Ludovic Courtès, 2013/11/11
- Re: guile scripting for gdb, Ludovic Courtès, 2013/11/11
- Re: guile scripting for gdb, msematman, 2013/11/30