aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-utils.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-09-04 10:08:44 +0000
committerAndrew Cagney <cagney@redhat.com>1997-09-04 10:08:44 +0000
commit6dbaff8f6067e91995adc90e5c8939de41c56e9a (patch)
treef71cef520e051d5d508c23d7b8f7540626c2e97d /sim/common/sim-utils.h
parenta34abff813f4fdd5f289ea45de9e874e31e7edf3 (diff)
downloadgdb-6dbaff8f6067e91995adc90e5c8939de41c56e9a.zip
gdb-6dbaff8f6067e91995adc90e5c8939de41c56e9a.tar.gz
gdb-6dbaff8f6067e91995adc90e5c8939de41c56e9a.tar.bz2
Finish implementation of sim-memopt.
Use in d30v and tic80. Make available a generic sim_read, sim_write implementation.
Diffstat (limited to 'sim/common/sim-utils.h')
-rw-r--r--sim/common/sim-utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/common/sim-utils.h b/sim/common/sim-utils.h
index cd7cc59c..0bacee4 100644
--- a/sim/common/sim-utils.h
+++ b/sim/common/sim-utils.h
@@ -26,6 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
void *zalloc (unsigned long size);
#define ZALLOC(TYPE) (TYPE*)zalloc(sizeof (TYPE))
+#define NZALLOC(TYPE,N) (TYPE*)zalloc(sizeof (TYPE) * (N))
void zfree(void*);