mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
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.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user