home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / gdb-4.9 / gdb / vx-share / xdr_ld.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-12  |  796 b   |  46 lines

  1. /* xdr_ld.h - xdr for additional dbxWorks structures */
  2.  
  3. /*  Copyright 1992 Free Software Foundation, Inc.
  4.  
  5.     This code was donated by Wind River Systems, Inc. */
  6.  
  7. /*
  8. modification history
  9. --------------------
  10. 01a,05jun90,llk  extracted from xdr_dbx.h.
  11. */
  12.  
  13. #ifndef INCxdrldh
  14. #define INCxdrldh
  15.  
  16. #define MAXSTRLEN 256
  17. #define MAXTBLSZ 100
  18.  
  19. /*
  20.  * structure used to pass back the information for a single file
  21.  * loaded in VxWorks
  22.  */
  23. struct ldfile {
  24.     char     *name;
  25.     int     txt_addr;
  26.     int     data_addr;
  27.     int     bss_addr;
  28. };
  29. typedef struct ldfile ldfile;
  30.  
  31. /*
  32.  * structure used to return a list of all files loaded over to 
  33.  * VxWorks. (VX_STATE_INQ return)
  34.  */
  35. struct ldtabl {
  36.     u_int tbl_size;
  37.     ldfile *tbl_ent;
  38. };
  39. typedef struct ldtabl ldtabl;
  40.  
  41.  
  42. bool_t xdr_ldfile();
  43. bool_t xdr_ldtabl();
  44.  
  45. #endif    INCxdrldh
  46.