mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 22:48:57 +08:00
sim: callback: expose argv & environ
Pass the existing strings data to the callbacks so that common libgloss syscalls can be implemented (which we'll do shortly).
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user