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: Proposal for customization of output of "to_pid_to_str" op inremote.c


Daniel Jaccobowitz wrote
Let's take a step back. What would you be defining this macro as? What do
you want besides >"New thread"?
Daniel,
What I am proposing is that this macro is a call into a print
function defined in my target-tdep.c file. When I type "info threads"
this interface is getting invoked and I'd like to print a more
descriptive string about the various threads running on our hardware.
Right now it prints it out as
8 Thread 6 Which is quite confusing. (The first number is GDB internal numbering. The second number is the thread ID issued in my target) What will change is that Thread 6 will become something more descriptive.

Regards
Nat
Er, isn't there already stuff like qThreadInfo?

Andrew



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