forked from Imagelibrary/binutils-gdb
2012-02-24 Pedro Alves <palves@redhat.com>
* stack.c (set_last_displayed_sal): Issue internal_error instead of warning, and issue it after clearing the last displayed sal.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2012-02-24 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
|
* stack.c (set_last_displayed_sal): Issue internal_error instead
|
||||||
|
of warning, and issue it after clearing the last displayed sal.
|
||||||
|
|
||||||
2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
|
2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
Pedro Alves <palves@redhat.com>
|
Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
|
|||||||
@@ -911,8 +911,9 @@ set_last_displayed_sal (int valid, struct program_space *pspace,
|
|||||||
last_displayed_line = line;
|
last_displayed_line = line;
|
||||||
if (valid && pspace == NULL)
|
if (valid && pspace == NULL)
|
||||||
{
|
{
|
||||||
warning (_("Trying to set NULL pspace."));
|
|
||||||
clear_last_displayed_sal ();
|
clear_last_displayed_sal ();
|
||||||
|
internal_error (__FILE__, __LINE__,
|
||||||
|
_("Trying to set NULL pspace."));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user