aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-09-18 05:00:51 +0000
committerAndrew Cagney <cagney@redhat.com>2001-09-18 05:00:51 +0000
commit2b65245ef4e04dd3ab045f0207aee8efbfd0a8ae (patch)
tree2d052c339d58a13b51ef917b6e6c39ef4d65367d /gdb/mi
parentfed9891d87cdfed178e66e35779c22e44482ed31 (diff)
downloadgdb-2b65245ef4e04dd3ab045f0207aee8efbfd0a8ae.zip
gdb-2b65245ef4e04dd3ab045f0207aee8efbfd0a8ae.tar.gz
gdb-2b65245ef4e04dd3ab045f0207aee8efbfd0a8ae.tar.bz2
Add ui_out parameter to libgdb functions.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/ChangeLog9
-rw-r--r--gdb/mi/mi-cmd-break.c2
-rw-r--r--gdb/mi/mi-main.c4
3 files changed, 12 insertions, 3 deletions
diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog
index 5c73437..2bd27c3 100644
--- a/gdb/mi/ChangeLog
+++ b/gdb/mi/ChangeLog
@@ -1,3 +1,12 @@
+2001-09-18 Andrew Cagney <ac131313@redhat.com>
+
+ * mi-main.c (mi_cmd_thread_select): Pass uiout to
+ gdb_thread_select.
+ (mi_cmd_thread_list_ids): Pass uiout to gdb_list_thread_ids.
+
+ * mi-cmd-break.c (breakpoint_notify): Pass uiout to
+ gdb_breakpoint_query.
+
2001-08-17 Keith Seitz <keiths@redhat.com>
* mi-cmd-var.c (varobj_update_one): Update call to
diff --git a/gdb/mi/mi-cmd-break.c b/gdb/mi/mi-cmd-break.c
index 916acfa..75e100f 100644
--- a/gdb/mi/mi-cmd-break.c
+++ b/gdb/mi/mi-cmd-break.c
@@ -44,7 +44,7 @@ enum
static void
breakpoint_notify (int b)
{
- gdb_breakpoint_query (b);
+ gdb_breakpoint_query (uiout, b);
}
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c
index 464e5bc..eac8835 100644
--- a/gdb/mi/mi-main.c
+++ b/gdb/mi/mi-main.c
@@ -230,7 +230,7 @@ mi_cmd_thread_select (char *command, char **argv, int argc)
return MI_CMD_ERROR;
}
else
- rc = gdb_thread_select (argv[0]);
+ rc = gdb_thread_select (uiout, argv[0]);
if (rc == GDB_RC_FAIL)
return MI_CMD_CAUGHT_ERROR;
@@ -251,7 +251,7 @@ mi_cmd_thread_list_ids (char *command, char **argv, int argc)
}
else
#ifdef UI_OUT
- rc = gdb_list_thread_ids ();
+ rc = gdb_list_thread_ids (uiout);
#endif
if (rc == GDB_RC_FAIL)