Re: [PATCH] linux-user/elfload: fix filling psinfo->pr_psargs

2021-05-15 Thread Laurent Vivier
Le 13/04/2021 à 22:58, Ilya Leoshkevich a écrit : > The current code dumps the memory between arg_start and arg_end, > which contains the argv pointers. This results in the > > Core was generated by `` > > message when opening the core file in GDB. This is because the code is > supposed to du

Re: [PATCH] linux-user/elfload: fix filling psinfo->pr_psargs

2021-04-13 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20210413205814.22821-1-...@linux.ibm.com/ Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 20210413205814.22821-1-...@linux.ibm.com Subject: [PATCH] linux-user/elfload: fix filling

[PATCH] linux-user/elfload: fix filling psinfo->pr_psargs

2021-04-13 Thread Ilya Leoshkevich
The current code dumps the memory between arg_start and arg_end, which contains the argv pointers. This results in the Core was generated by `` message when opening the core file in GDB. This is because the code is supposed to dump the actual arg strings. Fix by using arg_strings and env_stri