Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* replace debug_linux_nat_async with debug_linux_nat ?
@ 2011-05-03 20:25 Doug Evans
  2011-05-03 21:34 ` Pedro Alves
  0 siblings, 1 reply; 4+ messages in thread
From: Doug Evans @ 2011-05-03 20:25 UTC (permalink / raw)
  To: gdb-patches

Hi.
Anyone mind if I delete linux-nat.c:debug_linux_nat_async
and replace it with debug_linux_nat?

I've been in some sessions where I turn the latter on
only to find I also want the former, and from what I read
I pretty much always want both.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: replace debug_linux_nat_async with debug_linux_nat ?
  2011-05-03 20:25 replace debug_linux_nat_async with debug_linux_nat ? Doug Evans
@ 2011-05-03 21:34 ` Pedro Alves
  2011-05-05 17:27   ` Tom Tromey
  2011-05-09 19:11   ` Doug Evans
  0 siblings, 2 replies; 4+ messages in thread
From: Pedro Alves @ 2011-05-03 21:34 UTC (permalink / raw)
  To: gdb-patches; +Cc: Doug Evans

On Tuesday 03 May 2011 21:25:14, Doug Evans wrote:
> Hi.
> Anyone mind if I delete linux-nat.c:debug_linux_nat_async
> and replace it with debug_linux_nat?
> 
> I've been in some sessions where I turn the latter on
> only to find I also want the former, and from what I read
> I pretty much always want both.

It's considerably more noisy, and doesn't help much
sync debugging, but I won't mind.  Especially since
I'd like to flip to async on by default :-)  (needs
fixing some regressions compared to sync mode first though).

Note some tests rely on "set debug lin-lwp", so you'll
most probably need to fix them.

-- 
Pedro Alves


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: replace debug_linux_nat_async with debug_linux_nat ?
  2011-05-03 21:34 ` Pedro Alves
@ 2011-05-05 17:27   ` Tom Tromey
  2011-05-09 19:11   ` Doug Evans
  1 sibling, 0 replies; 4+ messages in thread
From: Tom Tromey @ 2011-05-05 17:27 UTC (permalink / raw)
  To: Pedro Alves; +Cc: gdb-patches, Doug Evans

>>>>> "Pedro" == Pedro Alves <pedro@codesourcery.com> writes:

Pedro> Especially since I'd like to flip to async on by default :-)
Pedro> (needs fixing some regressions compared to sync mode first
Pedro> though).

That sounds great.

Tom


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: replace debug_linux_nat_async with debug_linux_nat ?
  2011-05-03 21:34 ` Pedro Alves
  2011-05-05 17:27   ` Tom Tromey
@ 2011-05-09 19:11   ` Doug Evans
  1 sibling, 0 replies; 4+ messages in thread
From: Doug Evans @ 2011-05-09 19:11 UTC (permalink / raw)
  To: Pedro Alves; +Cc: gdb-patches

On Tue, May 3, 2011 at 2:34 PM, Pedro Alves <pedro@codesourcery.com> wrote:
> On Tuesday 03 May 2011 21:25:14, Doug Evans wrote:
>> Hi.
>> Anyone mind if I delete linux-nat.c:debug_linux_nat_async
>> and replace it with debug_linux_nat?
>>
>> I've been in some sessions where I turn the latter on
>> only to find I also want the former, and from what I read
>> I pretty much always want both.
>
> It's considerably more noisy, and doesn't help much
> sync debugging,

I dunno, to each his own for these things I guess.
Plus I'd like to add more and having to think about sync vs async is
time best spent thinking about something else.
I wouldn't mind having different levels of verbosity though.

> but I won't mind.

Thanks.

> Especially since
> I'd like to flip to async on by default

I wonder if sync vs async here is another duality in linux gdb that
can go away at some point.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-05-09 19:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-03 20:25 replace debug_linux_nat_async with debug_linux_nat ? Doug Evans
2011-05-03 21:34 ` Pedro Alves
2011-05-05 17:27   ` Tom Tromey
2011-05-09 19:11   ` Doug Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox