]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - include/sim/callback.h
sim: callback: expose argv & environ
[thirdparty/binutils-gdb.git] / include / sim / callback.h
index 06aa2d4be79079575ee497ff53634744a03f643e..a51c4de9c3aafb6cfe0ee21b4d524d09e70dcbae 100644 (file)
@@ -178,6 +178,12 @@ struct host_callback_struct
 
   enum bfd_endian target_endian;
 
+  /* Program command line options.  */
+  char **argv;
+
+  /* Program environment.  */
+  char **envp;
+
   /* Size of an "int" on the target (for syscalls whose ABI uses "int").
      This must include padding, and only padding-at-higher-address is
      supported.  For example, a 64-bit target with 32-bit int:s which