summaryrefslogtreecommitdiff
path: root/doc/openocd.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/openocd.texi')
-rw-r--r--doc/openocd.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index 4a8bb45b..611f5ec7 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -262,7 +262,7 @@ Default behaviour is <@var{disable}>
@cindex gdb_flash_program
Set to <@var{enable}> so that openocd will program the flash memory when a
vFlash packet is received.
-Default behaviour is <@var{disable}>
+Default behaviour is <@var{enable}>
@item @b{daemon_startup} <@var{mode}>
@cindex daemon_startup
@option{mode} can either @option{attach} or @option{reset}
@@ -1287,10 +1287,10 @@ This is now handled in the @option{qSupported} PacketSize.
@section Programming using gdb
@cindex Programming using gdb
-By default the target memory map is not sent to gdb, this can be enabled by
+By default the target memory map is sent to gdb, this can be diabled by
the following openocd config option:
@smallexample
-gdb_memory_map enable
+gdb_memory_map disable
@end smallexample
For this to function correctly a valid flash config must also be configured
in openocd. For speed also configure a valid working area.