mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 05:47:26 +08:00
sim: include stdarg.h when used
Avoid implicit include deps with this to help untangle sim headers so we can get rid of arch-specific sim-main.h.
This commit is contained in:
@ -21,6 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
#include "defs.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "bfd.h"
|
||||
|
@ -22,6 +22,7 @@
|
||||
/* This must come before any other includes. */
|
||||
#include "defs.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
|
@ -23,6 +23,7 @@
|
||||
#ifndef HW_DEVICE_H
|
||||
#define HW_DEVICE_H
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
/* Introduction:
|
||||
|
||||
|
@ -20,6 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
/* This must come before any other includes. */
|
||||
#include "defs.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "hw-main.h"
|
||||
|
@ -20,6 +20,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
#ifndef HW_EVENTS_H
|
||||
#define HW_EVENTS_H
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
/* Event manager customized for hardware models.
|
||||
|
||||
This interface is discussed further in sim-events.h. */
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include "defs.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
|
@ -23,6 +23,7 @@
|
||||
#ifndef HW_TREE
|
||||
#define HW_TREE
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
struct hw *hw_tree_create
|
||||
(SIM_DESC sd,
|
||||
|
@ -20,6 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
/* This must come before any other includes. */
|
||||
#include "defs.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
@ -20,6 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
/* This must come before any other includes. */
|
||||
#include "defs.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
@ -20,6 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
#ifndef SIM_ENGINE_H
|
||||
#define SIM_ENGINE_H
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
typedef struct _sim_engine sim_engine;
|
||||
struct _sim_engine
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include "defs.h"
|
||||
|
||||
#include <signal.h> /* For SIGPROCMASK et al. */
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
|
@ -23,6 +23,7 @@
|
||||
#ifndef SIM_EVENTS_H
|
||||
#define SIM_EVENTS_H
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
/* Notes:
|
||||
|
||||
|
@ -22,6 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
|
@ -20,6 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
#ifndef SIM_HW_H
|
||||
#define SIM_HW_H
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
/* Parse a hardware definition */
|
||||
|
||||
|
@ -26,6 +26,7 @@
|
||||
#if HAVE_FCNTL_H
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#if HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
|
@ -23,6 +23,7 @@
|
||||
#ifndef SIM_IO_H
|
||||
#define SIM_IO_H
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
|
@ -21,6 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
#include "defs.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
|
@ -20,6 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
/* This must come before any other includes. */
|
||||
#include "defs.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
|
@ -22,6 +22,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
#ifndef SIM_TRACE_H
|
||||
#define SIM_TRACE_H
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "dis-asm.h"
|
||||
|
||||
/* Standard traceable entities. */
|
||||
|
@ -20,6 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
/* This must come before any other includes. */
|
||||
#include "defs.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
Reference in New Issue
Block a user