mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
PR python/12027:
* python/python-internal.h (frame_object_type): Declare. * python/py-symbol.c (sympy_needs_frame): New function. (sympy_value): New function. (symbol_object_getset): Add "needs_frame". (symbol_object_methods): Add "value". * python/py-frame.c (frame_object_type): No longer static. gdb/doc * gdb.texinfo (Symbols In Python): Document Symbol.needs_frame and Symbol.value. gdb/testsuite * gdb.python/py-symbol.exp: Test Symbol.needs_frame and Symbol.value. * gdb.python/py-symbol.c (qq): Set default value.
This commit is contained in:
@ -35,7 +35,7 @@ class SimpleClass
|
||||
};
|
||||
#endif
|
||||
|
||||
int qq; /* line of qq */
|
||||
int qq = 72; /* line of qq */
|
||||
|
||||
int func (int arg)
|
||||
{
|
||||
|
Reference in New Issue
Block a user