From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 124883 invoked by alias); 18 Aug 2019 17:55:52 -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 124857 invoked by uid 89); 18 Aug 2019 17:55:52 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:317 X-HELO: mail-lj1-f174.google.com Received: from mail-lj1-f174.google.com (HELO mail-lj1-f174.google.com) (209.85.208.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 18 Aug 2019 17:55:51 +0000 Received: by mail-lj1-f174.google.com with SMTP id x3so5406141lji.5 for ; Sun, 18 Aug 2019 10:55:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=DGoI3vSSqbNd+ey0iL77F11Wgnz30G2hTTZWzrT6wOI=; b=dt+uqYR3PPxrEnBGJKG4eGezm42LP/vmtOXujt8NcdE+MNu8h0pSOCjyOahxT2OSUR 36bQkV69jphmKJdmJHZPgCl4EobHNx8wl7sGnBK/1Nug9WmtE11FOtiOVQBNkF0mly0l sYQAgunn9whKo9FedjY1Yznil2+smrJc9TwXH0PHZAE5Ksujk9OJ16yZWfdHI0jnO5HQ F/OsTyZ39y9u1iFlJEZSssLf6qAqjx+avCAtI0CEC1Su325nnvJYuH1fRIs1tvxKJcrs Cer/9vB94adQSQTni9nE/mgZE5MKKTCWgxa29VzCvkfHliJTAv5bZ0FVZwgEFL57o366 XLmQ== MIME-Version: 1.0 From: William Tambe Date: Sun, 18 Aug 2019 17:55:00 -0000 Message-ID: Subject: Function used by GDB to access target sim memory To: gdb@sourceware.org Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2019-08/txt/msg00024.txt.bz2 What function does GDB use to access the simulator memory when "target sim" is in use ? For instance, to implement the access to the simulator registers, one must use: CPU_REG_FETCH() CPU_REG_STORE() Are there similar functions for accessing the simulator memory ?