• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Révisiona704a33515434f6d8e4e600b76b6af2324f53864 (tree)
l'heure2006-09-14 11:24:45
AuteurNick Roberts <nickrob@snap...>
CommiterNick Roberts

Message de Log

(mi_cmd_execute): Check for current_command_token.
(mi_interpreter_exec_bp_cmd): New function (from Apple).

Change Summary

Modification

--- a/gdb/mi/mi-main.c
+++ b/gdb/mi/mi-main.c
@@ -1320,7 +1320,7 @@ mi_cmd_execute (struct mi_parse *parse)
13201320
13211321 if (target_executing)
13221322 {
1323- if (!previous_command_token)
1323+ if (!previous_command_token && current_command_token)
13241324 previous_command_token = xstrdup (current_command_token);
13251325 if (strcmp (parse->command, "exec-interrupt"))
13261326 {
@@ -1388,7 +1388,6 @@ mi_execute_cli_command (const char *cmd, int args_p, const char *args)
13881388 }
13891389 }
13901390
1391-
13921391 enum mi_cmd_result
13931392 mi_execute_async_cli_command (char *mi, char *args, int from_tty)
13941393 {
@@ -1663,6 +1662,14 @@ _initialize_mi_main (void)
16631662
16641663 int mi_dont_register_continuation = 0;
16651664
1665+void
1666+mi_interpreter_exec_bp_cmd (char *command, char **argv, int argc)
1667+{
1668+ mi_dont_register_continuation = 1;
1669+ mi_cmd_interpreter_exec (command, argv, argc);
1670+ mi_dont_register_continuation = 0;
1671+}
1672+
16661673 /* mi_setup_continuation_arg - sets up a continuation structure
16671674 with the timer info and the command token, for use with
16681675 an asyncronous mi command. Will only cleanup the exec_cleanup