From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 130706 invoked by alias); 31 Jan 2019 04:59:19 -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 130683 invoked by uid 89); 31 Jan 2019 04:59:19 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=G, guidance, xml, practical X-HELO: mail-it1-f174.google.com Received: from mail-it1-f174.google.com (HELO mail-it1-f174.google.com) (209.85.166.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 31 Jan 2019 04:59:17 +0000 Received: by mail-it1-f174.google.com with SMTP id c9so2053118itj.1 for ; Wed, 30 Jan 2019 20:59:17 -0800 (PST) MIME-Version: 1.0 From: Robert Henry Date: Thu, 31 Jan 2019 04:59:00 -0000 Message-ID: Subject: implementation specific registers in elf core files? To: gdb@sourceware.org Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2019-01/txt/msg00045.txt.bz2 I would like to save implementation specific registers in elf core files, and have gdb find and print those registers under the guidance of the target description machinery (xml reg specs) described in Appendix G. Is this possible? I would presume the values would end up in an ELF core file note, but what would the note's name and type be, and how does it all come together? I suspect gdb has most of this already, since the gdb server can send upstream the xml data, and also the value of the registers, and it somehow comes together. (I have no practical experience with this.)