qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 00/20] first version of mcdstub


From: address@hidden
Subject: Re: [PATCH v3 00/20] first version of mcdstub
Date: Wed, 29 Nov 2023 16:01:20 +0100
User-agent: Mozilla Thunderbird


On 29/11/2023 15:44, Alex Bennée wrote:
Nicolas Eder <nicolas.eder@lauterbach.com> writes:

SUMMARY
=======

This patch-set introduces the first version of the mcdstub.
The mcdstub is a debug interface, which enables debugging QEMU
using the MCD (Multi-Core Debug) API.
The mcdstub uses TCP to communicate with the host debug software. However,
because MCD is merely an API, the TCP communication is not part of
the MCD spec but specific to this project.

To translate between the MCD API and the TCP data stream coming from the mcdstub,
the host has to use a shared library (.dll/.so).
Such a shared library will be available soon Lauterbach's open source site
and will be linked to from inside this project in a future patch.
Do you have a timeline for this? Its impossible to test without some
sort of open implementation of the library.

You can find the library source code here:

https://gitlab.com/lauterbach/mcdrefsrv

It can be built using CMake.


The MCD API itself can be downloaded here: https://repo.lauterbach.com/sprint_mcd_api_v1_0.zip

QUICK START
===========

Attention: MCD is currently only supported for qemu-system-arm !

Three components are required to Debug QEMU via MCD:

1. qemu-system-arm (built with this patch series applied).
2. MCD shared library (translates between the MCD API and TCP data).
3. Host debugging software with support for the MCD API (e.g.
Lauterbach TRACE32).
We will need some sort of basic implementation to exercise the API as I
assume TRACE32 is a paid for binary.

I am working on a python script, which directly calls the API functions. Upon completion it will be added to the mcdrefsrv gitlab.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]