]> git.sur5r.net Git - openocd/commitdiff
doc: Add gdb target description commands
authorFranck Jullien <franck.jullien@gmail.com>
Thu, 15 Aug 2013 19:52:23 +0000 (21:52 +0200)
committerSpencer Oliver <spen@spen-soft.co.uk>
Thu, 29 Aug 2013 07:54:41 +0000 (07:54 +0000)
Change-Id: Ie74917082e894cfa8ee2258f7a8cdf7d58ee4a59
Signed-off-by: Franck Jullien <franck.jullien@gmail.com>
Reviewed-on: http://openocd.zylin.com/1552
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
doc/openocd.texi

index ebab3a543133cf80812ba7d36c3f3f8f45cbb613..c34ecb078b08d25f416076b826b2bb4a8bed2e30 100644 (file)
@@ -2354,6 +2354,17 @@ The default behaviour is @option{disable};
 use @option{enable} see these errors reported.
 @end deffn
 
+@deffn {Config Command} gdb_target_description (@option{enable}|@option{disable})
+Set to @option{enable} to cause OpenOCD to send the target descriptions to gdb via qXfer:features:read packet.
+The default behaviour is @option{disable}.
+@end deffn
+
+@deffn {Command} gdb_save_tdesc
+Saves the target descripton file to the local file system.
+
+The file name is @i{target_name}.xml.
+@end deffn
+
 @anchor{eventpolling}
 @section Event Polling