* alpha-tdep.c (find_proc_desc): Only attempt to set PROC_LOCALOFF

(found_heuristic) if found_heuristic is non-NULL.
This commit is contained in:
Jim Kingdon 1995-02-28 16:35:11 +00:00
parent d2c0206038
commit de7ad6d87d
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Tue Feb 28 08:31:40 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* alpha-tdep.c (find_proc_desc): Only attempt to set PROC_LOCALOFF
(found_heuristic) if found_heuristic is non-NULL.
Mon Feb 27 11:56:32 1995 Stan Shebs <shebs@andros.cygnus.com>
* monitor.c: General gcc -Wall lint cleanup and reformat.

View File

@ -505,12 +505,15 @@ find_proc_desc (pc, next_frame)
alpha_extra_func_info_t found_heuristic =
heuristic_proc_desc (PROC_LOW_ADDR (proc_desc),
pc, next_frame);
PROC_LOCALOFF (found_heuristic) = PROC_LOCALOFF (proc_desc);
if (found_heuristic)
{
PROC_LOCALOFF (found_heuristic) =
PROC_LOCALOFF (proc_desc);
proc_desc = found_heuristic;
}
}
}
}
else
{
/* Is linked_proc_desc_table really necessary? It only seems to be used