diff options
author | Denis Chertykov <chertykov@gmail.com> | 2014-12-09 20:00:18 +0300 |
---|---|---|
committer | Denis Chertykov <chertykov@gmail.com> | 2014-12-09 20:00:18 +0300 |
commit | 4e3272393ff1ab2c07d9fa209d2ae82954f7954c (patch) | |
tree | b096ce57ab387f55fd39ce89763aa3c70d3233af /binutils | |
parent | f64e188b58f4aab4cbd03aa6e9fc1aa602546e26 (diff) | |
download | gdb-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')
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/od-elf32_avr.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 845eed4..ceab903 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2014-12-09 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> + + * od-elf32_avr.c (elf32_avr_dump_mem_usage): Fix device initialization. + 2014-12-09 Nick Clifton <nickc@redhat.com> PR binutils/17512 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; |