* gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
[deliverable/binutils-gdb.git] / gas / frags.c
index 1521d4bf0110056763144251cd21d8daba21f400..83625d7fbf608d357eac8c9093a9bfaa09376200 100644 (file)
@@ -262,6 +262,14 @@ frag_wane (register fragS *fragP)
   fragP->fr_var = 0;
 }
 \f
+/* Return the number of bytes by which the current frag can be grown.  */
+
+int
+frag_room (void)
+{
+  return obstack_room (&frchain_now->frch_obstack);
+}
+\f
 /* Make an alignment frag.  The size of this frag will be adjusted to
    force the next frag to have the appropriate alignment.  ALIGNMENT
    is the power of two to which to align.  FILL_CHARACTER is the
This page took 0.030762 seconds and 4 git commands to generate.