diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2025-08-28 08:37:17 +1000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2025-08-30 07:04:02 +1000 |
| commit | 1b32b3d7d8d438ee46313312aa62ae8b89c90bcb (patch) | |
| tree | f39c504df8d45975db06a6c984025f96e6176d32 /linux-user | |
| parent | 8caa6621109ea1fb71870aa52c688de1f7dc64e9 (diff) | |
| download | focaccia-qemu-1b32b3d7d8d438ee46313312aa62ae8b89c90bcb.tar.gz focaccia-qemu-1b32b3d7d8d438ee46313312aa62ae8b89c90bcb.zip | |
linux-user: Update comment for target_elf_gregset_t
The only thing now used by generic core dump code is target_elf_gregset_t; ELF_NREG and target_elf_greg_t are now private to the implementation. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user')
| -rw-r--r-- | linux-user/elfload.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index 930701f08f..74f88dfa68 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -2859,12 +2859,8 @@ int load_elf_binary(struct linux_binprm *bprm, struct image_info *info) * * #define USE_ELF_CORE_DUMP * - * Next you define type of register set used for dumping. ELF specification - * says that it needs to be array of elf_greg_t that has size of ELF_NREG. - * - * typedef <target_regtype> target_elf_greg_t; - * #define ELF_NREG <number of registers> - * typedef taret_elf_greg_t target_elf_gregset_t[ELF_NREG]; + * Next you define type of register set used for dumping: + * typedef struct target_elf_gregset_t { ... } target_elf_gregset_t; * * Last step is to implement target specific function that copies registers * from given cpu into just specified register set. Prototype is: |