This is the mail archive of the gdb-patches@sourceware.org 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 for: "Re: Regression for gdb.fortran/library-module.exp [Re: [RFA] choose symbol from given block's objfile first.]"


On Tue, 29 May 2012 17:44:36 +0200, Joel Brobecker wrote:
> OK, I think we should be able to modify my patch to add a new
> gdbarch attribute, unset by default, which we will set on all
> Windows arches. Then, the iterator can query that gdbarch attribute
> to decide whether to ignore the "context" objfile or not.

I agree in general.

Just a gdbarch design detail - gdbarch attribute should be a real function so
that the default (SVR4-compatible) implementation can just ignore the
context_objfile parameter.  The MS-Windows implementation will unconditionally
follow context_objfile.  This will not clutter the default code with
MS-Windows specifics.


Thanks,
Jan


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