diff options
Diffstat (limited to 'gdb/gdb_obstack.h')
-rw-r--r-- | gdb/gdb_obstack.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/gdb_obstack.h b/gdb/gdb_obstack.h index 237830e..0dcfc4f 100644 --- a/gdb/gdb_obstack.h +++ b/gdb/gdb_obstack.h @@ -26,6 +26,13 @@ /* Unless explicitly specified, GDB obstacks always use xmalloc() and xfree(). */ +/* Note: ezannoni 2004-02-09: One could also specify the allocation + functions using a special init function for each obstack, + obstack_specify_allocation. However we just use obstack_init and + let these defines here do the job. While one could argue the + superiority of one approach over the other, we just chose one + throughout. */ + #define obstack_chunk_alloc xmalloc #define obstack_chunk_free xfree |