diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/btrace.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8a971e5..1fcf223 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2015-07-09 Markus Metzger <markus.t.metzger@intel.com> + + * btrace.c (btrace_pt_readmem_callback): Change type of PC argument. + 2015-07-08 Simon Marchi <simon.marchi@ericsson.com> * progspace.c (delete_program_space): Add missing spaces. diff --git a/gdb/btrace.c b/gdb/btrace.c index b924e7d..1618e55 100644 --- a/gdb/btrace.c +++ b/gdb/btrace.c @@ -824,14 +824,14 @@ ftrace_add_pt (struct pt_insn_decoder *decoder, static int btrace_pt_readmem_callback (gdb_byte *buffer, size_t size, - const struct pt_asid *asid, CORE_ADDR pc, + const struct pt_asid *asid, uint64_t pc, void *context) { int errcode; TRY { - errcode = target_read_code (pc, buffer, size); + errcode = target_read_code ((CORE_ADDR) pc, buffer, size); if (errcode != 0) return -pte_nomap; } |