projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecf4059
)
* gdbtypes.h (TYPE_ALLOC): Parenthesize result to avoid problems
author
John Gilmore
<gnu@cygnus>
Sat, 29 Aug 1992 00:31:10 +0000
(
00:31
+0000)
committer
John Gilmore
<gnu@cygnus>
Sat, 29 Aug 1992 00:31:10 +0000
(
00:31
+0000)
for callers.
gdb/gdbtypes.h
patch
|
blob
|
history
diff --git
a/gdb/gdbtypes.h
b/gdb/gdbtypes.h
index 5aaf73ba69d17e0236cdbc916bc1bdcc1316fdd4..8fae607b1754a89912ea0a38e093302cea64cbde 100644
(file)
--- a/
gdb/gdbtypes.h
+++ b/
gdb/gdbtypes.h
@@
-517,9
+517,9
@@
extern struct type *builtin_type_m2_bool;
the same as for the type structure. */
#define TYPE_ALLOC(t,size) \
- TYPE_OBJFILE (t) != NULL \
+
(
TYPE_OBJFILE (t) != NULL \
? obstack_alloc (&TYPE_OBJFILE (t) -> type_obstack, size) \
- : xmalloc (size)
+ : xmalloc (size)
)
extern struct type *
alloc_type PARAMS ((struct objfile *));