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:
parent
883bc8d1cb
commit
e36930bb63
2 changed files with 7 additions and 1 deletions
|
@ -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>
|
||||
Pedro Alves <palves@redhat.com>
|
||||
|
||||
|
|
|
@ -911,8 +911,9 @@ set_last_displayed_sal (int valid, struct program_space *pspace,
|
|||
last_displayed_line = line;
|
||||
if (valid && pspace == NULL)
|
||||
{
|
||||
warning (_("Trying to set NULL pspace."));
|
||||
clear_last_displayed_sal ();
|
||||
internal_error (__FILE__, __LINE__,
|
||||
_("Trying to set NULL pspace."));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue