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: RFA: avoid creating inter-objfile type pointers


On Thu, Nov 04, 2004 at 02:12:19AM -0500, Jim Blandy wrote:
> 
> This fixes a bug that causes incorrect output and crashes, and which
> is not caught by the current test suite.  A test could be easily added
> to shlib-call.exp to catch this; I'll try to give that a shot in a
> bit.
> 
> 2004-11-04  Jim Blandy  <jimb@redhat.com>
> 
> 	* gdbtypes.c (make_qualified_type): Doc fix.  Add assertion to
> 	prevent cross-objfile references.
> 	(make_cv_type): Doc fix.  Don't create cross-objfile references,
> 	even for stub types.
> 	(replace_type): Add assertion to prevent cross-objfile references.
> 	(check_typedef): Never resolve a stub type by copying over a type
> 	from another file.

Oopsie.  This looks sane to me.

-- 
Daniel Jacobowitz


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