This is the mail archive of the gdb@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: sol-thread.c core_ops oddity


Doug Evans wrote:
On Thu, Aug 7, 2008 at 12:25 PM, Daniel Jacobowitz <drow@false.org> wrote:
On Thu, Aug 07, 2008 at 12:11:36PM -0700, Doug Evans wrote:
Obviously I'm missing something.
I don't have a solaris system to see what really happens,
can someone fill in the missing piece that makes the above work?
Luck and sorting. I'm pretty sure we generate the calls in
alphabetical order (by filename or by function, I'm not sure).

Thanks. I don't see any sorting beyond
INIT_FILES = $(COMMON_OBS) $(TSOBS) $(CONFIG_SRCS)
and the hack for gdbtypes.
Is there an intention to officially sanction the sorting as something
one can take advantage of?
*I'm* not going to officially sanction any particular sort order, we have enough tricky implicit bits already.

Maybe we should have the daily checkin change the initialization order randomly, so as to catch misbehaving code... 1/2 :-)

Stan


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