mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
coredump:add const to memory region struct ptr
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
parent
8bafb6520a
commit
60796a7063
8 changed files with 12 additions and 13 deletions
|
|
@ -45,7 +45,7 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
int core_dump(FAR struct memory_region_s *regions,
|
||||
int core_dump(FAR const struct memory_region_s *regions,
|
||||
FAR struct lib_outstream_s *stream,
|
||||
pid_t pid)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ static int elf_loadbinary(FAR struct binary_s *binp,
|
|||
FAR const struct symtab_s *exports,
|
||||
int nexports);
|
||||
#ifdef CONFIG_ELF_COREDUMP
|
||||
static int elf_dumpbinary(FAR struct memory_region_s *regions,
|
||||
static int elf_dumpbinary(FAR const struct memory_region_s *regions,
|
||||
FAR struct lib_outstream_s *stream,
|
||||
pid_t pid);
|
||||
#endif
|
||||
|
|
@ -382,7 +382,7 @@ errout_with_init:
|
|||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_ELF_COREDUMP
|
||||
static int elf_dumpbinary(FAR struct memory_region_s *regions,
|
||||
static int elf_dumpbinary(FAR const struct memory_region_s *regions,
|
||||
FAR struct lib_outstream_s *stream,
|
||||
pid_t pid)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue