unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Cc: "guix-devel@gnu.org" <guix-devel@gnu.org>
Subject: Re: [PATCH] gnu: gdb: Add guile scripting support.
Date: Mon, 28 Sep 2015 22:50:30 +0200	[thread overview]
Message-ID: <87wpva5kvd.fsf@gnu.org> (raw)
In-Reply-To: <idjeghi4s7s.fsf@bimsb-sys02.mdc-berlin.net> (Ricardo Wurmus's message of "Mon, 28 Sep 2015 14:57:11 +0200")

Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> skribis:

> with the attached patch GDB is built with Guile scripting support[1].

It’s already available, what did you imagine?  ;-)

--8<---------------cut here---------------start------------->8---
(gdb) r
Starting program: /home/ludo/soft/bin/guile 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/gnu/store/x2vcwnrwhydd6knmlqsnan0jg13i96zd-glibc-2.22/lib/libthread_db.so.1".
[New Thread 0x7ffff5eaa700 (LWP 2918)]
[New Thread 0x7ffff5659700 (LWP 2919)]
[New Thread 0x7ffff4e08700 (LWP 2920)]
[New Thread 0x7ffff3c14700 (LWP 2921)]
GNU Guile 2.0.11.140-67d8c
Copyright (C) 1995-2014 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)>   C-c C-c
Program received signal SIGINT, Interrupt.
0x00007ffff75bffcd in read () from /gnu/store/x2vcwnrwhydd6knmlqsnan0jg13i96zd-glibc-2.22/lib/libpthread.so.0
(gdb) bt
#0  0x00007ffff75bffcd in read () from /gnu/store/x2vcwnrwhydd6knmlqsnan0jg13i96zd-glibc-2.22/lib/libpthread.so.0
#1  0x00007ffff7abc8fc in fport_fill_input (port=...) at fports.c:668
#2  0x00007ffff7af1118 in scm_slow_get_byte_or_eof (port=#<port file 709f60>) at ports.c:1536
#3  0x00007ffff41aa4ff in scm_get_byte_or_eof (port=...) at ../libguile/inline.h:105
#4  current_input_getc (in=<optimized out>) at readline.c:136
#5  0x00007ffff3f8c17e in rl_read_key () from /home/ludo/.guix-profile/lib/libreadline.so.6
#6  0x00007ffff3f77b0d in readline_internal_char () from /home/ludo/.guix-profile/lib/libreadline.so.6
#7  0x00007ffff3f7812c in readline () from /home/ludo/.guix-profile/lib/libreadline.so.6
#8  0x00007ffff41aaa24 in internal_readline (text="scheme@(guile-user)> ") at readline.c:248
#9  scm_readline (text="scheme@(guile-user)> ", inp=#<port file 709f60>, outp=..., read_hook=...) at readline.c:200
--8<---------------cut here---------------end--------------->8---

(This examples shows Guile’s GDB support loaded by GDB’s Guile support.)

Ludo’.

  reply	other threads:[~2015-09-28 20:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-28 12:57 [PATCH] gnu: gdb: Add guile scripting support Ricardo Wurmus
2015-09-28 20:50 ` Ludovic Courtès [this message]
2015-09-28 21:00   ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wpva5kvd.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=ricardo.wurmus@mdc-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).