1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-27 13:04:36 +03:00

fixed bug #3200 "cannot compile with pstack"

as downgrade of patch for 
bug #1661 "Compiling --with-pstack fails with binutils 2.13.90"
This commit is contained in:
vva@eagle.mysql.r18.ru
2004-03-19 18:38:25 +04:00
parent b9f51f7081
commit c862fda196
3 changed files with 14 additions and 1 deletions

View File

@@ -2667,7 +2667,8 @@ pstack_install_segv_action( const char* path_format_)
if ((abfd = load_bfd(pid))==0)
fprintf(stderr, "BFD load failed..\n");
else {
long storage_needed = bfd_get_symtab_upper_bound (abfd);
long storage_needed= (bfd_get_file_flags(abfd) & HAS_SYMS) ?
bfd_get_symtab_upper_bound (abfd) : 0;
long i;
(void)i;