Make sure we don't fail to build when dv-socker is unavailable.
+2021-05-29 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c [!HAVE_DV_SOCKSER] (sockser_addr): Define to NULL.
+
2021-05-22 Faraz Shahbazker <fshahbazker@wavecomp.com>
-sim/mips/ChangeLog:
* interp.c (sim_open): Add shadow mappings from 32-bit
address space to 64-bit sign-extended address space.
2021-05-22 Faraz Shahbazker <fshahbazker@wavecomp.com>
-sim/mips/ChangeLog:
* interp.c (sim_create_inferior): Only truncate sign extension
bits for 32-bit target models.
{
/* FIXME: poking at dv-sockser internals, use tcp backend if
--sockser_addr option was given.*/
+#ifdef HAVE_DV_SOCKSER
extern char* sockser_addr;
- if(sockser_addr == NULL)
+#else
+# define sockser_addr NULL
+#endif
+ if (sockser_addr == NULL)
sim_hw_parse (sd, "/tx3904sio@0xfffff300/backend stdio");
else
sim_hw_parse (sd, "/tx3904sio@0xfffff300/backend tcp");