]> git.gag.com Git - fw/openocd/blobdiff - src/server/gdb_server.c
image_t -> struct image
[fw/openocd] / src / server / gdb_server.c
index 0bdb3a0c2154b0fde9da720f0e815b7d4f9b7a23..732f68be96b3d05796206ff52fa08c6ef3abc1d5 100644 (file)
@@ -1899,7 +1899,7 @@ int gdb_v_packet(struct connection *connection, target_t *target, char *packet,
                /* create a new image if there isn't already one */
                if (gdb_connection->vflash_image == NULL)
                {
-                       gdb_connection->vflash_image = malloc(sizeof(image_t));
+                       gdb_connection->vflash_image = malloc(sizeof(struct image));
                        image_open(gdb_connection->vflash_image, "", "build");
                }