diff options
author | David Edelsohn <dje.gcc@gmail.com> | 1997-08-14 20:07:56 +0000 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 1997-08-14 20:07:56 +0000 |
commit | bf008f985271c3de41d961aca521304926d3e00c (patch) | |
tree | a414b8943ec59ee1e2ee9fbb02b0260de7514778 /include/callback.h | |
parent | a5120a7e539853b0851dac8dc571a4e1c7ddd8bd (diff) | |
download | gdb-bf008f985271c3de41d961aca521304926d3e00c.zip gdb-bf008f985271c3de41d961aca521304926d3e00c.tar.gz gdb-bf008f985271c3de41d961aca521304926d3e00c.tar.bz2 |
Undo last change, add comment saying why I think I was wrong.
Diffstat (limited to 'include/callback.h')
-rw-r--r-- | include/callback.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/include/callback.h b/include/callback.h index 1a2ba71..4e3c9ef 100644 --- a/include/callback.h +++ b/include/callback.h @@ -17,6 +17,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. */ +/* ??? This interface isn't intended to be specific to any particular kind + of remote (hardware, simulator, whatever). However, at the present + time it is only used by the simulators. At some point this should be + an entity onto itself. For example, it's wrong that the definitions of the + functions host_to_target_errno, target_to_host_open live in the simulator + sources. It would also be wrong for such functions to live in gdb + sources. Until such time perhaps it would be best to avoid adding + prototypes of functions (and thus expanding the definition of the + interface). */ + #ifndef CALLBACK_H #define CALLBACK_H @@ -106,8 +116,4 @@ extern target_defs_map open_map[]; extern int host_to_target_errno PARAMS ((int)); extern int target_to_host_open PARAMS ((int)); -/* Cover functions to the vprintf callbacks. */ -extern void cb_printf PARAMS ((host_callback *, const char *, ...)); -extern void cb_eprintf PARAMS ((host_callback *, const char *, ...)); - #endif |