From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: Guile 2.2 TODO Date: Thu, 03 Oct 2013 23:27:11 +0200 Message-ID: <874n8y3v0w.fsf@pobox.com> References: <87vc2kztv1.fsf@pobox.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1380835666 28517 80.91.229.3 (3 Oct 2013 21:27:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Oct 2013 21:27:46 +0000 (UTC) To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Oct 03 23:27:49 2013 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VRqR2-0006iN-7F for guile-devel@m.gmane.org; Thu, 03 Oct 2013 23:27:48 +0200 Original-Received: from localhost ([::1]:45297 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRqR1-0001wz-P4 for guile-devel@m.gmane.org; Thu, 03 Oct 2013 17:27:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38152) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRqQs-0001vH-Lh for guile-devel@gnu.org; Thu, 03 Oct 2013 17:27:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRqQn-0006yp-IO for guile-devel@gnu.org; Thu, 03 Oct 2013 17:27:38 -0400 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:61835 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRqQn-0006yl-F2 for guile-devel@gnu.org; Thu, 03 Oct 2013 17:27:33 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 9C851D5FA for ; Thu, 3 Oct 2013 17:27:31 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=PAd2xkZ4CneJbaMpQH1DL7qnrgs=; b=pb7V2Y U3mdv3ad44wQwyWXcys2+xnifscwRjioZHcLwguJs2htCzjX+V/vfWS5Mx/fnXWy 6msJU1ElxEOvpuRSTW79G4eyXFnqbcR+5TpGueUAQi3fqBuu1BIWVHBKS+6cCryC 62U2W5UM9ziMyUtJC5KTWNgURyweE4LiWu8nY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:subject :references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=SNs3kfmgS4TknMa1LYuh7adNaJBtw7CM w1i4J8HROWj/LBP8DMsdj+KEP0Z0+y8YgPmifiWoHwP8Qib+xHEYIArUxLwzoizZ oExPt6W/+qp7LOsHxNumPYs9FnuqDBqsIxo1jkk/24JirfkUrxBgmkolhhLveIIZ 1Rml752PaeM= Original-Received: from a-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 93C79D5F9 for ; Thu, 3 Oct 2013 17:27:31 -0400 (EDT) Original-Received: from badger (unknown [88.160.190.192]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id E0508D5F8 for ; Thu, 3 Oct 2013 17:27:30 -0400 (EDT) In-Reply-To: <87vc2kztv1.fsf@pobox.com> (Andy Wingo's message of "Sun, 01 Sep 2013 13:03:46 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Pobox-Relay-ID: 9C42AC64-2C72-11E3-8F54-0A540E5B5709-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 208.72.237.25 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:16664 Archived-At: Hi, On Sun 01 Sep 2013 13:03, Andy Wingo writes: > * Source information. > > The plan here would be to use DWARF. We don't use DWARF yet, so there > are a few parts of this. > > - Add a DWARF parser; see the wip-dwarf branch for that. > > - Emit debugging info entries (DIEs) for each function in a > compilation unit, into the .debug_info section. Initially they > would be minimal, just having the function's address and maybe its > name. > > - Add machinery to (system vm debug) to get a DIE for a procedure, if > it is present. > > - Add a macro-instruction to the assembler that records source > location info. Have the assembler collect this info. > > - Have the assembler write out source location info into a .debug_line > section, and link the DIE to that info. > > - Add an appropriate interface to (system vm debug) to parse out line > number information. Perhaps model this interface on what is already > in (system vm program). > > - Shim the existing (system vm program) interfaces to call the new > (system vm debug) interfaces for RTL programs. Done! Woo hoo :) > * Local variable information. Still to do, will put off until later. > * Replace bytecode trampolines with RTL trampolines. > * Prompt, abort, and call/cc. > * Compiling all of Guile to RTL. These are next. Andy -- http://wingolog.org/