This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: --pid and --core
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 05 Jan 2008 14:46:05 +0200
- Subject: Re: --pid and --core
- References: <477D122A.4060405@codesourcery.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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.