mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 07:53:51 +08:00
linux-tdep.c: Fix "warning: 'siginfo_size' may be used uninitialized..."
* linux-tdep.c (linux_corefile_thread_callback): Preinitialize siginfo_size.
This commit is contained in:
@ -1193,7 +1193,7 @@ linux_corefile_thread_callback (struct thread_info *info, void *data)
|
||||
struct cleanup *old_chain;
|
||||
struct regcache *regcache;
|
||||
gdb_byte *siginfo_data;
|
||||
LONGEST siginfo_size;
|
||||
LONGEST siginfo_size = 0;
|
||||
|
||||
regcache = get_thread_arch_regcache (info->ptid, args->gdbarch);
|
||||
|
||||
|
Reference in New Issue
Block a user