[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb-cvs
Subject:    src/gdb ChangeLog symfile.c
From:       brobecke () sourceware ! org
Date:       2010-04-27 21:01:31
Message-ID: 20100427210131.15445.qmail () sourceware ! org
[Download RAW message or body]

CVSROOT:	/cvs/src
Module name:	src
Changes by:	brobecke@sourceware.org	2010-04-27 21:01:31

Modified files:
	gdb            : ChangeLog symfile.c 

Log message:
	Check library name rather than member name when rereading symbols.
	
	On Darwin, we have lots of complaints being emitted when restarting
	a program:
	
	(gdb) start
	`a-except.o' has disappeared; keeping its symbols.
	`unwind-dw2.o' has disappeared; keeping its symbols.
	`s-except.o' has disappeared; keeping its symbols.
	`s-traceb.o' has disappeared; keeping its symbols.
	
	These object files are part of the GNAT runtime, and were never available.
	The warning comes from the fact that we're checking whether the .o files
	in the GNAT shared runtime have changed whereas we should be checking
	whether the GNAT shared library itself has changed.
	
	This patch implements this.  Although it is really only useful on a platform
	such as Darwin (debug info stored in .o files), we believe that this is
	the right thing to do in general.  This change should be a noop for all
	the other platforms in any case.
	
	gdb/ChangeLog (from Tristan Gingold & Pedro Alves):
	
	* symfile.c (reread_symbols): Also search for file in libraries.
	Update comment.
	
	Tested on x86_64-darwin and x86_64-linux.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.11690&r2=1.11691
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/symfile.c.diff?cvsroot=src&r1=1.281&r2=1.282

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic