X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fcall-cmds.h;h=a65a94d75f7b6461981994b4df3d0e61f27daabf;hb=6e29ef6d2828415f5ee2d6e1690d13bc40a8d5d4;hp=40bf5d2f8ef7744f2cff81989c42843c9d890c7b;hpb=dc9e099fc0eced486ae2b49455c9da113c11f4ff;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/call-cmds.h b/gdb/call-cmds.h index 40bf5d2f8e..a65a94d75f 100644 --- a/gdb/call-cmds.h +++ b/gdb/call-cmds.h @@ -1,5 +1,12 @@ +/* ***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 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 @@ -13,17 +20,16 @@ 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. */ + Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, 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