projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Error when gdb_is_target_1 is called without running gdb instance
[binutils-gdb.git]
/
gdb
/
amd64-tdep.c
diff --git
a/gdb/amd64-tdep.c
b/gdb/amd64-tdep.c
index 539ebe9e1c36ffe34e7ce3ada2b736b96c2f1ef7..b95ab1e87b81db582768ca5696d588988f6730d1 100644
(file)
--- a/
gdb/amd64-tdep.c
+++ b/
gdb/amd64-tdep.c
@@
-2474,8
+2474,8
@@
amd64_skip_xmm_prologue (CORE_ADDR pc, CORE_ADDR start_pc)
start_pc_sal = find_pc_sect_line (start_pc, NULL, 0);
if (start_pc_sal.symtab == NULL
start_pc_sal = find_pc_sect_line (start_pc, NULL, 0);
if (start_pc_sal.symtab == NULL
- || producer_is_gcc_ge_4 (
SYMTAB_COMPUNIT
-
(start_pc_sal.symtab)
->producer ()) < 6
+ || producer_is_gcc_ge_4 (
start_pc_sal.symtab->compunit ()
+ ->producer ()) < 6
|| start_pc_sal.pc != start_pc || pc >= start_pc_sal.end)
return pc;
|| start_pc_sal.pc != start_pc || pc >= start_pc_sal.end)
return pc;
@@
-2901,7
+2901,7
@@
amd64_stack_frame_destroyed_p (struct gdbarch *gdbarch, CORE_ADDR pc)
struct compunit_symtab *cust;
cust = find_pc_compunit_symtab (pc);
struct compunit_symtab *cust;
cust = find_pc_compunit_symtab (pc);
- if (cust != NULL &&
COMPUNIT_EPILOGUE_UNWIND_VALID (cust
))
+ if (cust != NULL &&
cust->epilogue_unwind_valid (
))
return 0;
if (target_read_memory (pc, &insn, 1))
return 0;
if (target_read_memory (pc, &insn, 1))