This is the mail archive of the gdb-patches@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: [patch] Turn on dbg msg of IPA along with gdbserver's


On 01/04/2012 02:55 PM, Yao Qi wrote:
On 01/04/2012 08:02 PM, Pedro Alves wrote:
Since it's in the inferior, I just do "print debug_threads = 1"
from gdb.   It won't work if the ipa is stripped though, so I won't
object to something like this.


Well, I don't mind to turn debug flag on in this way. However, `debug_threads' is confusing here. How about change this flag to `debug_agent'?

Fine with me. `debug_threads' is confusing for gdbserver too. It is just historical and doesn't make sense anymore, AFAIK. We should probably rename it to something more generic, like `debug_gdbserver', `gdbserver_debug' or so.

> 2012-01-04  Yao Qi<yao@codesourcery.com>
>
> 	* tracepoint.c [IN_PROCESS_AGENT] (debug_threads): Macro
> 	defined.
> 	[IN_PROCESS_AGENT] (debug_agent): New global variable.

Okay.

--
Pedro Alves


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