亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? cli-script.c

?? 這個是LINUX下的GDB調度工具的源碼
?? C
?? 第 1 頁 / 共 3 頁
字號:
	  ret = recurse_read_control_structure (next);	  control_level--;	  if (ret != simple_control)	    break;	}    }  dont_repeat ();  return ret;}/* Read lines from the input stream and accumulate them in a chain of   struct command_line's, which is then returned.  For input from a   terminal, the special command "end" is used to mark the end of the   input, and is not included in the returned chain of commands. */#define END_MESSAGE "End with a line saying just \"end\"."struct command_line *read_command_lines (char *prompt_arg, int from_tty){  struct command_line *head, *tail, *next;  struct cleanup *old_chain;  enum command_control_type ret;  enum misc_command_type val;  control_level = 0;  if (deprecated_readline_begin_hook)    {      /* Note - intentional to merge messages with no newline */      (*deprecated_readline_begin_hook) ("%s  %s\n", prompt_arg, END_MESSAGE);    }  else if (from_tty && input_from_terminal_p ())    {      printf_unfiltered ("%s\n%s\n", prompt_arg, END_MESSAGE);      gdb_flush (gdb_stdout);    }  head = tail = NULL;  old_chain = NULL;  while (1)    {      val = read_next_line (&next);      /* Ignore blank lines or comments.  */      if (val == nop_command)	continue;      if (val == end_command)	{	  ret = simple_control;	  break;	}      if (val != ok_command)	{	  ret = invalid_control;	  break;	}      if (next->control_type == while_control	  || next->control_type == if_control)	{	  control_level++;	  ret = recurse_read_control_structure (next);	  control_level--;	  if (ret == invalid_control)	    break;	}      if (tail)	{	  tail->next = next;	}      else	{	  head = next;	  old_chain = make_cleanup_free_command_lines (&head);	}      tail = next;    }  dont_repeat ();  if (head)    {      if (ret != invalid_control)	{	  discard_cleanups (old_chain);	}      else	do_cleanups (old_chain);    }  if (deprecated_readline_end_hook)    {      (*deprecated_readline_end_hook) ();    }  return (head);}/* Free a chain of struct command_line's.  */voidfree_command_lines (struct command_line **lptr){  struct command_line *l = *lptr;  struct command_line *next;  struct command_line **blist;  int i;  while (l)    {      if (l->body_count > 0)	{	  blist = l->body_list;	  for (i = 0; i < l->body_count; i++, blist++)	    free_command_lines (blist);	}      next = l->next;      xfree (l->line);      xfree (l);      l = next;    }  *lptr = NULL;}static voiddo_free_command_lines_cleanup (void *arg){  free_command_lines (arg);}struct cleanup *make_cleanup_free_command_lines (struct command_line **arg){  return make_cleanup (do_free_command_lines_cleanup, arg);}struct command_line *copy_command_lines (struct command_line *cmds){  struct command_line *result = NULL;  if (cmds)    {      result = (struct command_line *) xmalloc (sizeof (struct command_line));      result->next = copy_command_lines (cmds->next);      result->line = xstrdup (cmds->line);      result->control_type = cmds->control_type;      result->body_count = cmds->body_count;      if (cmds->body_count > 0)        {          int i;          result->body_list = (struct command_line **)            xmalloc (sizeof (struct command_line *) * cmds->body_count);          for (i = 0; i < cmds->body_count; i++)            result->body_list[i] = copy_command_lines (cmds->body_list[i]);        }      else        result->body_list = NULL;    }  return result;}static voidvalidate_comname (char *comname){  char *p;  if (comname == 0)    error_no_arg ("name of command to define");  p = comname;  while (*p)    {      if (!isalnum (*p) && *p != '-' && *p != '_')	error ("Junk in argument list: \"%s\"", p);      p++;    }}/* This is just a placeholder in the command data structures.  */static voiduser_defined_command (char *ignore, int from_tty){}voiddefine_command (char *comname, int from_tty){#define MAX_TMPBUF 128     enum cmd_hook_type    {      CMD_NO_HOOK = 0,      CMD_PRE_HOOK,      CMD_POST_HOOK    };  struct command_line *cmds;  struct cmd_list_element *c, *newc, *oldc, *hookc = 0;  char *tem = comname;  char *tem2;   char tmpbuf[MAX_TMPBUF];  int  hook_type      = CMD_NO_HOOK;  int  hook_name_size = 0;   #define	HOOK_STRING	"hook-"#define	HOOK_LEN 5#define HOOK_POST_STRING "hookpost-"#define HOOK_POST_LEN    9  validate_comname (comname);  /* Look it up, and verify that we got an exact match.  */  c = lookup_cmd (&tem, cmdlist, "", -1, 1);  if (c && strcmp (comname, c->name) != 0)    c = 0;  if (c)    {      int q;      if (c->class == class_user || c->class == class_alias)	q = query ("Redefine command \"%s\"? ", c->name);      else	q = query ("Really redefine built-in command \"%s\"? ", c->name);      if (!q)	error ("Command \"%s\" not redefined.", c->name);    }  /* If this new command is a hook, then mark the command which it     is hooking.  Note that we allow hooking `help' commands, so that     we can hook the `stop' pseudo-command.  */  if (!strncmp (comname, HOOK_STRING, HOOK_LEN))    {       hook_type      = CMD_PRE_HOOK;       hook_name_size = HOOK_LEN;    }  else if (!strncmp (comname, HOOK_POST_STRING, HOOK_POST_LEN))    {      hook_type      = CMD_POST_HOOK;      hook_name_size = HOOK_POST_LEN;    }     if (hook_type != CMD_NO_HOOK)    {      /* Look up cmd it hooks, and verify that we got an exact match.  */      tem = comname + hook_name_size;      hookc = lookup_cmd (&tem, cmdlist, "", -1, 0);      if (hookc && strcmp (comname + hook_name_size, hookc->name) != 0)	hookc = 0;      if (!hookc)	{	  warning ("Your new `%s' command does not hook any existing command.",		   comname);	  if (!query ("Proceed? "))	    error ("Not confirmed.");	}    }  comname = savestring (comname, strlen (comname));  /* If the rest of the commands will be case insensitive, this one     should behave in the same manner. */  for (tem = comname; *tem; tem++)    if (isupper (*tem))      *tem = tolower (*tem);  sprintf (tmpbuf, "Type commands for definition of \"%s\".", comname);  cmds = read_command_lines (tmpbuf, from_tty);  if (c && c->class == class_user)    free_command_lines (&c->user_commands);  newc = add_cmd (comname, class_user, user_defined_command,		  (c && c->class == class_user)		  ? c->doc : savestring ("User-defined.", 13), &cmdlist);  newc->user_commands = cmds;  /* If this new command is a hook, then mark both commands as being     tied.  */  if (hookc)    {      switch (hook_type)        {        case CMD_PRE_HOOK:          hookc->hook_pre  = newc;  /* Target gets hooked.  */          newc->hookee_pre = hookc; /* We are marked as hooking target cmd. */          break;        case CMD_POST_HOOK:          hookc->hook_post  = newc;  /* Target gets hooked.  */          newc->hookee_post = hookc; /* We are marked as hooking target cmd. */          break;        default:          /* Should never come here as hookc would be 0. */	  internal_error (__FILE__, __LINE__, "bad switch");        }    }}voiddocument_command (char *comname, int from_tty){  struct command_line *doclines;  struct cmd_list_element *c;  char *tem = comname;  char tmpbuf[128];  validate_comname (comname);  c = lookup_cmd (&tem, cmdlist, "", 0, 1);  if (c->class != class_user)    error ("Command \"%s\" is built-in.", comname);  sprintf (tmpbuf, "Type documentation for \"%s\".", comname);  doclines = read_command_lines (tmpbuf, from_tty);  if (c->doc)    xfree (c->doc);  {    struct command_line *cl1;    int len = 0;    for (cl1 = doclines; cl1; cl1 = cl1->next)      len += strlen (cl1->line) + 1;    c->doc = (char *) xmalloc (len + 1);    *c->doc = 0;    for (cl1 = doclines; cl1; cl1 = cl1->next)      {	strcat (c->doc, cl1->line);	if (cl1->next)	  strcat (c->doc, "\n");      }  }  free_command_lines (&doclines);}struct source_cleanup_lines_args{  int old_line;  char *old_file;  char *old_pre_error;  char *old_error_pre_print;};static voidsource_cleanup_lines (void *args){  struct source_cleanup_lines_args *p =  (struct source_cleanup_lines_args *) args;  source_line_number = p->old_line;  source_file_name = p->old_file;  source_pre_error = p->old_pre_error;  error_pre_print = p->old_error_pre_print;}static voiddo_fclose_cleanup (void *stream){  fclose (stream);}/* Used to implement source_command */voidscript_from_file (FILE *stream, char *file){  struct cleanup *old_cleanups;  struct source_cleanup_lines_args old_lines;  int needed_length;  if (stream == NULL)    {      internal_error (__FILE__, __LINE__, "called with NULL file pointer!");    }  old_cleanups = make_cleanup (do_fclose_cleanup, stream);  old_lines.old_line = source_line_number;  old_lines.old_file = source_file_name;  old_lines.old_pre_error = source_pre_error;  old_lines.old_error_pre_print = error_pre_print;  make_cleanup (source_cleanup_lines, &old_lines);  source_line_number = 0;  source_file_name = file;  source_pre_error = error_pre_print == NULL ? "" : error_pre_print;  source_pre_error = savestring (source_pre_error, strlen (source_pre_error));  make_cleanup (xfree, source_pre_error);  /* This will get set every time we read a line.  So it won't stay "" for     long.  */  error_pre_print = "";  needed_length = strlen (source_file_name) + strlen (source_pre_error) + 80;  if (source_error_allocated < needed_length)    {      source_error_allocated *= 2;      if (source_error_allocated < needed_length)	source_error_allocated = needed_length;      if (source_error == NULL)	source_error = xmalloc (source_error_allocated);      else	source_error = xrealloc (source_error, source_error_allocated);    }  read_command_file (stream);  do_cleanups (old_cleanups);}voidshow_user_1 (struct cmd_list_element *c, struct ui_file *stream){  struct command_line *cmdlines;  cmdlines = c->user_commands;  if (!cmdlines)    return;  fputs_filtered ("User command ", stream);  fputs_filtered (c->name, stream);  fputs_filtered (":\n", stream);  print_command_lines (uiout, cmdlines, 1);  fputs_filtered ("\n", stream);}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一级精品在线| 国产一区二区精品久久| 麻豆精品一区二区综合av| 国产精品自拍毛片| 欧美日韩国产综合一区二区| 久久久蜜桃精品| 亚洲第一在线综合网站| 成人av在线资源网站| 欧美一区二视频| 中文字幕精品一区| 日本不卡123| 在线观看一区日韩| 中文成人av在线| 国产在线一区观看| 欧美一区二区在线视频| 香港成人在线视频| 色欧美乱欧美15图片| 国产精品欧美久久久久一区二区| 日韩成人一级大片| 欧美主播一区二区三区美女| 国产精品国产三级国产普通话三级| 精品一区二区三区免费播放| 欧美一级免费大片| 亚洲va在线va天堂| 欧美伊人精品成人久久综合97 | 国产精品久久久久一区二区三区| 美国毛片一区二区三区| 欧美性大战久久| 国产又黄又大久久| 亚洲精品日韩综合观看成人91| 久久综合色鬼综合色| 欧美日韩一区久久| 欧美日韩中字一区| 欧美性感一类影片在线播放| 成人性生交大片免费看视频在线 | 欧美亚洲日本国产| 经典三级在线一区| 亚洲国产一二三| 亚洲chinese男男1069| 国产在线一区二区| 国产色产综合色产在线视频 | 五月天亚洲精品| 国产精品综合久久| 26uuu色噜噜精品一区二区| 亚洲三级理论片| 精品在线视频一区| 精品日韩成人av| 韩国成人福利片在线播放| www成人在线观看| 豆国产96在线|亚洲| 国产精品午夜在线观看| 91香蕉国产在线观看软件| 色偷偷88欧美精品久久久| 日本乱人伦aⅴ精品| 精品视频一区三区九区| 精品国免费一区二区三区| 亚洲免费在线观看视频| 国产精品欧美一区喷水| 国产精品成人一区二区三区夜夜夜| 国产精品一区在线| 欧美成人一区二区三区片免费| 亚洲国产精华液网站w| www.欧美日韩| 亚洲韩国一区二区三区| 日韩欧美在线影院| 成人午夜视频在线| 亚洲美女淫视频| 欧美一级生活片| 99精品国产视频| 日欧美一区二区| 国产亚洲精久久久久久| 一本一道综合狠狠老| 日本在线不卡视频一二三区| 久久精品人人做人人综合 | 久久精品视频免费| 91麻豆精品视频| 久久精品99国产精品| 日韩理论在线观看| 91麻豆精品国产91久久久久久 | 亚洲福利一区二区三区| 欧美mv和日韩mv国产网站| 91社区在线播放| 久久99国产精品久久99| 亚洲欧美乱综合| 久久女同精品一区二区| 欧美日韩一区二区三区免费看| 国产盗摄视频一区二区三区| 亚洲风情在线资源站| 中文字幕av一区二区三区高| 51精品秘密在线观看| 91麻豆国产在线观看| 国产一区二区调教| 日本不卡高清视频| 亚洲国产日韩a在线播放| 中文字幕不卡在线播放| 精品久久久久久久人人人人传媒| 欧美在线观看18| kk眼镜猥琐国模调教系列一区二区| 秋霞影院一区二区| 亚洲成人激情自拍| 一区二区三区 在线观看视频| 欧美激情资源网| 久久综合久久鬼色| 欧美大片一区二区| 91精品国产欧美一区二区| 欧美性一二三区| 91麻豆高清视频| 不卡视频一二三四| 丁香一区二区三区| 国产精品主播直播| 国产一区亚洲一区| 狠狠色综合日日| 国模一区二区三区白浆| 日本午夜精品视频在线观看| 亚洲国产乱码最新视频 | 91在线播放网址| 国产aⅴ综合色| 国产成人午夜高潮毛片| 国产综合色在线视频区| 黄色日韩三级电影| 国产不卡免费视频| 大美女一区二区三区| 国产成人8x视频一区二区| www.亚洲人| 91免费视频观看| 在线观看三级视频欧美| 日本丶国产丶欧美色综合| 日本乱码高清不卡字幕| 欧美日本一区二区在线观看| 欧美日韩情趣电影| 欧美猛男超大videosgay| 欧美精品一二三| 欧美电影免费观看高清完整版在线观看| 欧美一区二区福利在线| 精品国产露脸精彩对白| 国产区在线观看成人精品| 国产精品久久三区| 亚洲在线免费播放| 日本va欧美va瓶| 国产精品一区三区| 97精品久久久久中文字幕| 欧美怡红院视频| 精品国产一区二区三区四区四| 欧美精品一区二区久久久| 国产精品美女视频| 亚洲二区在线视频| 国产专区综合网| 91在线看国产| 在线综合视频播放| 久久噜噜亚洲综合| 亚洲欧美日韩中文播放| 奇米一区二区三区| 国产69精品一区二区亚洲孕妇| 91国产成人在线| 精品国产乱码久久久久久牛牛| 国产精品久久久久久久久久久免费看 | 成人欧美一区二区三区白人 | 亚洲精品国产高清久久伦理二区 | 亚洲午夜免费福利视频| 毛片一区二区三区| av不卡在线播放| 日韩欧美国产三级电影视频| 国产精品成人免费精品自在线观看| 亚洲成国产人片在线观看| 国产精品2024| 8v天堂国产在线一区二区| 国产精品区一区二区三区| 视频在线观看一区| kk眼镜猥琐国模调教系列一区二区| 欧美一区二区黄色| 一区二区三区免费观看| 国产丶欧美丶日本不卡视频| 欧美高清你懂得| 亚洲欧洲日韩女同| 国产在线精品视频| 4438x成人网最大色成网站| 一区在线观看视频| 国产原创一区二区三区| 91麻豆精品国产91久久久久久| 最新成人av在线| 国产高清亚洲一区| 正在播放一区二区| 亚洲国产va精品久久久不卡综合 | www国产成人免费观看视频 深夜成人网 | 国产精品国产三级国产普通话三级 | 精品视频免费在线| 国产精品久久久久影院老司| 国产乱淫av一区二区三区| 欧美一区二区三区思思人| 一区二区三区日韩| 91一区一区三区| 国产精品免费aⅴ片在线观看| 国产经典欧美精品| 欧美成人官网二区| 青草国产精品久久久久久| 欧美日韩国产综合一区二区| 亚洲国产日韩a在线播放性色| 色哟哟在线观看一区二区三区| 国产精品嫩草99a| 丁香天五香天堂综合|