public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug guile/29222] New: Manual suggestion on guile produces error
@ 2022-06-02 10:15 nchatz314 at gmail dot com
  2022-06-02 10:22 ` [Bug guile/29222] " nchatz314 at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: nchatz314 at gmail dot com @ 2022-06-02 10:15 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29222

            Bug ID: 29222
           Summary: Manual suggestion on guile produces error
           Product: gdb
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: guile
          Assignee: unassigned at sourceware dot org
          Reporter: nchatz314 at gmail dot com
  Target Milestone: ---

The link <https://sourceware.org/gdb/onlinedocs/gdb/Basic-Guile.html> suggests
to insert

    guile (use-modules (gdb))

in the gdb init script. I inserted it under ~/.config/gdb/gdbearlyinit but when
I launch gdb I get:

    ~/.config/gdb/gdbearlyinit:1: Error in sourced command file:
    Error while executing Scheme code.

The command works fine from inside a gdb session.

I'm on Fedora 36. My gdb version is GNU gdb (GDB) Fedora 12.1-1.fc36. The
configuration is

   configure --host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu
             --with-auto-load-dir=$debugdir:$datadir/auto-load
             --with-auto-load-safe-path=$debugdir:$datadir/auto-load
             --with-expat
             --with-gdb-datadir=/usr/share/gdb
             --with-jit-reader-dir=/usr/lib64/gdb
             --without-libunwind-ia64
             --with-lzma
             --with-babeltrace
             --with-intel-pt
             --with-mpfr
             --with-xxhash
             --with-python=/usr
             --with-python-libdir=/usr/lib
             --with-debuginfod
             --with-guile
             --enable-source-highlight
             --with-separate-debug-dir=/usr/lib/debug
             --with-system-gdbinit=/etc/gdbinit

Finally the guile version is guile (GNU Guile) 2.0.14.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug guile/29222] Manual suggestion on guile produces error
  2022-06-02 10:15 [Bug guile/29222] New: Manual suggestion on guile produces error nchatz314 at gmail dot com
@ 2022-06-02 10:22 ` nchatz314 at gmail dot com
  2022-06-02 10:22 ` [Bug cli/29222] " nchatz314 at gmail dot com
  2022-06-02 10:23 ` nchatz314 at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: nchatz314 at gmail dot com @ 2022-06-02 10:22 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29222

--- Comment #1 from Nikolaos Chatzikonstantinou <nchatz314 at gmail dot com> ---
I believe the related component is 'cli' and not 'guile'. That was a mistake
when I submitted this bug report.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug cli/29222] Manual suggestion on guile produces error
  2022-06-02 10:15 [Bug guile/29222] New: Manual suggestion on guile produces error nchatz314 at gmail dot com
  2022-06-02 10:22 ` [Bug guile/29222] " nchatz314 at gmail dot com
@ 2022-06-02 10:22 ` nchatz314 at gmail dot com
  2022-06-02 10:23 ` nchatz314 at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: nchatz314 at gmail dot com @ 2022-06-02 10:22 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29222

Nikolaos Chatzikonstantinou <nchatz314 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|guile                       |cli

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug cli/29222] Manual suggestion on guile produces error
  2022-06-02 10:15 [Bug guile/29222] New: Manual suggestion on guile produces error nchatz314 at gmail dot com
  2022-06-02 10:22 ` [Bug guile/29222] " nchatz314 at gmail dot com
  2022-06-02 10:22 ` [Bug cli/29222] " nchatz314 at gmail dot com
@ 2022-06-02 10:23 ` nchatz314 at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: nchatz314 at gmail dot com @ 2022-06-02 10:23 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29222

Nikolaos Chatzikonstantinou <nchatz314 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unknown                     |12.1

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-06-02 10:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-02 10:15 [Bug guile/29222] New: Manual suggestion on guile produces error nchatz314 at gmail dot com
2022-06-02 10:22 ` [Bug guile/29222] " nchatz314 at gmail dot com
2022-06-02 10:22 ` [Bug cli/29222] " nchatz314 at gmail dot com
2022-06-02 10:23 ` nchatz314 at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).