This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Proposal for customization of output of "to_pid_to_str" op in remote.c
- From: Nat Gurumoorthy <natg at ubicom dot com>
- To: ac131313 at redhat dot com
- Cc: gdb at sources dot redhat dot com
- Date: Wed, 11 Dec 2002 14:55:25 -0800
- Subject: Re: Proposal for customization of output of "to_pid_to_str" op in remote.c
>Andrew Cagney Wrote
>Er, isn't there already stuff like qThreadInfo?
Andrew,
qThreadInfo only lets the remote pass back target thread IDs to GDB.
GDB then converts the pid into and GDB internal ptid (process + thread ID).
The "to_pid_to_str" function pointer in the target structure is used
to convert a ptid to a printable string. If you are currently using the
remote interface this defaults to looking like "Thread 1" "Thread 2" etc.
I would like the the target to be print whatever it wants.
Regards
Nat