linux-nat.c (linux_nat_close): Don't pass NULL for "this".
gdb/ChangeLog: * linux-nat.c (linux_nat_close): Don't pass NULL for "this". Pass NULL instead of 0 for context pointer.
This commit is contained in:
parent
428fc5fcd1
commit
9debeba0ed
|
@ -1,3 +1,8 @@
|
|||
2014-08-25 Doug Evans <dje@google.com>
|
||||
|
||||
* linux-nat.c (linux_nat_close): Don't pass NULL for "this".
|
||||
Pass NULL instead of 0 for context pointer.
|
||||
|
||||
2014-08-25 Yao Qi <yao@codesourcery.com>
|
||||
|
||||
* dwarf2read.c: Fix grammatical error.
|
||||
|
|
|
@ -4813,8 +4813,8 @@ static void
|
|||
linux_nat_close (struct target_ops *self)
|
||||
{
|
||||
/* Unregister from the event loop. */
|
||||
if (linux_nat_is_async_p (NULL))
|
||||
linux_nat_async (NULL, NULL, 0);
|
||||
if (linux_nat_is_async_p (self))
|
||||
linux_nat_async (self, NULL, NULL);
|
||||
|
||||
if (linux_ops->to_close)
|
||||
linux_ops->to_close (linux_ops);
|
||||
|
|
Loading…
Reference in New Issue