From z Thu Nov 09 20:21:27 2000
Received: from maguro.epr.com ([198.3.162.27]) by exchange.epr.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21)
	id WNKAL0G9; Thu, 9 Nov 2000 11:18:18 -0800
Received: from magrathea.epr.com (firewall-user@magrathea.epr.com [198.3.160.1])
	by maguro.epr.com (8.9.3/8.9.3) with ESMTP id LAA15462
	for <sweeks@intertrust.com>; Thu, 9 Nov 2000 11:21:52 -0800 (PST)
Received: (from uucp@localhost) by magrathea.epr.com (8.9.3/8.7.3) id LAA16083 for <sweeks@intertrust.com>; Thu, 9 Nov 2000 11:21:50 -0800 (PST)
Received: from nodnsquery(199.222.69.4) by magrathea.epr.com via smap (V5.5)
	id xma016007; Thu, 9 Nov 00 11:21:39 -0800
Received: from clairv.com (IDENT:root@pc246.edi.nunet.net [199.249.165.246])
	by mail.acm.org (8.9.3/8.9.3) with ESMTP id OAA36872
	for <sweeks@acm.org>; Thu, 9 Nov 2000 14:21:27 -0500
Received: from simon.cs.cornell.edu (simon.cs.cornell.edu [128.84.154.10])
	by clairv.com (8.9.3/8.9.3) with ESMTP id NAA32456
	for <MLton@sourcelight.com>; Thu, 9 Nov 2000 13:21:32 -0600
Received: from sundial.cs.cornell.edu (sundial.cs.cornell.edu [128.84.96.115])
	by simon.cs.cornell.edu (8.9.3/8.9.3/R-3.1) with ESMTP id OAA07157
	for <MLton@sourcelight.com>; Thu, 9 Nov 2000 14:21:29 -0500 (EST)
Received: from hoho.cs.cornell.edu (hoho.cs.cornell.edu [128.84.96.89])
	by sundial.cs.cornell.edu (8.9.3/8.9.3/M-3.2) with ESMTP id OAA00063
	for <MLton@sourcelight.com>; Thu, 9 Nov 2000 14:21:28 -0500 (EST)
Received: from localhost (fluet@localhost)
	by hoho.cs.cornell.edu (8.9.3/8.9.3/C-3.0) with SMTP id OAA24460
	for <MLton@sourcelight.com>; Thu, 9 Nov 2000 14:21:28 -0500 (EST)
X-Authentication-Warning: hoho.cs.cornell.edu: fluet owned process doing -bs
Date: Thu, 9 Nov 2000 14:21:27 -0500 (EST)
From: Matthew Fluet <fluet@CS.Cornell.EDU>
To: MLton@sourcelight.com
Subject: Re: -g with -native
In-Reply-To: <200011091843.MAA15656@nimrod.clairv.com>
Message-ID: <Pine.SOL.3.95.1001109141555.22425A-100000@hoho.cs.cornell.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on 
	eponym.sweeks.com
X-Spam-Level: 
X-Spam-Status: No, hits=-100.0 required=3.0 tests=AWL,USER_IN_WHITELIST 
	autolearn=no version=2.60


> The -Wa,--gstabs introduces one slight problem.  You want to do it if you get
> a .s file from the native back end, but you probably don't want to do that if
> the  .s  file  comes from another source.  (I.e., I could have my own library
> routines written in assembler.)

Correct.  Although, I doubt many people would use MLton as a compiler for
their assembly libraries.

> What kinds of stabs information does the -Wa,--gstabs actually put in?   Line
> number stuff?  Local symbols?  Any thing else?

Certainly line number stuff.  That's what I've used it for in debugging.
I don't know if there is anything else specifically added by the --gstabs
option.



