projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove an unused variable from spu_get_overlay_table
[deliverable/binutils-gdb.git]
/
gdb
/
inflow.c
diff --git
a/gdb/inflow.c
b/gdb/inflow.c
index d971543a2819e091fe6e69de835e45c359e0f0b1..a3b5ba8abef83e16e0293083d69475d6d96f3d8e 100644
(file)
--- a/
gdb/inflow.c
+++ b/
gdb/inflow.c
@@
-24,7
+24,7
@@
#include "terminal.h"
#include "target.h"
#include "gdbthread.h"
#include "terminal.h"
#include "target.h"
#include "gdbthread.h"
-#include "observ
er
.h"
+#include "observ
able
.h"
#include <signal.h>
#include <fcntl.h>
#include "gdb_select.h"
#include <signal.h>
#include <fcntl.h>
#include "gdb_select.h"
@@
-718,7
+718,7
@@
child_terminal_info (struct target_ops *self, const char *args, int from_tty)
return;
}
return;
}
- if (
ptid_equal (inferior_ptid, null_ptid)
)
+ if (
inferior_ptid == null_ptid
)
return;
inf = current_inferior ();
return;
inf = current_inferior ();
@@
-908,7
+908,7
@@
static void
pass_signal (int signo)
{
#ifndef _WIN32
pass_signal (int signo)
{
#ifndef _WIN32
- kill (
ptid_get_pid (inferior_ptid
), SIGINT);
+ kill (
inferior_ptid.pid (
), SIGINT);
#endif
}
#endif
}
@@
-989,7
+989,7
@@
_initialize_inflow (void)
/* OK, figure out whether we have job control. */
have_job_control ();
/* OK, figure out whether we have job control. */
have_job_control ();
-
observer_attach_inferior_exit
(inflow_inferior_exit);
+
gdb::observers::inferior_exit.attach
(inflow_inferior_exit);
inflow_inferior_data
= register_inferior_data_with_cleanup (NULL, inflow_inferior_data_cleanup);
inflow_inferior_data
= register_inferior_data_with_cleanup (NULL, inflow_inferior_data_cleanup);
This page took
0.039235 seconds
and
4
git commands to generate.