diff options
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r-- | gdb/arm-tdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index f46913e..d36856e 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -1394,9 +1394,9 @@ arm_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc) missing (e.g. for -gstabs), assuming the GNU tools. */ if (post_prologue_pc && (cust == NULL - || COMPUNIT_PRODUCER (cust) == NULL - || startswith (COMPUNIT_PRODUCER (cust), "GNU ") - || producer_is_llvm (COMPUNIT_PRODUCER (cust)))) + || cust->producer () == NULL + || startswith (cust->producer (), "GNU ") + || producer_is_llvm (cust->producer ()))) return post_prologue_pc; if (post_prologue_pc != 0) |