[PATCH v1 02/36] Guile extension language: doc additions

Doug Evans xdje42@gmail.com
Thu Jan 16 04:20:00 GMT 2014


Eli Zaretskii <eliz@gnu.org> writes:

>> From: ludo@gnu.org (Ludovic Courtès)
>> Cc: gdb-patches@sourceware.org
>> Date: Sat, 04 Jan 2014 18:42:44 +0100
>> 
>> > Well, GDB supports long double if the target does, so I thought it
>> > would be a pity to lose that when working with Guile.
>> 
>> We’re talking about ‘make-value’ here, which does allow users to create
>> a ‘long double’ value, AIUI.
>> 
>> What’s lost is that users can only inject in the debuggee values with
>> the accuracy of a ‘double’.
>> 
>> This is a theoretical limitation, but I’m tempted to think that this is
>> rarely (if ever) a concern in practice.
>> 
>> How do the Python bindings handle this?
>
> I don't know.  Maybe someone else could chime in.

The python code in gdb just uses doubles.

There's nothing precluding supporting better precision in the future,
but for this pass I'd like to keep it simple.



More information about the Gdb-patches mailing list