mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 18:44:20 +08:00
2011-03-03 Michael Snyder <msnyder@vmware.com>
* tui/tui-winsource.c (tui_update_source_window_as_is): Initialize sal.pspace before calling set_current_source_symtab_and_line.
This commit is contained in:
parent
30e6268931
commit
58397cb744
@ -1,3 +1,8 @@
|
||||
2011-03-03 Michael Snyder <msnyder@vmware.com>
|
||||
|
||||
* tui/tui-winsource.c (tui_update_source_window_as_is): Initialize
|
||||
sal.pspace before calling set_current_source_symtab_and_line.
|
||||
|
||||
2011-03-03 Yao Qi <yao@codesourcery.com>
|
||||
|
||||
* Makefile.in (configure-common): Remove. Let Makefile
|
||||
|
@ -114,9 +114,11 @@ tui_update_source_window_as_is (struct tui_win_info *win_info,
|
||||
{
|
||||
struct symtab_and_line sal;
|
||||
|
||||
init_sal (&sal);
|
||||
sal.line = line_or_addr.u.line_no +
|
||||
(win_info->generic.content_size - 2);
|
||||
sal.symtab = s;
|
||||
sal.pspace = s->objfile->pspace;
|
||||
set_current_source_symtab_and_line (&sal);
|
||||
/* If the focus was in the asm win, put it in the src win if
|
||||
we don't have a split layout. */
|
||||
|
Loading…
Reference in New Issue
Block a user