2002-02-13 Martin M. Hunt <hunt@redhat.com>
* stack.c (print_frame_info_base): When calling print_frame_info_listing_hook, set current_source_symtab.
This commit is contained in:
parent
676a04427a
commit
76e42a4f45
2 changed files with 9 additions and 1 deletions
|
@ -400,7 +400,10 @@ print_frame_info_base (struct frame_info *fi, int level, int source, int args)
|
|||
if (!done)
|
||||
{
|
||||
if (print_frame_info_listing_hook)
|
||||
print_frame_info_listing_hook (sal.symtab, sal.line, sal.line + 1, 0);
|
||||
{
|
||||
print_frame_info_listing_hook (sal.symtab, sal.line, sal.line + 1, 0);
|
||||
current_source_symtab = sal.symtab;
|
||||
}
|
||||
else
|
||||
{
|
||||
/* We used to do this earlier, but that is clearly
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue