* infrun.c (insert_step_resume_breakpoint_at_frame): Add assertion
that return_frame is not null.
This commit is contained in:
parent
8d4e36bad1
commit
f4c1edd8e5
@ -1,3 +1,8 @@
|
||||
2007-09-17 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* infrun.c (insert_step_resume_breakpoint_at_frame): Add assertion
|
||||
that return_frame is not null.
|
||||
|
||||
2007-09-17 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* solib-svr4.c: Add include of "auxv.h".
|
||||
|
@ -2868,6 +2868,7 @@ insert_step_resume_breakpoint_at_frame (struct frame_info *return_frame)
|
||||
{
|
||||
struct symtab_and_line sr_sal;
|
||||
|
||||
gdb_assert (return_frame != NULL);
|
||||
init_sal (&sr_sal); /* initialize to zeros */
|
||||
|
||||
sr_sal.pc = gdbarch_addr_bits_remove
|
||||
|
Loading…
x
Reference in New Issue
Block a user