Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Pedro Alves <pedro@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: --pid and --core
Date: Sat, 05 Jan 2008 12:46:00 -0000	[thread overview]
Message-ID: <usl1cv3si.fsf@gnu.org> (raw)
In-Reply-To: <477D122A.4060405@codesourcery.com> (message from Pedro Alves on 	Thu, 03 Jan 2008 16:49:46 +0000)

> Date: Thu, 03 Jan 2008 16:49:46 +0000
> From: Pedro Alves <pedro@codesourcery.com>
> 
> If the user specifies,
> 
>       gdb program --pid=3333,
> 
> gdb has no business trying to look for a core file named 3333.
> 
> The patch avoids these confusing messages [1] when the user specifies
> an invalid or non-existing pid:

Thanks, but please make the appropriate changes in the manual as
well.  It currently says:

    `-pid NUMBER'
    `-p NUMBER'
	 Connect to process ID NUMBER, as with the `attach' command.  If
	 there is no such process, GDB will attempt to open a core file
	 named NUMBER.


  parent reply	other threads:[~2008-01-05 12:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-03 16:56 Pedro Alves
2008-01-04  5:03 ` Joel Brobecker
2008-01-04 12:20   ` Pedro Alves
2008-01-04 15:41     ` Joel Brobecker
2008-01-05 12:47     ` Eli Zaretskii
2008-01-05 12:46 ` Eli Zaretskii [this message]
2008-01-05 13:09   ` Eli Zaretskii
2008-01-05 17:26     ` Pedro Alves
2008-01-05 17:36       ` Eli Zaretskii
2008-01-05 21:58         ` Pedro Alves

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=usl1cv3si.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=pedro@codesourcery.com \
    /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