mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
2007-07-05 Michael Snyder <msnyder@access-company.com>
* stack.c (print_frame_args): Check return value of lookup_symbol.
This commit is contained in:
@@ -247,6 +247,7 @@ print_frame_args (struct symbol *func, struct frame_info *frame,
|
||||
struct symbol *nsym;
|
||||
nsym = lookup_symbol (DEPRECATED_SYMBOL_NAME (sym),
|
||||
b, VAR_DOMAIN, NULL, NULL);
|
||||
gdb_assert (nsym != NULL);
|
||||
if (SYMBOL_CLASS (nsym) == LOC_REGISTER)
|
||||
{
|
||||
/* There is a LOC_ARG/LOC_REGISTER pair. This means
|
||||
|
||||
Reference in New Issue
Block a user