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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [gdb/] [or1k-tdep.c] - Diff between revs 120 and 149

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

Rev 120 Rev 149
Line 2156... Line 2156...
  for (i = 0; i < length; i++)
  for (i = 0; i < length; i++)
    print_data_struct (from + i, td[i]);
    print_data_struct (from + i, td[i]);
  fclose (f);
  fclose (f);
}
}
 
 
 
int print_insn_big_or32 (bfd_vma,struct disassemble_info*);
 
int print_insn_little_or32 (bfd_vma,struct disassemble_info*);
 
 
void
void
_initialize_or1k_tdep ()
_initialize_or1k_tdep ()
{
{
 
 
 
  /* Added by CZ 26/06/01 */
 
  if(TARGET_BYTE_ORDER == BIG_ENDIAN)
 
    tm_print_insn = print_insn_big_or32;
 
  else
 
    tm_print_insn = print_insn_little_or32;
 
 
  /* Commands to show and set sprs.  */
  /* Commands to show and set sprs.  */
  add_info ("spr", info_spr_command, "Show information about the spr registers.");
  add_info ("spr", info_spr_command, "Show information about the spr registers.");
  add_com ("spr", class_support, spr_command, "Set specified SPR register.");
  add_com ("spr", class_support, spr_command, "Set specified SPR register.");
 
 
  /* hwatch command.  */
  /* hwatch command.  */

powered by: WebSVN 2.1.0

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