From: Andrew Cagney <cagney@gnu.org>
To: Paul Hilfinger <hilfingr@gnat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [PATCH] Test for double freeing in breakpoint_re_set_one
Date: Thu, 29 Jan 2004 14:06:00 -0000 [thread overview]
Message-ID: <4019127B.5000104@gnu.org> (raw)
In-Reply-To: <20040129111605.AAD2BF2EBD@nile.gnat.com>
> Per Andrew's request, I have added the following test to the testsuite
> in gdb.base. This particular problem, since it involves memory corruption,
> won't reliably show itself (i.e., on earlier versions of GDB) unless one
> is "lucky" enough to have it cause a segmentation fault or one is using
> a checked version of malloc/free in GDB. I will leave to others Andrew's
> question concerning file descriptors on IDT/SIM.
Just FYI, I did some digging. The IDT/SIM problem would have been on
cygwin. The simulators would hold open the executable making the
instalation of a new one impossible. Since the simulators now close the
bfd cache (releasing the executable) that specific problem will no
longer occure. However, I think GDB still keeps the executable open
leading to the second of the problems.
Andrew
prev parent reply other threads:[~2004-01-29 14:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-13 10:06 [RFA] breakpoint.c: Avoid " Paul Hilfinger
2004-01-28 1:36 ` Andrew Cagney
2004-01-28 1:44 ` Andrew Cagney
2004-01-28 12:30 ` Paul Hilfinger
2004-01-28 20:33 ` Andrew Cagney
2004-01-28 21:42 ` Paul Hilfinger
2004-01-29 11:16 ` [PATCH] Test for " Paul Hilfinger
2004-01-29 14:06 ` Andrew Cagney [this message]
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=4019127B.5000104@gnu.org \
--to=cagney@gnu.org \
--cc=gdb-patches@sources.redhat.com \
--cc=hilfingr@gnat.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