home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 9 / FreshFishVol9-CD2.bin / bbs / gnu / gdb-4.14-src.lha / gdb-4.14 / gdb / gdbserver / server.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-12-09  |  1.4 KB  |  53 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. extern int cont_thread;
  31. extern int general_thread;
  32. extern int thread_from_wait;
  33. extern int old_thread_from_wait;
  34.  
  35. int remote_send ();
  36. int putpkt ();
  37. int getpkt ();
  38. void remote_open ();
  39. void write_ok ();
  40. void write_enn ();
  41. void convert_ascii_to_int ();
  42. void convert_int_to_ascii ();
  43. void prepare_resume_reply ();
  44. void decode_m_packet ();
  45. void decode_M_packet ();
  46.  
  47. jmp_buf toplevel;
  48.  
  49. void error ();
  50. void fatal ();
  51.  
  52. void perror_with_name ();
  53.