diff options
Diffstat (limited to 'gdb/d10v-tdep.c')
-rw-r--r-- | gdb/d10v-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/d10v-tdep.c b/gdb/d10v-tdep.c index 790a153..1f021ce 100644 --- a/gdb/d10v-tdep.c +++ b/gdb/d10v-tdep.c @@ -131,7 +131,7 @@ d10v_skip_prologue (pc) if (find_pc_partial_function (pc, NULL, &func_addr, &func_end)) { sal = find_pc_line (func_addr, 0); - if (sal.end < func_end) + if ( sal.end && sal.end < func_end) return sal.end; } |