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/somread.c | |
parent | d33fc4e447bc1a277ab1e49b7a7d39e07f01f33e (diff) | |
download | binutils-34c0bd933de019af43d6c8fe0bb7bdf87442eaa9.zip binutils-34c0bd933de019af43d6c8fe0bb7bdf87442eaa9.tar.gz binutils-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/somread.c')
-rw-r--r-- | gdb/somread.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/somread.c b/gdb/somread.c index aba3323..bab25d4 100644 --- a/gdb/somread.c +++ b/gdb/somread.c @@ -99,12 +99,14 @@ som_symtab_read (bfd *abfd, struct objfile *objfile, number_of_symbols = bfd_get_symcount (abfd); + /* FIXME (alloca): could be quite large. */ buf = alloca (symsize * number_of_symbols); bfd_seek (abfd, obj_som_sym_filepos (abfd), SEEK_SET); val = bfd_bread (buf, symsize * number_of_symbols, abfd); if (val != symsize * number_of_symbols) error ("Couldn't read symbol dictionary!"); + /* FIXME (alloca): could be quite large. */ stringtab = alloca (obj_som_stringtab_size (abfd)); bfd_seek (abfd, obj_som_str_filepos (abfd), SEEK_SET); val = bfd_bread (stringtab, obj_som_stringtab_size (abfd), abfd); |