X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fcall-cmds.h;h=e98585b950545707b16f434adefec8d5875ce01c;hb=c5a570810022466eaa5e077cd1b8aa00d74706f1;hp=4c02004f0753daa635459be71bea5946273b1c70;hpb=5b64ad42d36e6d487e1f7287d37fbc243a178e72;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/call-cmds.h b/gdb/call-cmds.h index 4c02004f07..e98585b950 100644 --- a/gdb/call-cmds.h +++ b/gdb/call-cmds.h @@ -1,28 +1,34 @@ +/* ***DEPRECATED*** The gdblib files must not be calling/using things in any + of the possible command languages. If necessary, a hook (that may be + present or not) must be used and set to the appropriate routine by any + command language that cares about it. If you are having to include this + file you are possibly doing things the old way. This file will disapear. + 2000-12-01 fnasser@redhat.com */ + /* Prototypes for GDB commands that are called internally by other functions. - Copyright 1992 Free Software Foundation, Inc. + Copyright (C) 1992, 2000-2001, 2007-2012 Free Software Foundation, + Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the 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 of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifndef CALL_CMDS_H +#define CALL_CMDS_H -extern void -initialize_all_files PARAMS ((void)); +extern void initialize_all_files (void); -extern void -exec_file_command PARAMS ((char *, int)); +extern void core_file_command (char *, int); -extern void -core_file_command PARAMS ((char *, int)); +extern void break_command (char *, int); -extern void -break_command PARAMS ((char *, int)); +#endif