This is the mail archive of the gdb@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: GDB 5.1/Core files and ptids


>  else if (TIDGET (inferior_ptid))
>> sprintf (section_name, "%s/%d+%d", name, PIDGET (inferior_ptid),
>> TIDGET (inferior_ptid));
>> else if (PIDGET (inferior_ptid))
>> sprintf (section_name, "%s/%d", name, PIDGET (inferior_ptid));


For some reason, I've a preference for <name>/<PID>/<TID> but I can't 
give a rational reason why.  I suspect it is just that the ``+'' goes 
against my thinking of how things are structured.

2c worth.

Andrew




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