fixed option bytes amount
authorTectu <joel@unormal.org>
Fri, 25 May 2012 15:05:44 +0000 (17:05 +0200)
committerTectu <joel@unormal.org>
Fri, 25 May 2012 15:05:44 +0000 (17:05 +0200)
gdbserver/gdb-server.c

index 91fb8dced9c0a697256c30a9d5794fc478c264c0..7a525d53530059c68fe5c0f9560e61f0ca8ba9ae 100644 (file)
@@ -228,7 +228,7 @@ static const char* const memory_map_template =
   "  <memory type=\"ram\" start=\"0x40000000\" length=\"0x1fffffff\"/>" // peripheral regs
   "  <memory type=\"ram\" start=\"0xe0000000\" length=\"0x1fffffff\"/>" // cortex regs
   "  <memory type=\"rom\" start=\"0x%08x\" length=\"0x%zx\"/>"           // bootrom
-  "  <memory type=\"rom\" start=\"0x1ffff800\" length=\"0x8x\"/>"        // option byte area
+  "  <memory type=\"rom\" start=\"0x1ffff800\" length=\"0x10\"/>"        // option byte area
   "</memory-map>";
 
 char* make_memory_map(stlink_t *sl) {