This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] fullname attribute for GDB/MI stack frames


On Wed, 4 May 2005 20:05:06 -0400, Bob Rossi wrote:
> 
> This may or may not be what you mean. However, if you do
> -file-list-exec-source-files, GDB prints the filename and fullname for
> every file that it knows about. The purpose of this is to let the
front
> end know about each and every file that GDB knows about. As I've
stated
> before, I believe most if not all FE's depend on the fullname to be a
> unique key.

I think you have just struck on the right way to write the tests
for fullname with respect to stack frames.  Forget regex's, we
want the value of the fullname to exactly match the same fullname
attribute pumped out by -file-list-exec-source-files.  This would just
take one utility function.  The test for -file-list-exec-source-files
could then be the central point for verifying the "correctness" of
fullname.  I'm willing to redo my stack/fullname tests if this idea
is amenable to the group.

--Dennis

------------------------
Dennis Brueni
Software Engineer
SlickEdit Inc.
3000 Aerial Center Pkwy
Suite 120
Morrisville, NC  27560
Tel:  919.473.0132
Fax:  919.473.0080
http://www.slickedit.com
------------------------       


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]