forked from Imagelibrary/binutils-gdb
* c-typeprint.c (c_print_type): Assume demangled arguments
if a '(' is found in varstring, Looking for ')' at the end of
varstring did fail with demangled const member functions, which
have a trailing `const'.
* remote.c (get_offsets, putpkt): Change to `char' buffers,
to avoid errors when compiling with DEC c89.
(remote_wait): Cast to `char *' before passing buffer to
fputs_filtered, to avoid errors when compiling with DEC c89.
(remote_wait): Do not return inferior_pid by default, this
statement is never reached, which causes warnings from some
compilers.
* stabsread.c (scan_file_globals): Ignore static minimal symbols.
* symfile.c (load_command): If called with no argument, try
to get the filename from the executable file.
(generic_load): Remove check for NULL filename, it is done
in load_command now.
This commit is contained in:
@@ -3818,6 +3818,15 @@ scan_file_globals (objfile)
|
||||
{
|
||||
QUIT;
|
||||
|
||||
/* Skip static symbols. */
|
||||
switch (MSYMBOL_TYPE (msymbol))
|
||||
{
|
||||
case mst_file_text:
|
||||
case mst_file_data:
|
||||
case mst_file_bss:
|
||||
continue;
|
||||
}
|
||||
|
||||
prev = NULL;
|
||||
|
||||
/* Get the hash index and check all the symbols
|
||||
|
||||
Reference in New Issue
Block a user