This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v1 02/36] Guile extension language: doc additions
- From: Doug Evans <xdje42 at gmail dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: ludo at gnu dot org (Ludovic CourtÃs), gdb-patches at sourceware dot org
- Date: Wed, 15 Jan 2014 20:20:21 -0800
- Subject: Re: [PATCH v1 02/36] Guile extension language: doc additions
- Authentication-results: sourceware.org; auth=none
- References: <52b9da59 dot 64ab440a dot 0b0b dot 7e1c at mx dot google dot com> <83ha9w68av dot fsf at gnu dot org> <87sit4kb1t dot fsf at gnu dot org> <83eh4ow78t dot fsf at gnu dot org> <87k3egez8e dot fsf at gnu dot org> <83y52vvmga dot fsf at gnu dot org> <87iotzd4ob dot fsf at gnu dot org> <83r48nv7op dot fsf at gnu dot org>
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.