diff options
author | Michael Snyder <msnyder@vmware.com> | 2002-01-08 02:09:31 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2002-01-08 02:09:31 +0000 |
commit | 34c0bd933de019af43d6c8fe0bb7bdf87442eaa9 (patch) | |
tree | 5dcae8fc9fb820641aa4316a71c8661fa53cfc25 /gdb/symfile.c | |
parent | d33fc4e447bc1a277ab1e49b7a7d39e07f01f33e (diff) | |
download | gdb-34c0bd933de019af43d6c8fe0bb7bdf87442eaa9.zip gdb-34c0bd933de019af43d6c8fe0bb7bdf87442eaa9.tar.gz gdb-34c0bd933de019af43d6c8fe0bb7bdf87442eaa9.tar.bz2 |
2002-01-07 Michael Snyder <msnyder@redhat.com>
* cp-valprint.c (cp_print_value): FIXME comment, alloca size.
* p-valprint.c (pascal_object_print_value): Ditto.
* somread.c (som_symtab_read): Ditto.
* symfile.c (simple_free_overlay_region_table): Ditto.
* valops.c (value_assign): Ditto.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index d999cf9..c0b9d3e 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -3009,6 +3009,7 @@ simple_free_overlay_region_table (void) static void read_target_long_array (CORE_ADDR memaddr, unsigned int *myaddr, int len) { + /* FIXME (alloca): Not safe if array is very large. */ char *buf = alloca (len * TARGET_LONG_BYTES); int i; |