qemu-e2k/gdbstub
Akihiko Odaki a650683871 hw/core/cpu: Return static value with gdb_arch_name()
All implementations of gdb_arch_name() returns dynamic duplicates of
static strings. It's also unlikely that there will be an implementation
of gdb_arch_name() that returns a truly dynamic value due to the nature
of the function returning a well-known identifiers. Qualify the value
gdb_arch_name() with const and make all of its implementations return
static strings.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20230912224107.29669-8-akihiko.odaki@daynix.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231009164104.369749-15-alex.bennee@linaro.org>
2023-10-11 08:46:33 +01:00
..
gdbstub.c hw/core/cpu: Return static value with gdb_arch_name() 2023-10-11 08:46:33 +01:00
internals.h gdbstub: Rename 'softmmu' -> 'system' 2023-10-07 19:02:59 +02:00
meson.build gdbstub: Rename 'softmmu' -> 'system' 2023-10-07 19:02:59 +02:00
syscalls.c
system.c gdbstub: Fix target_xml initialization 2023-10-11 08:46:33 +01:00
trace-events gdbstub: Rename 'softmmu' -> 'system' 2023-10-07 19:02:59 +02:00
trace.h
user-target.c accel/tcg: Replace CPUState.env_ptr with cpu_env() 2023-10-04 11:03:54 -07:00
user.c gdbstub: replace global gdb_has_xml with a function 2023-08-30 14:57:56 +01:00