This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: GDB 5.1/Core files and ptids
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: Takis Psarogiannakopoulos <takis at XFree86 dot Org>, kevinb at redhat dot com
- Cc: gdb at sources dot redhat dot com, binutils at sources dot redhat dot com
- Date: Fri, 18 Jan 2002 15:26:41 -0500
- Subject: Re: GDB 5.1/Core files and ptids
- References: <Pine.BSF.4.21.0201170558370.56056-100000@public.xfree86.org>
> 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