OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [gdb/] [remote-sim.c] - Diff between revs 157 and 225

Show entire file | Details | Blame | View Log

Rev 157 Rev 225
Line 67... Line 67...
 
 
static void gdb_os_vprintf_filtered (host_callback *, const char *, va_list);
static void gdb_os_vprintf_filtered (host_callback *, const char *, va_list);
 
 
static void gdb_os_evprintf_filtered (host_callback *, const char *, va_list);
static void gdb_os_evprintf_filtered (host_callback *, const char *, va_list);
 
 
static void gdb_os_error (host_callback *, const char *, ...);
/* JPB fix for compatibility with latest binutils */
 
static void gdb_os_error (host_callback *, const char *, ...)
 
#ifdef __GNUC__
 
    __attribute__ ((__noreturn__))
 
#endif
 
  ;
 
 
static void gdbsim_fetch_register (struct regcache *regcache, int regno);
static void gdbsim_fetch_register (struct regcache *regcache, int regno);
 
 
static void gdbsim_store_register (struct regcache *regcache, int regno);
static void gdbsim_store_register (struct regcache *regcache, int regno);
 
 
Line 250... Line 255...
gdb_os_evprintf_filtered (host_callback * p, const char *format, va_list ap)
gdb_os_evprintf_filtered (host_callback * p, const char *format, va_list ap)
{
{
  vfprintf_filtered (gdb_stderr, format, ap);
  vfprintf_filtered (gdb_stderr, format, ap);
}
}
 
 
/* GDB version of error callback.  */
/* GDB version of error callback. JPB fixed for compatibility with latest BFD
 
   not to return. */
 
 
static void
static void
gdb_os_error (host_callback * p, const char *format,...)
gdb_os_error (host_callback * p, const char *format,...)
{
{
  if (deprecated_error_hook)
  if (deprecated_error_hook)
Line 264... Line 270...
      va_list args;
      va_list args;
      va_start (args, format);
      va_start (args, format);
      verror (format, args);
      verror (format, args);
      va_end (args);
      va_end (args);
    }
    }
 
 
 
  while (1)
 
    ;
}
}
 
 
int
int
one2one_register_sim_regno (struct gdbarch *gdbarch, int regnum)
one2one_register_sim_regno (struct gdbarch *gdbarch, int regnum)
{
{

powered by: WebSVN 2.1.0

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