diff options
| author | Hui Zhu <teawater@gmail.com> | 2009-03-17 05:11:40 +0000 | 
|---|---|---|
| committer | Hui Zhu <teawater@gmail.com> | 2009-03-17 05:11:40 +0000 | 
| commit | 30c33a9f4b1132803f7f30fab64ad6b9da075d39 (patch) | |
| tree | 747d76d87816f1ed2f44adbb9a4a5f002f26f876 /gdb/python/python.c | |
| parent | eccbf555f3ce464cc9f9a7b84347ffa79181e9bb (diff) | |
| download | binutils-30c33a9f4b1132803f7f30fab64ad6b9da075d39.zip binutils-30c33a9f4b1132803f7f30fab64ad6b9da075d39.tar.gz binutils-30c33a9f4b1132803f7f30fab64ad6b9da075d39.tar.bz2  | |
	*stack.c: Include valprint.h.
	(disassemble_next_line): New enum.
	(show_disassemble_next_line): New function.  Show the current
	value of disassemble-next-line.
	(gdb_disassembly_stub_args): New struct for argument passing
	between function do_gdb_disassembly and function
	gdb_disassembly_stub.
	(gdb_disassembly_stub): New function.  Helper for
	gdb_disassembly.
	(do_gdb_disassembly): New function.  Use TRY_CATCH to catch
	the exception from the gdb_disassembly because it will be
	broken by filter sometime.
	(print_frame_info): If disassemble-next-line is set to auto
	or on and doesn't have the line debug messages for $pc,
	output the next instruction.
	If disassemble-next-line is set to on and there is line debug
	messages, output assembly codes for next line.
	(_initialize_stack): Make the "set disassemble-next-line"
	command an auto-boolean command.  Change its class to
	class_stack.  Place it in the top level set list.  Extend help
	to describe the auto mode.
Diffstat (limited to 'gdb/python/python.c')
0 files changed, 0 insertions, 0 deletions
