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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [gdb/] [or1k-tdep.c] - Diff between revs 119 and 120

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

Rev 119 Rev 120
Line 98... Line 98...
  "PICMR", "PICPR",
  "PICMR", "PICPR",
 
 
  /* group 10 - tick timer */
  /* group 10 - tick timer */
  "TTMR", "TTCR",
  "TTMR", "TTCR",
 
 
  /* group 11 - configureation */
  /* group 11 - configuration */
  "CPUCFGR", "DMMUCFGR", "IMMUCFGR", "DCCFGR", "ICCFGR", "SPR11_5", "DCFGR", "PCCFGR"
  "CPUCFGR", "DMMUCFGR", "IMMUCFGR", "DCCFGR", "ICCFGR", "SPR11_5", "DCFGR", "PCCFGR"
};
};
 
 
static char *or1k_gdb_reg_names[] = {
static char *or1k_gdb_reg_names[] = {
 
 
Line 1875... Line 1875...
  unsigned int recdata = 0;
  unsigned int recdata = 0;
  char *c;
  char *c;
 
 
  if (args == '\0')
  if (args == '\0')
    error ( "Please specify data to record, e.g.:\n"
    error ( "Please specify data to record, e.g.:\n"
            "htrace record PC WRITESPR SDATA when $SEA == 100\n"
            "htrace record PC SDATA when $SEA == 100\n"
            "htrace record when $SEA == 100 to remove record");
            "htrace record when $SEA == 100 to remove record");
 
 
  for (i = 0; *args != '\0' && strncasecmp ("when ", args, 5); i++)
  for (i = 0; *args != '\0' && strncasecmp ("when ", args, 5); i++)
    {
    {
      int j, found = 0;
      int j, found = 0;
Line 2170... Line 2170...
Example: ($LEA == my_var)&&($LDATA < 50)||($SEA == my_var)&&($SDATA >= 50).\n\
Example: ($LEA == my_var)&&($LDATA < 50)||($SEA == my_var)&&($SDATA >= 50).\n\
See OR1k Architecture document for more info.");
See OR1k Architecture document for more info.");
 
 
  /* htrace commands.  */
  /* htrace commands.  */
  add_prefix_cmd ("htrace", class_breakpoint, htrace_command,
  add_prefix_cmd ("htrace", class_breakpoint, htrace_command,
                  "Set hardware trace.\nExamples:\n"
                  "Group of commands for handling hardware assisted trace\n\n"
                  "  htrace info\n"
 
                  "  htrace trigger <expr>\n"
 
                  "  htrace qualifier <expr>\n"
 
                  "  htrace stop <expr>\n"
 
                  "  htrace record <data> when [<expr>|breakpoint]\n"
 
                  "  htrace clear recors\n"
 
                  "  htrace enable\n"
 
                  "  htrace disable\n"
 
                  "  htrace control\n\n"
 
                  "See OR1k Architecture and gdb for or1k documents for more info.",
                  "See OR1k Architecture and gdb for or1k documents for more info.",
                  &htrace_cmdlist, "htrace ", 0, &cmdlist);
                  &htrace_cmdlist, "htrace ", 0, &cmdlist);
  add_cmd ("info", class_breakpoint, htrace_info_command, "Display information about HW trace.",
  add_cmd ("info", class_breakpoint, htrace_info_command, "Display information about HW trace.",
           &htrace_cmdlist);
           &htrace_cmdlist);
  add_alias_cmd ("i", "info", class_breakpoint, 1, &htrace_cmdlist);
  add_alias_cmd ("i", "info", class_breakpoint, 1, &htrace_cmdlist);

powered by: WebSVN 2.1.0

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