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

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gdb-6.8/] [pre-binutils-2.20.1-sync/] [gdb/] [top.c] - Diff between revs 24 and 131

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

Rev 24 Rev 131
Line 1618... Line 1618...
                           NULL,
                           NULL,
                           show_exec_done_display_p,
                           show_exec_done_display_p,
                           &setlist, &showlist);
                           &setlist, &showlist);
}
}
 
 
 
/* JPB: Some picky Ubuntu GCC compilers don't like the result of getcwd being
 
   ignored (even if you cast it to void). So capture the value and ignore
 
   THAT. */
void
void
gdb_init (char *argv0)
gdb_init (char *argv0)
{
{
 
  char *res;                    /* For getcwd result */
  if (pre_init_ui_hook)
  if (pre_init_ui_hook)
    pre_init_ui_hook ();
    pre_init_ui_hook ();
 
 
  /* Run the init function of each source file */
  /* Run the init function of each source file */
 
 
  getcwd (gdb_dirbuf, sizeof (gdb_dirbuf));
  res = getcwd (gdb_dirbuf, sizeof (gdb_dirbuf));       /* JPB */
  current_directory = gdb_dirbuf;
  current_directory = gdb_dirbuf;
 
 
#ifdef __MSDOS__
#ifdef __MSDOS__
  /* Make sure we return to the original directory upon exit, come
  /* Make sure we return to the original directory upon exit, come
     what may, since the OS doesn't do that for us.  */
     what may, since the OS doesn't do that for us.  */

powered by: WebSVN 2.1.0

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