public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/13981] New: Documentation is contradictory about treatment of second (pid/corefile) arg
@ 2012-04-14 2:37 wiml at hhhh dot org
2023-12-31 14:08 ` [Bug gdb/13981] " ssbssa at sourceware dot org
0 siblings, 1 reply; 2+ messages in thread
From: wiml at hhhh dot org @ 2012-04-14 2:37 UTC (permalink / raw)
To: gdb-prs
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug gdb/13981] Documentation is contradictory about treatment of second (pid/corefile) arg
2012-04-14 2:37 [Bug gdb/13981] New: Documentation is contradictory about treatment of second (pid/corefile) arg wiml at hhhh dot org
@ 2023-12-31 14:08 ` ssbssa at sourceware dot org
0 siblings, 0 replies; 2+ messages in thread
From: ssbssa at sourceware dot org @ 2023-12-31 14:08 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=13981
Hannes Domani <ssbssa at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Target Milestone|--- |9.1
CC| |ssbssa at sourceware dot org
Status|NEW |RESOLVED
--- Comment #1 from Hannes Domani <ssbssa at sourceware dot org> ---
The documentation was corrected in this commit:
https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=4ed4690fc21b1d052092299f820f48694f3ef3eb
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-12-31 14:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-14 2:37 [Bug gdb/13981] New: Documentation is contradictory about treatment of second (pid/corefile) arg wiml at hhhh dot org
2023-12-31 14:08 ` [Bug gdb/13981] " ssbssa at sourceware dot org
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).