From: Andrew Cagney <ac131313@redhat.com>
To: Michael Elizabeth Chastain <mec.gnu@mindspring.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [patch/rfc/testsuite] Test GDB on not-so-little core files
Date: Wed, 14 Jan 2004 14:48:00 -0000 [thread overview]
Message-ID: <400556CF.4050201@redhat.com> (raw)
In-Reply-To: <20040114031127.5AA524B104@berman.michael-chastain.com>
> First something trivial:
>
> likely that the variable will occure early in the core file (an
> ^^^^^^ typo
>
> I checked Single Unix Spec v3 on rlimit:
>
> http://www.opengroup.org/onlinepubs/007904975/functions/getrlimit.html
>
> There is an RLIMIT_AS which applies as well, so you might as well
> maximize that.
M'kay.
> 180 *(char*)0 = 0;
> (gdb) PASS: gdb.base/bigcore.exp: next
> print heap
> $1 = (struct list *) 0x77e4fff0
[...]
> (gdb) PASS: gdb.base/bigcore.exp: load corefile
> print heap
> $16 = (struct list *) 0x77fbffe0
> (gdb) FAIL: gdb.base/bigcore.exp: check heap (address 0x77e4fff0)
At first glance it looks like a bug in the HP/UX code, but I wonder.
Could the startup code be allocating an extra bit of memory leading to
that address being moved? Might need to tweak things so that the
program under GDB is the one that is made to dump core.
> testcase /house/chastain/gdb/s1/gdb/testsuite/gdb.base/bigcore.exp completed in 183 seconds
Yea, contrast that to my GNU/Linux box which manages:
> testcase src/gdb/testsuite/gdb.base/bigcore.exp completed in 4 seconds
Andrew
next prev parent reply other threads:[~2004-01-14 14:48 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-14 3:11 Michael Elizabeth Chastain
2004-01-14 14:48 ` Andrew Cagney [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-01-21 8:18 Michael Elizabeth Chastain
2004-01-21 4:42 Michael Elizabeth Chastain
2004-01-21 5:23 ` Andrew Cagney
2004-01-14 14:56 Michael Elizabeth Chastain
2004-01-14 15:07 ` Andrew Cagney
2004-01-14 15:16 ` Daniel Jacobowitz
2004-01-14 15:38 ` Andrew Cagney
2004-01-14 15:44 ` Daniel Jacobowitz
2004-01-15 19:09 ` Andrew Cagney
2004-01-15 19:13 ` Daniel Jacobowitz
2004-01-20 22:02 ` Andrew Cagney
2004-01-14 2: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=400556CF.4050201@redhat.com \
--to=ac131313@redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=mec.gnu@mindspring.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