Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Dave Korn" <dave.korn@artimi.com>
To: "'Bob Rossi'" <bob@brasko.net>, 	"'Ed Peschko'" <esp5@pge.com>
Cc: <gdb@sourceware.org>
Subject: RE: tracing, attaching to gdb processes
Date: Mon, 06 Mar 2006 12:01:00 -0000	[thread overview]
Message-ID: <055601c64115$a2b494a0$a501a8c0@CAM.ARTIMI.COM> (raw)
In-Reply-To: <20060306115527.GA17491@brasko.net>

On 06 March 2006 11:55, Bob Rossi wrote:

> On Sun, Mar 05, 2006 at 09:28:32PM -0800, Ed Peschko wrote:
>> all,
>> 
>> I had a couple of suggestions for gdb, and was wondering if they had either
>> been implemented, or were on the 'wish list' to be implemented.
>> 
>> 
>>     2) attach mode. I've noticed, especially with testing services through
>>        xinetd, that you can't always expect to have a gdb session come up
>> visibly. 
>> 
>>        For example, I was testing cvs the other day through valgrind, and
>>        it has a --db-command option for firing up a debugger if a memory
>>        leak occurs. If you are in a shell, this is no big deal. But if the
>>        service runs through something like valgrind, the gdb debugger gets
>>        fired up in a non-interactive place. I'd like to have the ability
>>        to attach to the gdb command from a window and be able to interact
>> with the gdb session from there. 
> 
> For this problem, couldn't you simply have valgrind either start GDB in
> screen so that you could attach to it when you want, or use a graphical
> debugger (xterm -e gdb)?
> 
> Bob Rossi

  Or have valgrind attach a gdbserver instance to the faulting process, and
then connect locally to _that_ with gdb?

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


  reply	other threads:[~2006-03-06 12:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-06  5:28 Ed Peschko
2006-03-06 11:55 ` Bob Rossi
2006-03-06 12:01   ` Dave Korn [this message]
2006-03-06 20:10     ` Ed Peschko
2006-03-14  2:28 ` Daniel Jacobowitz
2006-03-15  3:44   ` Ed Peschko
2006-03-15  3:45     ` Daniel Jacobowitz
2006-03-15  5:09       ` Ed Peschko
2006-03-15 14:23         ` Daniel Jacobowitz
2006-03-15 23:37           ` Ed Peschko
2006-03-16  0:53             ` Daniel Jacobowitz
2006-03-16  3:08               ` Ed Peschko
2006-03-16  7:04                 ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='055601c64115$a2b494a0$a501a8c0@CAM.ARTIMI.COM' \
    --to=dave.korn@artimi.com \
    --cc=bob@brasko.net \
    --cc=esp5@pge.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox