From: Andrew Cagney <cagney@gnu.org>
To: Elena Zannoni <ezannoni@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA] gcore: ignore no protection segments
Date: Tue, 13 Jan 2004 18:46:00 -0000 [thread overview]
Message-ID: <40043CEB.1020108@gnu.org> (raw)
In-Reply-To: <16388.9214.960234.384619@localhost.redhat.com>
+
+ if (read == 0 && write == 0 && exec == 0)
+ {
+ if (info_verbose)
+ {
+ fprintf_filtered (gdb_stdout, "Ignore segment, %lld bytes at
0x%s\n",+ (long long) size, paddr_nz (vaddr));
+ }
+
+ return 0;
+ }
Makes sense. Suggest adding a few details in a comment, and
paddr_d(size) for the length.
Andrew
next prev parent reply other threads:[~2004-01-13 18:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-13 17:01 Elena Zannoni
2004-01-13 18:46 ` Andrew Cagney [this message]
2004-01-14 18:39 ` Elena Zannoni
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=40043CEB.1020108@gnu.org \
--to=cagney@gnu.org \
--cc=ezannoni@redhat.com \
--cc=gdb-patches@sources.redhat.com \
/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