qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3 2/3] accel/tcg: Add debuginfo support


From: Richard Henderson
Subject: Re: [PATCH v3 2/3] accel/tcg: Add debuginfo support
Date: Wed, 11 Jan 2023 10:14:37 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 1/10/23 17:47, Ilya Leoshkevich wrote:
ginfo.h
@@ -0,0 +1,77 @@
+/*
+ * Debug information support.
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#ifndef ACCEL_TCG_DEBUGINFO_H
+#define ACCEL_TCG_DEBUGINFO_H
+
+/*
+ * Debuginfo describing a certain address.
+ */
+struct debuginfo_query {
+    unsigned long long address;  /* Input: address. */
+    int flags;                   /* Input: debuginfo subset. */
+    const char *symbol;          /* Symbol that the address is part of. */
+    unsigned long long offset;   /* Offset from the symbol. */
+    const char *file;            /* Source file associated with the address. */
+    int line;                    /* Line number in the source file. */
+};

s/unsigned long long/uint64_t/g

Otherwise it looks reasonable.

r~



reply via email to

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