diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-11-15 23:04:10 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-11-16 01:13:39 -0500 |
commit | 8cfc9a1895d9f720e2cc38fd57b94ca5efba07b1 (patch) | |
tree | ebec67af6051c58a695f48b6f69d6bf005fd3116 /sim/common | |
parent | 54f7a83a62c27d6da9ee66da1022572d6ea45d84 (diff) | |
download | gdb-8cfc9a1895d9f720e2cc38fd57b94ca5efba07b1.zip gdb-8cfc9a1895d9f720e2cc38fd57b94ca5efba07b1.tar.gz gdb-8cfc9a1895d9f720e2cc38fd57b94ca5efba07b1.tar.bz2 |
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).
Diffstat (limited to 'sim/common')
-rw-r--r-- | sim/common/callback.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/common/callback.c b/sim/common/callback.c index 941f430..a5f0fbe 100644 --- a/sim/common/callback.c +++ b/sim/common/callback.c @@ -770,6 +770,8 @@ host_callback default_callback = /* Defaults expected to be overridden at initialization, where needed. */ BFD_ENDIAN_UNKNOWN, /* target_endian */ + NULL, /* argv */ + NULL, /* envp */ 4, /* target_sizeof_int */ HOST_CALLBACK_MAGIC, |