diff options
author | Aleksandar Ristovski <aristovski@qnx.com> | 2012-02-15 19:27:59 +0000 |
---|---|---|
committer | Aleksandar Ristovski <aristovski@qnx.com> | 2012-02-15 19:27:59 +0000 |
commit | 4cb6da1cdd239a764f8a08f5aff0ab82ad270a7f (patch) | |
tree | 3dc49bee8dc4e59ca0a2cc05dfd789d290c86fda /gdb/frame.c | |
parent | 3af2590d3ee379d7e7ad4a1019887d3983721227 (diff) | |
download | gdb-4cb6da1cdd239a764f8a08f5aff0ab82ad270a7f.zip gdb-4cb6da1cdd239a764f8a08f5aff0ab82ad270a7f.tar.gz gdb-4cb6da1cdd239a764f8a08f5aff0ab82ad270a7f.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/frame.c')
-rw-r--r-- | gdb/frame.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/frame.c b/gdb/frame.c index 2bb843e..5e51ca6 100644 --- a/gdb/frame.c +++ b/gdb/frame.c @@ -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; } |