This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Make gdb_in_secondary_prompt_p() be per UI
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Tue, 21 Jun 2016 08:26:12 -0400
- Subject: [binutils-gdb] Make gdb_in_secondary_prompt_p() be per UI
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT dbf30ca3f5fec91671b37592f1a6644a2c36f67a ***
Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: dbf30ca3f5fec91671b37592f1a6644a2c36f67a
Make gdb_in_secondary_prompt_p() be per UI
gdb/ChangeLog:
2016-06-21 Pedro Alves <palves@redhat.com>
* top.c (gdb_secondary_prompt_depth): Delete.
(gdb_in_secondary_prompt_p): Add ui parameter. Use it.
(gdb_readline_wrapper_cleanup, gdb_readline_wrapper): Adjust to
per-UI gdb_secondary_prompt_depth.
* top.h (struct ui) <secondary_prompt_depth>: New field.