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;
|