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

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [binutils/] [objdump.h] - Blame information for rev 160

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 15 khays
/* objdump.h
2
   Copyright 2011 Free Software Foundation, Inc.
3
 
4
   This file is part of GNU Binutils.
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 3, or (at your option)
9
   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, 51 Franklin Street - Fifth Floor, Boston,
19
   MA 02110-1301, USA.  */
20
 
21
#include <stdio.h>
22
 
23
struct objdump_private_option
24
{
25
  /* Option name.  */
26
  const char *name;
27
 
28
  /* TRUE if the option is selected.  Automatically set and cleared by
29
     objdump.  */
30
  unsigned int selected;
31
};
32
 
33
struct objdump_private_desc
34
{
35
  /* Help displayed for --help.  */
36
  void (*help)(FILE *stream);
37
 
38
  /* Return TRUE if these options can be applied to ABFD.  */
39
  int (*filter)(bfd *abfd);
40
 
41
  /* Do the actual work: display whatever is requested according to the
42
     options whose SELECTED field is set.  */
43
  void (*dump)(bfd *abfd);
44
 
45
  /* List of options.  Terminated by a NULL name.  */
46
  struct objdump_private_option *options;
47
};
48
 
49
/* XCOFF specific target.  */
50
extern const struct objdump_private_desc objdump_private_desc_xcoff;

powered by: WebSVN 2.1.0

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