diff options
author | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2016-12-28 23:43:53 +0100 |
---|---|---|
committer | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2017-10-22 23:06:09 +0100 |
commit | ef49b34b2af5bae85e5ee887c49eed02eb227feb (patch) | |
tree | 0ca91e1f369a7708483d6c14b7f106ad5d297dde /src/target/arm.h | |
parent | 1662508911bdf8f86a4f19f6b9eb701c58e9d328 (diff) | |
download | riscv-openocd-ef49b34b2af5bae85e5ee887c49eed02eb227feb.zip riscv-openocd-ef49b34b2af5bae85e5ee887c49eed02eb227feb.tar.gz riscv-openocd-ef49b34b2af5bae85e5ee887c49eed02eb227feb.tar.bz2 |
arm: semihosting: set command line arguments
Add "arm semihosting_cmdline [argv0 argv1 ...]" for setting the
command line arguments for the debuggee.
[andreas.fritiofson@gmail.com]: Dynamic allocation, empty default
Change-Id: I831ddd161d602f251940e29608a154e9590fdee1
Signed-off-by: Christian Groessler <chris@groessler.org>
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/3106
Tested-by: jenkins
Diffstat (limited to 'src/target/arm.h')
-rw-r--r-- | src/target/arm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/target/arm.h b/src/target/arm.h index d63ead2..f89aa68 100644 --- a/src/target/arm.h +++ b/src/target/arm.h @@ -157,6 +157,9 @@ struct arm { int (*setup_semihosting)(struct target *target, int enable); + /** Semihosting command line. */ + char *semihosting_cmdline; + /** Backpointer to the target. */ struct target *target; |