tromey at sourceware dot org
2017-07-12 23:01:21 UTC
https://sourceware.org/bugzilla/show_bug.cgi?id=21765
Bug ID: 21765
Summary: gdb.SYMBOL_TYPES_DOMAIN leads to wrong behavior
Product: gdb
Version: unknown
Status: NEW
Severity: normal
Priority: P2
Component: python
Assignee: unassigned at sourceware dot org
Reporter: tromey at sourceware dot org
Target Milestone: ---
Python defines this:
|| PyModule_AddIntConstant (gdb_module, "SYMBOL_TYPES_DOMAIN",
TYPES_DOMAIN) < 0)
... however if this is actually passed to gdb.lookup_symbol
(as seemingly recommended in the docs), the result will not do
what the user might expect, as TYPES_DOMAIN isn't a constant
in domain_enum, but rather in search_domain.
This applies to SYMBOL_VARIABLES_DOMAIN and SYMBOL_FUNCTIONS_DOMAIN
as well.
Bug ID: 21765
Summary: gdb.SYMBOL_TYPES_DOMAIN leads to wrong behavior
Product: gdb
Version: unknown
Status: NEW
Severity: normal
Priority: P2
Component: python
Assignee: unassigned at sourceware dot org
Reporter: tromey at sourceware dot org
Target Milestone: ---
Python defines this:
|| PyModule_AddIntConstant (gdb_module, "SYMBOL_TYPES_DOMAIN",
TYPES_DOMAIN) < 0)
... however if this is actually passed to gdb.lookup_symbol
(as seemingly recommended in the docs), the result will not do
what the user might expect, as TYPES_DOMAIN isn't a constant
in domain_enum, but rather in search_domain.
This applies to SYMBOL_VARIABLES_DOMAIN and SYMBOL_FUNCTIONS_DOMAIN
as well.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are receiving this mail because:
You are on the CC list for the bug.