This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] record_latest_value: Call release_value_or_incref instead of release_value


On Mon, Mar 3, 2014 at 5:23 AM, Joel Brobecker <brobecker@adacore.com> wrote:
>> --8<---------------cut here---------------start------------->8---
>> (gdb) guile (use-modules (gdb))
>
> Following the example of Python, shouldn't this be implicit?
>
>> (gdb) guile (history-append! (make-value 42))

We had a discussion of this on the #guile irc channel, and I couldn't
find anyone who thought it should be implicit.

Plus we also had a discussion of whether the symbols should have a
builtin prefix, e.g., to avoid collisions like the one with symbol?
that ludo mentions.
E.g., gdb:symbol? instead of symbol?

I couldn't find anyone who advocated for a builtin prefix, and Guile
provides the ability to add one when importing:
(use-modules ((gdb) #:renamer (symbol-prefix-proc 'gdb:)))


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]