[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guile and GDB

From: Ludovic Courtès
Subject: Re: Guile and GDB
Date: Sun, 28 Jun 2009 01:22:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)


Neil Jerram <address@hidden> writes:

> address@hidden (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

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]