3abf9451c2c24746c4b72d1c601a93b922c25eaf
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-devtools / ltrace / ltrace / 0001-breakpoints.c-fix-compile-for-mips.patch
1 From 5f2fcb0b81adb0aad534c8cdb1241cfc84b23294 Mon Sep 17 00:00:00 2001
2 From: Andreas Oberritter <obi@opendreambox.org>
3 Date: Tue, 10 Apr 2012 01:35:24 +0200
4 Subject: [PATCH] breakpoints.c: fix compile for mips
5
6 ---
7  breakpoints.c |    2 +-
8  1 files changed, 1 insertions(+), 1 deletions(-)
9
10 diff --git a/breakpoints.c b/breakpoints.c
11 index ec84e6e..57fa608 100644
12 --- a/breakpoints.c
13 +++ b/breakpoints.c
14 @@ -152,7 +152,7 @@ enable_all_breakpoints(Process *proc) {
15                                 memcpy(new_sym,sym,sizeof(*new_sym) + strlen(sym->name) + 1);
16                                 new_sym->next=proc->list_of_symbols;
17                                 proc->list_of_symbols=new_sym;
18 -                               insert_breakpoint(proc, addr, new_sym);
19 +                               insert_breakpoint(proc, addr, new_sym, 1);
20                                 sym=sym->next;
21                         }
22                 }
23 -- 
24 1.7.5.4
25