aboutsummaryrefslogtreecommitdiff
path: root/binutils/rcparse.y
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-04-16 08:13:03 +0000
committerNick Clifton <nickc@redhat.com>2002-04-16 08:13:03 +0000
commitea91f8bb52c9214712e01a62e0276700c95ba4df (patch)
treedd4af01991963be5fd9b18ee055374b184525783 /binutils/rcparse.y
parent091e58c11e06998ccc60faa7165266150a00b436 (diff)
downloadgdb-ea91f8bb52c9214712e01a62e0276700c95ba4df.zip
gdb-ea91f8bb52c9214712e01a62e0276700c95ba4df.tar.gz
gdb-ea91f8bb52c9214712e01a62e0276700c95ba4df.tar.bz2
Define MEMFLAGS_DISCARDABLE by default for dialogs.
Add a test for this.
Diffstat (limited to 'binutils/rcparse.y')
-rw-r--r--binutils/rcparse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/rcparse.y b/binutils/rcparse.y
index 24ef35c..5b3ffe3 100644
--- a/binutils/rcparse.y
+++ b/binutils/rcparse.y
@@ -1357,7 +1357,7 @@ suboptions:
memset (&$$, 0, sizeof (struct res_res_info));
$$.language = language;
/* FIXME: Is this the right default? */
- $$.memflags = MEMFLAG_MOVEABLE | MEMFLAG_PURE;
+ $$.memflags = MEMFLAG_MOVEABLE | MEMFLAG_PURE | MEMFLAG_DISCARDABLE;
}
| suboptions memflag
{
@@ -1406,7 +1406,7 @@ memflags_move:
{
memset (&$$, 0, sizeof (struct res_res_info));
$$.language = language;
- $$.memflags = MEMFLAG_MOVEABLE | MEMFLAG_PURE;
+ $$.memflags = MEMFLAG_MOVEABLE | MEMFLAG_PURE | MEMFLAG_DISCARDABLE;
}
| memflags_move memflag
{