diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-09-04 10:08:44 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-09-04 10:08:44 +0000 |
commit | 6dbaff8f6067e91995adc90e5c8939de41c56e9a (patch) | |
tree | f71cef520e051d5d508c23d7b8f7540626c2e97d /sim/common/sim-utils.h | |
parent | a34abff813f4fdd5f289ea45de9e874e31e7edf3 (diff) | |
download | gdb-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.h | 1 |
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*); |