guile-devel
[Top][All Lists]
Advanced

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

Re: Guile and GDB


From: Neil Jerram
Subject: Re: Guile and GDB
Date: Fri, 26 Jun 2009 22:33:06 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> Hi Neil,

Hi Ludo!

> Neil Jerram <address@hidden> writes:
>
>> Wow, that's pretty cool!  So your patches are actually in GDB now, are
>> they?
>
> Yes, but as I said, they're not too useful as it stands.

I don't really understand why you say that.  They look useful to me.

>> Notwithstanding, it looks like my conclusion that we don't need
>> GDB_INTERFACE and GDB_INTERFACE_INIT in guile.c is still correct - can
>> you confirm that?
>
> I think so.

Thanks.

>> (In other words, instead of using some kind of registration API, I
>> guess that GDB either links to libguile, or looks up the gdb_*
>> functions that it needs dynamically, or has an independent copy of the
>> libguile code that it needs to do printing.  Is that right?)
>
> Currently, it just calls `gdb_print ()' et al. in the inferior process.
> Eventually, it should use its own printers, so that it can work without
> interfering the process being debugged, work on core files, etc.

Ah yes, of course, GDB must be able to do that...

Regards,
        Neil




reply via email to

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