diff options
author | Pedro Alves <palves@redhat.com> | 2007-10-25 21:43:42 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2007-10-25 21:43:42 +0000 |
commit | f6071bfaa3b8a4489a68d5375e3a959d29855ede (patch) | |
tree | a2fb34d294841a59a0a9c17a89c50bf55098675f | |
parent | 7e2dbecf8fe00b3e0a8587e2859aefb740c6e3ea (diff) | |
download | gdb-f6071bfaa3b8a4489a68d5375e3a959d29855ede.zip gdb-f6071bfaa3b8a4489a68d5375e3a959d29855ede.tar.gz gdb-f6071bfaa3b8a4489a68d5375e3a959d29855ede.tar.bz2 |
* memory-map.c (parse_memory_map): Don't use an empty struct
initializer.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/memory-map.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 400457a..98d860e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2007-10-25 Pedro Alves <pedro_alves@portugalmail.pt> + * memory-map.c (parse_memory_map): Don't use an empty struct + initializer. + +2007-10-25 Pedro Alves <pedro_alves@portugalmail.pt> + * signals/signals.c (signals): Update pointer to enum target_signal declaration. diff --git a/gdb/memory-map.c b/gdb/memory-map.c index d8283ac..a13fbeb 100644 --- a/gdb/memory-map.c +++ b/gdb/memory-map.c @@ -180,7 +180,7 @@ parse_memory_map (const char *memory_map) struct gdb_xml_parser *parser; VEC(mem_region_s) *result = NULL; struct cleanup *before_deleting_result, *back_to; - struct memory_map_parsing_data data = {}; + struct memory_map_parsing_data data = { NULL }; back_to = make_cleanup (null_cleanup, NULL); parser = gdb_xml_create_parser_and_cleanup (_("target memory map"), |