gdb/
authorPedro Alves <palves@redhat.com>
Sat, 5 Jan 2008 21:50:44 +0000 (21:50 +0000)
committerPedro Alves <palves@redhat.com>
Sat, 5 Jan 2008 21:50:44 +0000 (21:50 +0000)
* 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.

gdb/ChangeLog
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo

index 292b311d29bfff865535eab957c1bdbab96cabc9..b15d81b16427d9b52b75d0a77e1f763ef1ee8639 100644 (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>
 
        * main.c (captured_main): Remove 'count' varible and the
index 68d00110a0ec58c208c3b91a6ed354529323e12d..48991cd46dfb621a1bc36290cec00845ce3aed5d 100644 (file)
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -3,6 +3,13 @@
 
 *** 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
 
 set print frame-arguments (all|scalars|none)
index 228e8f07e585147bc8525518b8c9cc1b77f800a4..0d73a27980d50b3146d97d8dfc27bbef7170155b 100644 (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>
 
        * gdbint.texinfo (Host Conditionals): Remove mention of
index 153d4f9cc218c085e0b26e4ec9e03e3a44978e93..808b67531acecfb2be59233f54559a6ef942c933 100644 (file)
@@ -942,14 +942,11 @@ file.
 @cindex @code{-c}
 Use file @var{file} as a core dump to examine.
 
-@item -c @var{number}
 @item -pid @var{number}
 @itemx -p @var{number}
 @cindex @code{--pid}
 @cindex @code{-p}
 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}
 @itemx -x @var{file}
This page took 0.062196 seconds and 4 git commands to generate.