OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [include/] [vms/] [dst.h] - Diff between revs 227 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 227 Rev 816
/* Alpha VMS external format of Debug Symbol Table.
/* Alpha VMS external format of Debug Symbol Table.
 
 
   Copyright 2010 Free Software Foundation, Inc.
   Copyright 2010 Free Software Foundation, Inc.
   Written by Tristan Gingold <gingold@adacore.com>, AdaCore.
   Written by Tristan Gingold <gingold@adacore.com>, AdaCore.
 
 
   This file is part of BFD, the Binary File Descriptor library.
   This file is part of BFD, the Binary File Descriptor library.
 
 
   This program is free software; you can redistribute it and/or modify
   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
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 3 of the License, or
   the Free Software Foundation; either version 3 of the License, or
   (at your option) any later version.
   (at your option) any later version.
 
 
   This program is distributed in the hope that it will be useful,
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
   GNU General Public License for more details.
 
 
   You should have received a copy of the GNU General Public License
   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   along with this program; if not, write to the Free Software
   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
   MA 02110-1301, USA.  */
   MA 02110-1301, USA.  */
 
 
#ifndef _VMS_DST_H
#ifndef _VMS_DST_H
#define _VMS_DST_H
#define _VMS_DST_H
 
 
/* Also available in vms freeware v5.0 debug/alpha_dstrecrds.sdl.  */
/* Also available in vms freeware v5.0 debug/alpha_dstrecrds.sdl.  */
 
 
struct vms_dst_header
struct vms_dst_header
{
{
  /* Length.  */
  /* Length.  */
  unsigned char length[2];
  unsigned char length[2];
 
 
  /* Type.  */
  /* Type.  */
  unsigned char type[2];
  unsigned char type[2];
};
};
 
 
/* Beginning of module.  */
/* Beginning of module.  */
#define DST__K_MODBEG 188
#define DST__K_MODBEG 188
 
 
/* Some well known languages.  */
/* Some well known languages.  */
#define DST__K_MACRO 0
#define DST__K_MACRO 0
#define DST__K_BLISS 2
#define DST__K_BLISS 2
#define DST__K_C 7
#define DST__K_C 7
#define DST__K_ADA 9
#define DST__K_ADA 9
 
 
struct vms_dst_modbeg
struct vms_dst_modbeg
{
{
  unsigned char flags;
  unsigned char flags;
  unsigned char unused;
  unsigned char unused;
  unsigned char language[4];
  unsigned char language[4];
  unsigned char major[2];
  unsigned char major[2];
  unsigned char minor[2];
  unsigned char minor[2];
  /* Module name ASCIC.  */
  /* Module name ASCIC.  */
  /* Ident name ASCIC.  */
  /* Ident name ASCIC.  */
};
};
 
 
/* Routine begin.  */
/* Routine begin.  */
#define DST__K_RTNBEG 190
#define DST__K_RTNBEG 190
 
 
struct vms_dst_rtnbeg
struct vms_dst_rtnbeg
{
{
  unsigned char flags;
  unsigned char flags;
 
 
  /* Address of the code.  */
  /* Address of the code.  */
  unsigned char address[4];
  unsigned char address[4];
 
 
  /* Procedure descriptor address.  */
  /* Procedure descriptor address.  */
  unsigned char pd_address[4];
  unsigned char pd_address[4];
 
 
  /* Name: ASCIC  */
  /* Name: ASCIC  */
};
};
 
 
/* Line number.  */
/* Line number.  */
#define DST__K_LINE_NUM 185
#define DST__K_LINE_NUM 185
 
 
struct vms_dst_pcline
struct vms_dst_pcline
{
{
  unsigned char pcline_command;
  unsigned char pcline_command;
  unsigned char field[4];
  unsigned char field[4];
};
};
 
 
#define DST__K_DELTA_PC_W 1
#define DST__K_DELTA_PC_W 1
#define DST__K_INCR_LINUM 2
#define DST__K_INCR_LINUM 2
#define DST__K_INCR_LINUM_W 3
#define DST__K_INCR_LINUM_W 3
#define DST__K_SET_LINUM  9
#define DST__K_SET_LINUM  9
#define DST__K_SET_LINUM_B 19
#define DST__K_SET_LINUM_B 19
#define DST__K_SET_LINUM_L 20
#define DST__K_SET_LINUM_L 20
#define DST__K_TERM 14
#define DST__K_TERM 14
#define DST__K_SET_ABS_PC 16
#define DST__K_SET_ABS_PC 16
#define DST__K_DELTA_PC_L 17
#define DST__K_DELTA_PC_L 17
 
 
/* Routine end.  */
/* Routine end.  */
#define DST__K_RTNEND 191
#define DST__K_RTNEND 191
 
 
struct vms_dst_rtnend
struct vms_dst_rtnend
{
{
  unsigned char unused;
  unsigned char unused;
  unsigned char size[4];
  unsigned char size[4];
};
};
 
 
/* Prologue.  */
/* Prologue.  */
#define DST__K_PROLOG 162
#define DST__K_PROLOG 162
 
 
struct vms_dst_prolog
struct vms_dst_prolog
{
{
  unsigned char bkpt_addr[4];
  unsigned char bkpt_addr[4];
};
};
 
 
/* Epilog.  */
/* Epilog.  */
#define DST__K_EPILOG 127
#define DST__K_EPILOG 127
 
 
struct vms_dst_epilog
struct vms_dst_epilog
{
{
  unsigned char flags;
  unsigned char flags;
  unsigned char count[4];
  unsigned char count[4];
};
};
 
 
/* Module end.  */
/* Module end.  */
#define DST__K_MODEND 189
#define DST__K_MODEND 189
 
 
/* Block begin.  */
/* Block begin.  */
#define DST__K_BLKBEG 176
#define DST__K_BLKBEG 176
 
 
struct vms_dst_blkbeg
struct vms_dst_blkbeg
{
{
  unsigned char unused;
  unsigned char unused;
  unsigned char address[4];
  unsigned char address[4];
  /* Name ASCIC.  */
  /* Name ASCIC.  */
};
};
 
 
/* Block end.  */
/* Block end.  */
#define DST__K_BLKEND 177
#define DST__K_BLKEND 177
 
 
struct vms_dst_blkend
struct vms_dst_blkend
{
{
  unsigned char unused;
  unsigned char unused;
  unsigned char size[4];
  unsigned char size[4];
};
};
 
 
/* Source correlation.  */
/* Source correlation.  */
#define DST__K_SOURCE 155
#define DST__K_SOURCE 155
 
 
#define DST__K_SRC_DECLFILE    1
#define DST__K_SRC_DECLFILE    1
#define DST__K_SRC_SETFILE     2
#define DST__K_SRC_SETFILE     2
#define DST__K_SRC_SETREC_L    3
#define DST__K_SRC_SETREC_L    3
#define DST__K_SRC_SETREC_W    4
#define DST__K_SRC_SETREC_W    4
#define DST__K_SRC_SETLNUM_L   5
#define DST__K_SRC_SETLNUM_L   5
#define DST__K_SRC_SETLNUM_W   6
#define DST__K_SRC_SETLNUM_W   6
#define DST__K_SRC_DEFLINES_W 10
#define DST__K_SRC_DEFLINES_W 10
#define DST__K_SRC_DEFLINES_B 11
#define DST__K_SRC_DEFLINES_B 11
#define DST__K_SRC_FORMFEED   16
#define DST__K_SRC_FORMFEED   16
 
 
struct vms_dst_src_decl_src
struct vms_dst_src_decl_src
{
{
  unsigned char length;
  unsigned char length;
  unsigned char flags;
  unsigned char flags;
  unsigned char fileid[2];
  unsigned char fileid[2];
  unsigned char rms_cdt[8];
  unsigned char rms_cdt[8];
  unsigned char rms_ebk[4];
  unsigned char rms_ebk[4];
  unsigned char rms_ffb[2];
  unsigned char rms_ffb[2];
  unsigned char rms_rfo;
  unsigned char rms_rfo;
  /* Filename ASCIC.  */
  /* Filename ASCIC.  */
};
};
 
 
#endif /* _VMS_DST_H */
#endif /* _VMS_DST_H */
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.