utils.c

来自「树大根深三棱尽所标杆ssfsfsa fdsafs」· C语言 代码 · 共 48 行

C
48
字号
/* General utility routines for the remote server for GDB.   Copyright (C) 1986, 1989, 1993 Free Software Foundation, Inc.This file is part of GDB.This program is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2 of the License, or(at your option) any later version.This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with this program; if not, write to the Free SoftwareFoundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */#include "server.h"#include <stdio.h>/* Print an error message and return to command level.   STRING is the error message, used as a fprintf string,   and ARG is passed as an argument to it.  */voiderror (string, arg1, arg2, arg3)     char *string;     int arg1, arg2, arg3;{  longjmp(toplevel, 1);}#if 0/* Print an error message and exit reporting failure.   This is for a error that we cannot continue from.   STRING and ARG are passed to fprintf.  */voidfatal (string, arg)     char *string;     int arg;{  exit (1);}#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?