[PATCH v2 7/7] Fortran: Document scope operator.

Pawel Wodkowski
2018-11-19T21:40:26Z

From: Bernhard Heckel <bernhard.heckel@intel.com>

Document scope operator in GDB manual.

2016-08-10 Bernhard Heckel <bernhard.heckel@intel.com>

gdb/Changelog:
* doc/gdb.texinfo (Fortran Operators): Describe scope operator.

Changes from V1 to V2:
refactored entry in texinfo file, updated commit message.
---
gdb/doc/gdb.texinfo | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 944a2c438373..5eb3d6abfee5 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -15882,6 +15882,10 @@ The access component operator. Normally used to access elements in derived
types. Also suitable for unions. As unions aren't part of regular Fortran,
this can only happen when accessing a register that uses a gdbarch-defined
union type.
+@item ::
+The scope operator. Normally used to access variables in modules or
+to set breakpoints on subroutines nested in modules or in other
+subroutines (internal subroutines).
@end table

@node Fortran Defaults
--
2.7.4