From: Michael Elizabeth Chastain <chastain@cygnus.com>
To: eliz@is.elta.co.il
Cc: gdb-patches@sourceware.cygnus.com
Subject: Re: [RFA] "maint print psymbols" with large section tables
Date: Thu, 01 Mar 2001 12:44:00 -0000 [thread overview]
Message-ID: <200103012044.MAA12224@bosch.cygnus.com> (raw)
Eli Zaretskii writes:
> It doesn't have the zeo entries.
That's true. I don't think it needs the zero entries, because all
the non-zero entries have index numbers.
My use case is:
Sun Ultrasparc 60
Solaris 2.6 native
target program with 945 sections (namely, gdb itself)
gdb built with SECT_OFF_MAX=1024, MAX_SECTIONS=1024
(gdb) break main
(gdb) run
(gdb) maint print psymbols xx.psym
"maint print psymbols" takes 23 seconds to execute and produces a 7.1
megabyte output file. 74% of that output file is the zero entries in
section offset tables.
On a slower machine (400 MHz Intel PII) with bigger section tables (2048
lines), "maint print psymbols" takes so long to run that gdb.base/maint.exp
times out and fails.
> I'm not opposed to the change in the format of the output. My
> reservations were only about omitting part of the symbol entries.
You mean section table entries -- I'm not touching symbols at all.
Michael
next reply other threads:[~2001-03-01 12:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-01 12:44 Michael Elizabeth Chastain [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-02-28 13:48 Michael Elizabeth Chastain
2001-03-01 0:47 ` Eli Zaretskii
2001-03-01 7:40 ` Andrew Cagney
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=200103012044.MAA12224@bosch.cygnus.com \
--to=chastain@cygnus.com \
--cc=eliz@is.elta.co.il \
--cc=gdb-patches@sourceware.cygnus.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