[Bug gdb/21606] New: Python: gdb.SYMBOL_FUNCTIONS_DOMAIN misspelled in documentation

evaned at gmail dot com sourceware-bugzilla@sourceware.org
Fri Jun 16 20:34:00 GMT 2017


https://sourceware.org/bugzilla/show_bug.cgi?id=21606

            Bug ID: 21606
           Summary: Python: gdb.SYMBOL_FUNCTIONS_DOMAIN misspelled in
                    documentation
           Product: gdb
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: evaned at gmail dot com
  Target Milestone: ---

https://sourceware.org/gdb/current/onlinedocs/gdb/Symbols-In-Python.html#Symbols-In-Python

That page documents "gdb.SYMBOL_FUNCTION_DOMAIN", but it's FUNCTION*S* rather
than FUNCTION. FUNCTIONS is correct on my 7.11 installation, but from a quick
grep of the 8.0 source, it doesn't seem to have changed names or had the docs
corrected.

Some of the documentation appears to be correct, and some is not:

$ grep -R SYMBOL_FUNCTIONS_DOMAIN
gdb/doc/python.texi:@vindex SYMBOL_FUNCTIONS_DOMAIN
gdb/guile/lib/gdb.scm: SYMBOL_FUNCTIONS_DOMAIN
gdb/python/py-symbol.c:      || PyModule_AddIntConstant (gdb_module,
"SYMBOL_FUNCTIONS_DOMAIN",

$ grep -R SYMBOL_FUNCTION_DOMAIN 
gdb/doc/python.texi:@item gdb.SYMBOL_FUNCTION_DOMAIN
gdb/doc/guile.texi:@item SYMBOL_FUNCTION_DOMAIN
gdb/doc/gdb.info-4:'gdb.SYMBOL_FUNCTION_DOMAIN'
gdb/doc/gdb.info-4:'SYMBOL_FUNCTION_DOMAIN'

(That's in gdb-8.0.tar.xz)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list