🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Juha Sarlin Sat, 26 Aug 1989 16:12
addition to: gdb 3.2 patch to inform earlier about symbol reading
#245
Author: Juha Sarlin
Date: Sat, 26 Aug 1989 16:12
42 lines
1857 bytes
In private e-mail: Jim Kingdon <kingdon@ai.mit.edu> said:
>Unfortunately, your patch is not correct.  If one symtab is dependent
>on another (this occurs with Sun CC and binary includes (BINCLs),
>though we may add BINCLs to GCC someday) we want to print out a
>message for each one.
>
>At least I think it is a good idea to print out a message for each
>one; that's what it does now, and I think it would be confusing if it
>read in symbols for files without telling the user.

Well, I agree. Here is an additional patch to make gdb say:

Reading symbol data from foo.c... and bar.c... and whatever.c...done

*** /tmp/,RCSt1a00797	Fri Aug 25 16:46:22 1989
--- dbxread.c	Fri Aug 25 16:44:17 1989
***************
*** 2621,2625 ****
    for (i = 0; i < pst->number_of_dependencies; i++)
!     if (!pst->dependencies[i]->readin)
!       psymtab_to_symtab_1 (pst->dependencies[i], desc,
! 			   stringtab, sym_offset);
  
--- 2621,2636 ----
    for (i = 0; i < pst->number_of_dependencies; i++)
!     if (!pst->dependencies[i]->readin) 
!       {
! 	extern int info_verbose; /* Give verbose info on gdb action.  */
! 
! 	/* Inform about additional files that need to be read in. */
! 	if (info_verbose)
! 	  {
! 	    printf_filtered (" and %s...", pst->filename);
! 	    fflush (stdout);
! 	  }
! 
! 	psymtab_to_symtab_1 (pst->dependencies[i], desc,
! 			     stringtab, sym_offset);
!       }
  
--
Juha Sarlin	juha@tds.kth.se
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads