public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "wiml at hhhh dot org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug gdb/13981] New: Documentation is contradictory about treatment of second (pid/corefile) arg
Date: Sat, 14 Apr 2012 02:37:00 -0000 [thread overview]
Message-ID: <bug-13981-4717@http.sourceware.org/bugzilla/> (raw)
http://sourceware.org/bugzilla/show_bug.cgi?id=13981
Bug #: 13981
Summary: Documentation is contradictory about treatment of
second (pid/corefile) arg
Product: gdb
Version: 7.4
Status: NEW
Severity: minor
Priority: P2
Component: gdb
AssignedTo: unassigned@sourceware.org
ReportedBy: wiml@hhhh.org
Classification: Unclassified
This is kind of trivial, but: the GDB documentation (eg as found at
http://sourceware.org/gdb/onlinedocs/gdb/index.html) states both:
# gdb program 1234 would attach gdb to process 1234 (unless you also have a
file named 1234; gdb does check for a core file first).
and, a few pages later,
# If the second argument begins with a decimal digit, gdb will first attempt to
attach to it as a process, and if that fails, attempt to open it as a corefile.
If you have a corefile whose name begins with a digit, you can prevent gdb from
treating it as a pid by prefixing it with ./, e.g. ./12345.
Presumably these can't both be true.
(The version I'm reading from states its version as 7.4.0.20120413.)
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
next reply other threads:[~2012-04-14 2:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-14 2:37 wiml at hhhh dot org [this message]
2023-12-31 14:08 ` [Bug gdb/13981] " ssbssa at sourceware dot org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-13981-4717@http.sourceware.org/bugzilla/ \
--to=sourceware-bugzilla@sourceware.org \
--cc=gdb-prs@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).