From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 88029 invoked by alias); 29 Oct 2016 20:06:38 -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 88008 invoked by uid 89); 29 Oct 2016 20:06:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL,BAYES_05,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=pape, Pape, srpapegmailcom, U*srpape X-HELO: mail-wm0-f53.google.com Received: from mail-wm0-f53.google.com (HELO mail-wm0-f53.google.com) (74.125.82.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 29 Oct 2016 20:06:36 +0000 Received: by mail-wm0-f53.google.com with SMTP id n67so166947951wme.1 for ; Sat, 29 Oct 2016 13:06:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=lb+YYJqOqXOF8fCLTd25yeKw9wvN0cRcRw69pFDTFkc=; b=clvE97zdiORT9E2YldaMgF6UZN8N3U50kwYloMCxpVWRUIV+EuoOPAv4WEzkrrbdxJ dr9Jhlk5Ufh76GvJoo+qQPjtGFEmOVTCyST9ASLKmn27cjStgOzDPJp0DJtvnD35QlFv K1Cy7GAoVKfP7xcucCJmN6D33aiO8pXOMOOgAQTszu9P2GsQoloBdT5cAi/VDajcpSdH cbe0bOXG1wK0Fuwk05pLmN+P2leHA5v6DnjzscoWGFYZGcjZpbq6msqa36vyi2dsMZ/Q CR2SVqWiHqOpeL1YGmOZE7gZRmkImwKIdULO7RY14COKJU6AthzjIcaEoTeBBYD2mwf5 95Bw== X-Gm-Message-State: ABUngvcrfoWf51ww/n0nFi+KZ6+ZYIVAcPZSrJG8HC1FNDIna+ZyGFxu5u2rJVJiUykssTf3ehG6jx2ca6CZuQ== X-Received: by 10.28.193.129 with SMTP id r123mr1534898wmf.12.1477771594474; Sat, 29 Oct 2016 13:06:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.181.85 with HTTP; Sat, 29 Oct 2016 13:06:33 -0700 (PDT) In-Reply-To: References: From: dwk Date: Sat, 29 Oct 2016 20:06:00 -0000 Message-ID: Subject: Re: Symbol file To: Stephen Pape Cc: GDB Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2016-10/txt/msg00057.txt.bz2 Hi Stephen, You can generate an almost-empty ELF file which has a symbol table corresponding to your data. Then just use GDB's "add-symbol-file" command to load the symbol table. I have some code to generate such an ELF file, email me if interested. -- dwk On Sat, Oct 29, 2016 at 7:56 PM, Stephen Pape wrote: > Hello, > > Is there any way to provide GDB with symbol information besides a binary? > > I have symbol information in text format (symbol name/address/some > flags). I can transform the data as necessary, but I can't seem to > find a way to use it. > > Thanks, > > -Stephen