From 47607d6f7cc0b855499df28ad8d27e4b16349202 Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Wed, 21 Oct 2009 08:27:25 +0000 Subject: [PATCH] * rs6000-nat.c (exec_one_dummy_insn): Add missing new ASPACE parameter to depreacted_insert_raw_breakpoint function call. * procfs.c (insert_dbx_link_bpt_in_file): Likewise. --- gdb/ChangeLog | 6 ++++++ gdb/procfs.c | 2 +- gdb/rs6000-nat.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d586e9f..0154ce7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2009-10-21 Pierre Muller + + * rs6000-nat.c (exec_one_dummy_insn): Add missing new ASPACE parameter + to depreacted_insert_raw_breakpoint function call. + * procfs.c (insert_dbx_link_bpt_in_file): Likewise. + 2009-10-20 Michael Snyder * record.c: Add some top-level comments for general explanation. diff --git a/gdb/procfs.c b/gdb/procfs.c index 0f0b5a5..7d7a895 100644 --- a/gdb/procfs.c +++ b/gdb/procfs.c @@ -5666,7 +5666,7 @@ insert_dbx_link_bpt_in_file (int fd, CORE_ADDR ignored) { /* Insert the breakpoint. */ dbx_link_bpt_addr = sym_addr; - dbx_link_bpt = deprecated_insert_raw_breakpoint (target_gdbarch, + dbx_link_bpt = deprecated_insert_raw_breakpoint (target_gdbarch, NULL, sym_addr); if (dbx_link_bpt == NULL) { diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c index 8273046..4e6cf96 100644 --- a/gdb/rs6000-nat.c +++ b/gdb/rs6000-nat.c @@ -590,7 +590,7 @@ exec_one_dummy_insn (struct regcache *regcache) assume that this address will never be executed again by the real code. */ - bp = deprecated_insert_raw_breakpoint (gdbarch, DUMMY_INSN_ADDR); + bp = deprecated_insert_raw_breakpoint (gdbarch, NULL, DUMMY_INSN_ADDR); /* You might think this could be done with a single ptrace call, and you'd be correct for just about every platform I've ever worked -- 2.7.4