* NEWS: Mention --pid and --core command line behaviour changes.

	gdb/doc/

	* gdb.texinfo (File Options): Remove mention of the attempt to
	open a core file with the -p option.  Don't list -c as a valid
	option to attach to a process.
This commit is contained in:
Pedro Alves 2008-01-05 21:50:44 +00:00
parent e1d4d8936f
commit 7a404eba27
4 changed files with 17 additions and 3 deletions

View file

@ -1,3 +1,7 @@
2008-01-05 Pedro Alves <pedro@codesourcery.com>
* NEWS: Mention --pid and --core command line behaviour changes.
2008-01-05 Pedro Alves <pedro@codesourcery.com> 2008-01-05 Pedro Alves <pedro@codesourcery.com>
* main.c (captured_main): Remove 'count' varible and the * main.c (captured_main): Remove 'count' varible and the

View file

@ -3,6 +3,13 @@
*** Changes since GDB 6.7 *** Changes since GDB 6.7
* Change in command line behavior -- corefiles vs. process ids.
When the '-p NUMBER' or '--pid NUMBER' options are used, and
attaching to process NUMBER fails, GDB no longer attempts to open a
core file named NUMBER. Attaching to a program using the -c option
is no longer supported. Instead, use the '-p' or '--pid' options.
* New commands * New commands
set print frame-arguments (all|scalars|none) set print frame-arguments (all|scalars|none)

View file

@ -1,3 +1,9 @@
2008-01-05 Pedro Alves <pedro@codesourcery.com>
* gdb.texinfo (File Options): Remove mention of the attempt to
open a core file with the -p option. Don't list -c as a valid
option to attach to a process.
2008-01-05 Pedro Alves <pedro@codesourcery.com> 2008-01-05 Pedro Alves <pedro@codesourcery.com>
* gdbint.texinfo (Host Conditionals): Remove mention of * gdbint.texinfo (Host Conditionals): Remove mention of

View file

@ -942,14 +942,11 @@ file.
@cindex @code{-c} @cindex @code{-c}
Use file @var{file} as a core dump to examine. Use file @var{file} as a core dump to examine.
@item -c @var{number}
@item -pid @var{number} @item -pid @var{number}
@itemx -p @var{number} @itemx -p @var{number}
@cindex @code{--pid} @cindex @code{--pid}
@cindex @code{-p} @cindex @code{-p}
Connect to process ID @var{number}, as with the @code{attach} command. Connect to process ID @var{number}, as with the @code{attach} command.
If there is no such process, @value{GDBN} will attempt to open a core
file named @var{number}.
@item -command @var{file} @item -command @var{file}
@itemx -x @var{file} @itemx -x @var{file}