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: --pid and --core


> 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.


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