| commit | c67a6e62bc7e95f7f181a51c5b314ef10a6e231e | [log] [tgz] |
|---|---|---|
| author | Petr Machata <pmachata@redhat.com> | Wed Mar 28 02:39:49 2012 +0200 |
| committer | Petr Machata <pmachata@redhat.com> | Thu Apr 19 01:34:04 2012 +0200 |
| tree | f058d131c69d8ee501508a4105c93425a35009d9 | |
| parent | ce40b3974d485837d130afc6b8034a83b3d03c5b [diff] [blame] |
Add missing implementations of default callback
diff --git a/breakpoints.c b/breakpoints.c index 5891ee7..84dac17 100644 --- a/breakpoints.c +++ b/breakpoints.c
@@ -15,6 +15,16 @@ #include "proc.h" #include "library.h" +#ifndef ARCH_HAVE_TRANSLATE_ADDRESS +int +arch_translate_address(struct Process *proc, + target_address_t addr, target_address_t *ret) +{ + *ret = addr; + return 0; +} +#endif + void breakpoint_on_hit(struct breakpoint *bp, struct Process *proc) {