Jan Kratochvil
5da1313be2
gdb/
* defs.h (make_cleanup_restore_uinteger, make_cleanup_restore_ui_file)
(make_cleanup_restore_page_info)
(set_batch_flag_and_make_cleanup_restore_page_info): New declarations.
* gdbcmd.h (execute_command_to_string): New declaration.
* python/python.c (struct restore_ui_file_closure, restore_ui_file)
(make_cleanup_restore_ui_file): Move to utils.c
(execute_gdb_command) <to_string>: Move ...
* top.c (execute_command_to_string): ... here. Call
set_batch_flag_and_make_cleanup_restore_page_info.
* utils.c (make_cleanup_restore_integer): New source file blank line.
(make_cleanup_restore_uinteger): New.
(struct restore_ui_file_closure, do_restore_ui_file)
(make_cleanup_restore_ui_file): Move here from python/python.c.
(init_page_info) <batch_flag>
(do_restore_page_info_cleanup, make_cleanup_restore_page_info)
(set_batch_flag_and_make_cleanup_restore_page_info): New.
gdb/testsuite/
* gdb.python/python.exp (show height, set height 10)
(verify pagination beforehand, verify pagination beforehand: q)
(gdb.execute does not page, verify pagination afterwards)
(verify pagination afterwards: q): New.
gdb/doc/
* gdb.texinfo (Mode Options) <-batch>
(Basic Python) <gdb.execute>: Describe setting width and height.
2010-08-07 15:00:39 +00:00
..
2010-05-17 21:23:25 +00:00
2010-05-17 21:23:25 +00:00
2010-07-01 10:36:12 +00:00
2010-05-25 15:27:17 +00:00
2010-06-28 21:16:04 +00:00
2010-05-17 21:23:25 +00:00
2010-06-28 21:16:04 +00:00
2010-06-28 21:16:04 +00:00
2010-05-17 21:23:25 +00:00
2010-05-17 21:23:25 +00:00
2010-05-17 21:23:25 +00:00
2010-07-09 20:29:56 +00:00
2010-05-17 21:23:25 +00:00
2010-02-24 21:18:28 +00:00
2010-05-17 21:23:25 +00:00
2010-07-28 20:50:17 +00:00
2010-06-28 21:16:04 +00:00
2010-07-27 12:40:42 +00:00
2010-07-08 22:12:44 +00:00
2010-07-06 19:03:12 +00:00
2010-08-07 15:00:39 +00:00
2010-06-11 15:36:10 +00:00