diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2025-03-17 14:28:11 +0000 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-04-25 17:00:41 +0200 |
commit | 56a9f0d4c4a483ce217e5290db69cb1788586787 (patch) | |
tree | d769130d7c5cbef40f9b20c42b8d41ae4413af4d /rust/qemu-api-macros | |
parent | d5f241834be1b323ea697a469ff0f1335a1823fe (diff) | |
download | qemu-56a9f0d4c4a483ce217e5290db69cb1788586787.zip qemu-56a9f0d4c4a483ce217e5290db69cb1788586787.tar.gz qemu-56a9f0d4c4a483ce217e5290db69cb1788586787.tar.bz2 |
hw/core/cpu: gdb_arch_name string should not be freed
The documentation for the CPUClass::gdb_arch_name method claims that
the returned string should be freed with g_free(). This is not
correct: in commit a650683871ba728 we changed this method to
instead return a simple constant string, but forgot to update
the documentation.
Make the documentation match the new semantics.
Fixes: a650683871ba728 ("hw/core/cpu: Return static value with gdb_arch_name()")
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250317142819.900029-2-peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'rust/qemu-api-macros')
0 files changed, 0 insertions, 0 deletions