aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2008-01-05 21:50:44 +0000
committerPedro Alves <palves@redhat.com>2008-01-05 21:50:44 +0000
commit7a404eba2709a1f21a426b4f0ccef42f4e149577 (patch)
tree3eda1e38c769ef59b665eef006581eb3264edc36 /gdb
parente1d4d8936fdd6f5bb05fd50a51a9dd723313487e (diff)
downloadfsf-binutils-gdb-7a404eba2709a1f21a426b4f0ccef42f4e149577.zip
fsf-binutils-gdb-7a404eba2709a1f21a426b4f0ccef42f4e149577.tar.gz
fsf-binutils-gdb-7a404eba2709a1f21a426b4f0ccef42f4e149577.tar.bz2
gdb/
* 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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/NEWS7
-rw-r--r--gdb/doc/ChangeLog6
-rw-r--r--gdb/doc/gdb.texinfo3
4 files changed, 17 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 292b311..b15d81b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
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
ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and
--pid options were issued simultaneously. If an explicit pid
diff --git a/gdb/NEWS b/gdb/NEWS
index 68d0011..48991cd 100644
--- 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)
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 228e8f0..0d73a27 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,5 +1,11 @@
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
ALIGN_STACK_ON_ENTRY.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 153d4f9..808b675 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -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}