X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fcall-cmds.h;h=3d2cda103c83695cd53af9900ca59c5638abd36c;hb=b1acf338d3974d99af32899092989edeee7fbef4;hp=c96b7368a6950fa819d0a5d632d481af51f40014;hpb=d0352a18a504a4e7b761f6b3264cf11347d8d056;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/call-cmds.h b/gdb/call-cmds.h index c96b7368a6..3d2cda103c 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 1992, 2000, 2001 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 @@ -16,10 +23,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -extern void initialize_all_files (void); +#ifndef CALL_CMDS_H +#define CALL_CMDS_H -extern void exec_file_command (char *, int); +extern void initialize_all_files (void); extern void core_file_command (char *, int); extern void break_command (char *, int); + +#endif