diff options
author | Matthew Green <mrg@redhat.com> | 2002-01-04 00:00:54 +0000 |
---|---|---|
committer | Matthew Green <mrg@redhat.com> | 2002-01-04 00:00:54 +0000 |
commit | 5c8844646d88eaf4ec6b9c682fc1a32757fd0c07 (patch) | |
tree | fd12b44aa3102091dcc32740922b69ceab85a16c /sim/ppc/main.c | |
parent | c7b3d5aa454d080ad760b8915e5f1eee0d452861 (diff) | |
download | gdb-5c8844646d88eaf4ec6b9c682fc1a32757fd0c07.zip gdb-5c8844646d88eaf4ec6b9c682fc1a32757fd0c07.tar.gz gdb-5c8844646d88eaf4ec6b9c682fc1a32757fd0c07.tar.bz2 |
* bits.c (LSMASKED64): New inline function.
(LSEXTRACTED64): Likewise.
* bits.h (_LSB_POS, _LSMASKn, LSMASK64): New macros from
sim/common/sim-bits.h
(LSMASKED64, LSEXTRACTED64): New functions definitions.
* Makefile.in (sim-bits.o): Remove target.
* main.c (zalloc): Fix typo in error message.
Diffstat (limited to 'sim/ppc/main.c')
-rw-r--r-- | sim/ppc/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/ppc/main.c b/sim/ppc/main.c index 3144454..f6ac87f 100644 --- a/sim/ppc/main.c +++ b/sim/ppc/main.c @@ -248,7 +248,7 @@ zalloc(long size) { void *memory = malloc(size); if (memory == NULL) - error("zmalloc failed\n"); + error("zalloc failed\n"); memset(memory, 0, size); return memory; } |