* frame.c (find_frame_sal): Initialize sal->pspace field from frame

data.
	* stack.c (set_last_displayed_sal): Validate that PSPACE is not NULL.

testuite:
	* gdb.base/break-inline.exp: New file.
	* gdb.base/break-inline.c: New file.
This commit is contained in:
Aleksandar Ristovski
2012-02-15 19:27:59 +00:00
parent 3af2590d3e
commit 4cb6da1cdd
6 changed files with 75 additions and 0 deletions

View File

@@ -2096,6 +2096,8 @@ find_frame_sal (struct frame_info *frame, struct symtab_and_line *sal)
we can't do much better. */
sal->pc = get_frame_pc (frame);
sal->pspace = get_frame_program_space (frame);
return;
}