From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19249 invoked by alias); 28 Feb 2014 15:47:34 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 19238 invoked by uid 89); 28 Feb 2014 15:47:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-la0-f44.google.com Received: from mail-la0-f44.google.com (HELO mail-la0-f44.google.com) (209.85.215.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 28 Feb 2014 15:47:32 +0000 Received: by mail-la0-f44.google.com with SMTP id hr13so2846740lab.3 for ; Fri, 28 Feb 2014 07:47:29 -0800 (PST) X-Received: by 10.153.4.43 with SMTP id cb11mr7299310lad.42.1393602449310; Fri, 28 Feb 2014 07:47:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.64.225 with HTTP; Fri, 28 Feb 2014 07:47:09 -0800 (PST) From: Johan Tibell Date: Fri, 28 Feb 2014 15:47:00 -0000 Message-ID: Subject: Making GDB recognize the Haskell DWARF source language ID To: gdb , Peter Wortmann Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes X-SW-Source: 2014-02/txt/msg00067.txt.bz2 Hi, We recently added DWARF output support to GHC, the main Haskell compiler. However, GDB doesn't seem to respect the function names we output as DWARF debug info and instead falls back to the symbol names. My understanding is that this is due to the DWARF source language ID we emit isn't recognized by GDB. Is this correct and, if so, how do we remedy the situation? Cheers, Johan