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][COMMITTED] Fix pr 17367


Doug Evans <xdje42@gmail.com> writes:
> Hi.
>
> This patch fixes PR 17367.
> https://sourceware.org/bugzilla/show_bug.cgi?id=17367
>
> Guile 2.2 now compiles to ELF files, and I was noticing gdb complaining
> when starting up.
>
> Exception caught while booting Guile.
> Error in function "load-thunk-from-memory":
> not an ELF file
> ./gdb: warning: Could not complete Guile gdb module initialization from:
> /hack/gnu/sourceware/gdb-guile/b-sigchld-prep-git-guile-gc74/gdb/data-directory/guile/gdb/boot.scm.
>
> I traced this to the wrong guild program being used.
> guild should come from the specified guile distribution,
> but /bin/guild was being used instead (which is guile 2.0).
>
> Regression tested on amd64-linux with guile 2.0.11 and guile trunk.
>
> 2014-09-09  Doug Evans  <xdje42@gmail.com>
>
> 	PR guile/17367
> 	* acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as
> 	last parameter to pkg-config, not first.
> 	* configure.ac: Pass --with-guile provided pkg-config path to
> 	GDB_GUILE_PROGRAM_NAMES.
> 	* configure: Regenerate.

Pushed to 7.8 branch as well.


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