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] guile.c: Replace call to scm_init_guile with scm_with_guile.


On Sun, Feb 16, 2014 at 9:55 PM, Doug Evans <xdje42@gmail.com> wrote:
> Hi.
>
> scm_with_guile is a better way to initialize Guile than scm_init_guile
> (scm_init_guile is less portable according to the docs),
> plus it's good to do all the initialization from within a call to
> scm_with_guile.
>
> This patch does that.
> Regression tested on amd64-linux with guile 2.0.9.
>
> 2014-02-17  Doug Evans  <xdje42@gmail.com>
>
>         * guile/guile.c (call_initialize_gdb_module): New function.
>         (initialize_guile): Replace call to scm_init_guile with call to
>         scm_with_guile.

Committed.


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