This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix python gdb.execute to not paginate


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> +2010-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
Jan> +
Jan> +	* defs.h (make_cleanup_restore_uinteger, make_cleanup_restore_ui_file)
Jan> +	(make_cleanup_restore_page_info)
Jan> +	(set_batch_flag_and_make_cleanup_restore_page_info): New declarations.
Jan> +	* gdbcmd.h (execute_command_to_string): New declaration.
Jan> +	* python/python.c (struct restore_ui_file_closure, restore_ui_file)
Jan> +	(make_cleanup_restore_ui_file): Move to utils.c
Jan> +	(execute_gdb_command) <to_string>: Move ...
Jan> +	* top.c (execute_command_to_string): ... here.  Call
Jan> +	set_batch_flag_and_make_cleanup_restore_page_info.
Jan> +	* utils.c (make_cleanup_restore_integer): New source file blank line.
Jan> +	(make_cleanup_restore_uinteger): New.
Jan> +	(struct restore_ui_file_closure, do_restore_ui_file)
Jan> +	(make_cleanup_restore_ui_file): Move here from python/python.c.
Jan> +	(init_page_info) <batch_flag>
Jan> +	(do_restore_page_info_cleanup, make_cleanup_restore_page_info)
Jan> +	(set_batch_flag_and_make_cleanup_restore_page_info): New.

I think this should go on the 7.2 branch as well.
It fixes a pretty serious bug in a feature that is new to 7.2.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]