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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [opcodes/] [dis-init.c] - Diff between revs 157 and 225

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 157 Rev 225
Line 1... Line 1...
/* Initialize "struct disassemble_info".
/* Initialize "struct disassemble_info".
 
 
   Copyright 2003, 2007 Free Software Foundation, Inc.
   Copyright 2003, 2005, 2007, 2008, 2009 Free Software Foundation, Inc.
 
 
   This file is part of the GNU opcodes library.
   This file is part of the GNU opcodes library.
 
 
   This library is free software; you can redistribute it and/or modify
   This library 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
Line 30... Line 30...
  memset (info, 0, sizeof (*info));
  memset (info, 0, sizeof (*info));
 
 
  info->flavour = bfd_target_unknown_flavour;
  info->flavour = bfd_target_unknown_flavour;
  info->arch = bfd_arch_unknown;
  info->arch = bfd_arch_unknown;
  info->endian = BFD_ENDIAN_UNKNOWN;
  info->endian = BFD_ENDIAN_UNKNOWN;
 
  info->endian_code = info->endian;
  info->octets_per_byte = 1;
  info->octets_per_byte = 1;
  info->fprintf_func = fprintf_func;
  info->fprintf_func = fprintf_func;
  info->stream = stream;
  info->stream = stream;
  info->read_memory_func = buffer_read_memory;
  info->read_memory_func = buffer_read_memory;
  info->memory_error_func = perror_memory;
  info->memory_error_func = perror_memory;

powered by: WebSVN 2.1.0

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