URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
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. */
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.