mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-06 15:38:45 +08:00
Include interps.h and mi/mi-cmds.h.
(decode_line_2): When using MI, always set all breakpoints in menu.
This commit is contained in:
@ -36,6 +36,8 @@
|
|||||||
#include "linespec.h"
|
#include "linespec.h"
|
||||||
#include "exceptions.h"
|
#include "exceptions.h"
|
||||||
#include "language.h"
|
#include "language.h"
|
||||||
|
#include "interps.h"
|
||||||
|
#include "mi/mi-cmds.h"
|
||||||
|
|
||||||
/* We share this one with symtab.c, but it is not exported widely. */
|
/* We share this one with symtab.c, but it is not exported widely. */
|
||||||
|
|
||||||
@ -524,7 +526,8 @@ See set/show multiple-symbol."));
|
|||||||
|
|
||||||
/* If select_mode is "all", then do not print the multiple-choice
|
/* If select_mode is "all", then do not print the multiple-choice
|
||||||
menu and act as if the user had chosen choice "1" (all). */
|
menu and act as if the user had chosen choice "1" (all). */
|
||||||
if (select_mode == multiple_symbols_all)
|
if (select_mode == multiple_symbols_all
|
||||||
|
|| ui_out_is_mi_like_p (interp_ui_out (top_level_interpreter ())))
|
||||||
args = "1";
|
args = "1";
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user