old-cross-binutils/gdb/testsuite/gdb.python
Phil Muldoon f3e9a8177c 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
Tom Tromey  <tromey@redhat.com>
	    Thiago Jung Bauermann  <bauerman@br.ibm.com>

	* python/python.c (_initialize_python): Call
	gdbpy_initialize_symtabs, gdbpy_initialize_symbols and
	gdbpy_initialize_blocks.
	* python/python-internal.h: Declare struct symbol, block and
	symtab_and_line.  Declare block_object_type and
	symbol_object_type
	(gdbpy_lookup_symbol gdbpy_block_for_pc)
	(symtab_and_line_to_sal_object, symtab_to_symtab_object)
	(symbol_to_symbol_object,  block_to_block_object)
	(gdbpy_initialize_symtabs,gdbpy_initialize_symbols)
	(gdbpy_initialize_blocks ): Declare.
	* python/py-frame.c (frapy_block, frapy_function, frapy_find_sal)
	(frapy_select): Add methods.
	(frapy_read_var): Add symbol branch.
	* Makefile.in (SUBDIR_PYTHON_OBS): Add py-symbol, py-symtab,
	py-block.
	(SUBDIR_PYTHON_SRCS): Likewise.
	(py-symbol.o): New rule.
	(py-symtab.o): Likewise.
	(py-block.o): Likewise.
	* python/py-symbol.c: New file.
	* python/py-symtab.c: Likewise.
	* python/py-block.c: Likewise.


2010-02-24  Phil Muldoon  <pmuldoon@redhat.com>

	* Makefile.in: Add py-block and py-symbol.
	* gdb.python/py-symbol.exp: New File.
	* gdb.python/py-symtab.exp: New File.
	* gdb.python/py-block.exp: New File.
	* gdb.python/py-symbol.c: New File.
	* gdb.python/py-block.c: New File.


2010-02-24  Phil Muldoon  <pmuldoon@redhat.com>

	* gdb.texinfo (Frames In Python): Add block, find_sal, function
	and select method descriptions.
	(Python API): Add Blocks In Python, Symbols in Python and Symbol
	Tables in Python to menu.
	(Blocks In Python): New node.
	(Symbols In Python): New node.
	(Symbol Tables in Python): New node.
2010-02-24 21:18:28 +00:00
..
Makefile.in 2010-02-24 Phil Muldoon <pmuldoon@redhat.com> 2010-02-24 21:18:28 +00:00
py-block.c 2010-02-24 Phil Muldoon <pmuldoon@redhat.com> 2010-02-24 21:18:28 +00:00
py-block.exp 2010-02-24 Phil Muldoon <pmuldoon@redhat.com> 2010-02-24 21:18:28 +00:00
py-cmd.exp 2010-02-24 Phil Muldoon <pmuldoon@redhat.com> 2010-02-24 11:11:17 +00:00
py-frame.c Checking in this patch for Thiago: Rename python-* files into py-*, 2009-09-09 17:45:42 +00:00
py-frame.exp 2010-02-24 Phil Muldoon <pmuldoon@redhat.com> 2010-02-24 11:11:17 +00:00
py-function.exp 2010-02-24 Phil Muldoon <pmuldoon@redhat.com> 2010-02-24 11:11:17 +00:00
py-mi.exp 2010-01-13 Phil Muldoon <pmuldoon@redhat.com> 2010-01-14 08:03:37 +00:00
py-prettyprint.c 2010-01-13 Phil Muldoon <pmuldoon@redhat.com> 2010-01-14 08:03:37 +00:00
py-prettyprint.exp 2010-02-24 Phil Muldoon <pmuldoon@redhat.com> 2010-02-24 11:11:17 +00:00
py-prettyprint.py 2010-01-13 Phil Muldoon <pmuldoon@redhat.com> 2010-01-14 08:03:37 +00:00
py-symbol.c 2010-02-24 Phil Muldoon <pmuldoon@redhat.com> 2010-02-24 21:18:28 +00:00
py-symbol.exp 2010-02-24 Phil Muldoon <pmuldoon@redhat.com> 2010-02-24 21:18:28 +00:00
py-symtab.exp 2010-02-24 Phil Muldoon <pmuldoon@redhat.com> 2010-02-24 21:18:28 +00:00
py-template.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
py-template.exp 2010-02-24 Phil Muldoon <pmuldoon@redhat.com> 2010-02-24 11:11:17 +00:00
py-type.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
py-type.exp 2010-02-24 Phil Muldoon <pmuldoon@redhat.com> 2010-02-24 11:11:17 +00:00
py-value.c 2010-01-13 Phil Muldoon <pmuldoon@redhat.com> 2010-01-14 08:03:37 +00:00
py-value.exp 2010-02-24 Phil Muldoon <pmuldoon@redhat.com> 2010-02-24 11:11:17 +00:00
python.exp * gdb.python/source2.py: New file. 2010-01-18 06:31:24 +00:00
source1 * gdb.python/source2.py: New file. 2010-01-18 06:31:24 +00:00
source2.py * gdb.python/source2.py: New file. 2010-01-18 06:31:24 +00:00