aboutsummaryrefslogtreecommitdiff
path: root/binutils/od-elf32_avr.c
diff options
context:
space:
mode:
authorDenis Chertykov <chertykov@gmail.com>2014-12-09 20:00:18 +0300
committerDenis Chertykov <chertykov@gmail.com>2014-12-09 20:00:18 +0300
commit4e3272393ff1ab2c07d9fa209d2ae82954f7954c (patch)
treeb096ce57ab387f55fd39ce89763aa3c70d3233af /binutils/od-elf32_avr.c
parentf64e188b58f4aab4cbd03aa6e9fc1aa602546e26 (diff)
downloadgdb-4e3272393ff1ab2c07d9fa209d2ae82954f7954c.zip
gdb-4e3272393ff1ab2c07d9fa209d2ae82954f7954c.tar.gz
gdb-4e3272393ff1ab2c07d9fa209d2ae82954f7954c.tar.bz2
* od-elf32_avr.c (elf32_avr_dump_mem_usage): Fix device initialization.
Diffstat (limited to 'binutils/od-elf32_avr.c')
-rw-r--r--binutils/od-elf32_avr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/od-elf32_avr.c b/binutils/od-elf32_avr.c
index 7a0a212..ced30c4 100644
--- a/binutils/od-elf32_avr.c
+++ b/binutils/od-elf32_avr.c
@@ -181,7 +181,7 @@ elf32_avr_dump_mem_usage (bfd *abfd)
char *description = NULL;
bfd_size_type note_section_size = 0;
- deviceinfo device = {0};
+ deviceinfo device = { 0, 0, 0, 0, 0, 0, NULL };
device.name = "Unknown";
bfd_size_type data_usage = 0;