home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / D / GDB / GDB-4.13 / GDB-4 / gdb-4.13 / gdb / gdbserver / server.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-06-25  |  1.3 KB  |  49 lines

  1. /* Common definitions for remote server for GDB.
  2.    Copyright (C) 1993 Free Software Foundation, Inc.
  3.  
  4. This file is part of GDB.
  5.  
  6. This program is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2 of the License, or
  9. (at your option) any later version.
  10.  
  11. This program is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with this program; if not, write to the Free Software
  18. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. #include "defs.h"
  21. #include <setjmp.h>
  22.  
  23. void read_inferior_memory ();
  24. unsigned char mywait ();
  25. void myresume();
  26. int create_inferior ();
  27.  
  28. extern char registers[];
  29. int inferior_pid;
  30.  
  31. int remote_send ();
  32. int putpkt ();
  33. int getpkt ();
  34. void remote_open ();
  35. void write_ok ();
  36. void write_enn ();
  37. void convert_ascii_to_int ();
  38. void convert_int_to_ascii ();
  39. void prepare_resume_reply ();
  40. void decode_m_packet ();
  41. void decode_M_packet ();
  42.  
  43. jmp_buf toplevel;
  44.  
  45. void error ();
  46. void fatal ();
  47.  
  48. void perror_with_name ();
  49.