From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mail-a.sr.ht; dkim=pass header.d=johnnyrichard.com header.i=@johnnyrichard.com Received: from out-176.mta0.migadu.com (out-176.mta0.migadu.com [91.218.175.176]) by mail-a.sr.ht (Postfix) with ESMTPS id 55C592020E for <~johnnyrichard/olang-devel@lists.sr.ht>; Wed, 21 Feb 2024 18:32:39 +0000 (UTC) Date: Wed, 21 Feb 2024 20:31:39 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnnyrichard.com; s=key1; t=1708540358; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=P1KxydGLp8JazXaqTwEOD2NwJuDuVcQeMoR20c83EkM=; b=kxkN5/CJfZCrgk8uSYZakhAy26+FiO9bjb5bykYDa2wuJkqJEQbSmQ0xTa8j+rPYCTx2Tt EsbamHAGLkeBzNmibSD2mw8DeEWENf1YHStnFPIjq0dsCfVHNVzw4ShPToqivXgCsjyw8a COl+0Ldt3k6hGTxX4bWamrugEX0hi23WDNSTr5cagfxanQrwYQ1e6m7Xexborfz6gbkn3Y mDnlgWnukVsX4Il5ncszXzBgyqgZ47pfvZ8YNxeCpOlHUMTCABVg6pug1uqZro+NQm9Obe BsJuyYW94ikN9DSAZ/qQUSxsREjzmNVu0V+OLxx61c+sI8q9d9F6FFAgv0fe9w== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Johnny Richard To: Carlos Maniero Cc: ~johnnyrichard/olang-devel@lists.sr.ht Subject: Re: [POC] Generating DWARF debugging information Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT X-TUID: W0Dm6lmQ4Ix6 On Mon, Feb 19, 2024 at 12:05:48PM -0300, Carlos Maniero wrote: > Since it is not that simple to find information about about how to > generate debugging information in a way that the program can be > debuggable on gdb, I'll dump what I found here. Great work! We can try to start writing the compiler with debug information from the beginning. I think it would be nice if we could also provide the source code from the binary instead using file location. I will read more about it and keep you posted on this thread. Johnny Richard