unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: guile-devel@gnu.org
Subject: Re: Guile and GDB
Date: Sun, 28 Jun 2009 01:22:42 +0200	[thread overview]
Message-ID: <87vdmhqn25.fsf@gnu.org> (raw)
In-Reply-To: 87vdmi3tqk.fsf@arudy.ossau.uklinux.net

Hello!

Neil Jerram <neil@ossau.uklinux.net> writes:

> ludo@gnu.org (Ludovic Courtès) writes:
>
>> Because one can achieve the same result with simple GDB macros such as
>> those attached below (actually Andy put similar macros in the
>> repository).
>
> Thanks for explaining, I understand now.  Although I still think that
> it's a useful extra benefit for the _GDB_ backtrace to show SCM data
> nicely, as you showed in your examples at
> http://sourceware.org/ml/gdb-patches/2007-07/msg00231.html.

Well, admittedly, it looks nice.  :-)

>> One expects much more from a debugger, most notably being
>> able to analyze data without running code in the inferior process.
>  
> It's all running code of one kind or another; is there really a clear
> distinction here?

Yes: running code in the process being debugged is intrusive, and it
interferes with the behavior one is trying to observe.  It's also
impossible in many cases, e.g., when the inferior process was stopped
due to SIGSEGV, or when inspecting from a core file.

Thanks,
Ludo'.





  reply	other threads:[~2009-06-27 23:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1MJvkU-0000SB-UB@cvs.savannah.gnu.org>
2009-06-25 22:41 ` Guile and GDB Ludovic Courtès
2009-06-25 22:59   ` Neil Jerram
2009-06-26  7:51     ` Ludovic Courtès
2009-06-26 21:33       ` Neil Jerram
2009-06-26 22:09         ` Ludovic Courtès
2009-06-27  9:34           ` Neil Jerram
2009-06-27 23:22             ` Ludovic Courtès [this message]
2009-06-28  9:27               ` Neil Jerram

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://www.gnu.org/software/guile/

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

  git send-email \
    --in-reply-to=87vdmhqn25.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guile-devel@gnu.org \
    /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.
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).