This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug guile/19149] New: Message when guile is required but not available is not clear
- From: "yuri at tsoft dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sun, 18 Oct 2015 18:09:03 +0000
- Subject: [Bug guile/19149] New: Message when guile is required but not available is not clear
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=19149
Bug ID: 19149
Summary: Message when guile is required but not available is
not clear
Product: gdb
Version: 7.10
Status: NEW
Severity: normal
Priority: P2
Component: guile
Assignee: unassigned at sourceware dot org
Reporter: yuri at tsoft dot com
Target Milestone: ---
I have gdb-7.10 built without the GUILE option (which is the default) on
FreeBSD. Qt4 project (.pro) automatically runs the following command that
fails:
> $ gdb --nx --batch --quiet -ex 'set confirm off' -ex "save gdb-index $DESTDIR" -ex quit 'xxx'
> Exception caught while booting Guile.
> Error in function "open-file":
> No such file or directory: "/usr/local/share/gdb710/guile/gdb/boot.scm"
> gdb: warning: Could not complete Guile gdb module initialization from:
> /usr/local/share/gdb710/guile/gdb/boot.scm.
> Limited Guile support is available.
> Suggest passing --data-directory=/path/to/gdb/data-directory.
> usage: save gdb-index DIRECTORY
gdb error message should say: "guile is required for the operation <whatever>,
but gdb hasn't been built with guile support. Please choose an option
--with-guile to build gdb with guile support."
People have to deal with a lot of interacting systems, that is why error
message should be as clear and informative as possible.
--
You are receiving this mail because:
You are on the CC list for the bug.