aboutsummaryrefslogtreecommitdiff
path: root/sim/h8300/inst.h
diff options
context:
space:
mode:
authorD.Venkatasubramanian <dvenkat@noida.hcltech.com>2003-03-20 06:00:25 +0000
committerD.Venkatasubramanian <dvenkat@noida.hcltech.com>2003-03-20 06:00:25 +0000
commitd1360fb06a436e35055a0f42a1d1cf7b70a3d40b (patch)
tree5212704a8ddacb65f24286c26d5ed9156df47006 /sim/h8300/inst.h
parentbef85dc6ef238a6ef6af3a895fd5c033ccfee764 (diff)
downloadgdb-d1360fb06a436e35055a0f42a1d1cf7b70a3d40b.zip
gdb-d1360fb06a436e35055a0f42a1d1cf7b70a3d40b.tar.gz
gdb-d1360fb06a436e35055a0f42a1d1cf7b70a3d40b.tar.bz2
Added Commandline Support.
2003-03-20 D.Venkatasubramanian <dvenkat@noida.hcltech.com> * compile.c (cmdline_location): Added function to return the location of 8-bit (256 locations) where the Command Line arguments would be stored. (decode): Added a TRAP to 0xcc for Commandline processing using pseudo opcode O_SYS_CMDLINE. (sim_resume): Added handling of O_SYS_CMDLINE Trap. (sim_create_inferior): Setting a pointer to Commandline Args array. * inst.h: Added a new variable ptr_command_line for storing pointer to Commandline array.
Diffstat (limited to 'sim/h8300/inst.h')
-rw-r--r--sim/h8300/inst.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/h8300/inst.h b/sim/h8300/inst.h
index 7f6e400..edbee6a 100644
--- a/sim/h8300/inst.h
+++ b/sim/h8300/inst.h
@@ -66,6 +66,9 @@ enum h8300_sim_state {
SIM_STATE_RUNNING, SIM_STATE_EXITED, SIM_STATE_SIGNALLED, SIM_STATE_STOPPED
};
+/* For Command Line. */
+char **ptr_command_line; /* Pointer to Command Line Arguments. */
+
typedef struct
{
enum h8300_sim_state state;