From: Mark H Weaver <mhw@netris.org>
To: bug-gdb@gnu.org
Subject: Manual contradicts itself regarding second command line argument
Date: Tue, 18 Jun 2019 00:06:00 -0000 [thread overview]
Message-ID: <87imt321yr.fsf@netris.org> (raw)
Section 2.1 of "Debugging with GDB" states:
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 section 2.1.1 states:
[...] 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.
They contradict each other regarding the order of the checks.
Mark
next reply other threads:[~2019-06-18 0:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-18 0:06 Mark H Weaver [this message]
2019-06-18 14:51 ` [PATCH] doc: fix false claim about second argument to gdb (was: Manual contradicts itself regarding second command line argument) Simon Marchi
2019-06-18 16:14 ` Eli Zaretskii
2019-06-18 16:40 ` [PATCH] doc: fix false claim about second argument to gdb Simon Marchi
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=87imt321yr.fsf@netris.org \
--to=mhw@netris.org \
--cc=bug-gdb@gnu.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