[mupen64plus] 113/262: Define dummy functions to decompile recompiled code on non-x86 architectures

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 05:59:23 UTC 2015


This is an automated email from the git hooks/post-receive script.

ecsv-guest pushed a commit to branch master
in repository mupen64plus.

commit c9e46e345d0eba296c4af7f3e67309544d60b970
Author: Sven Eckelmann <sven.eckelmann at gmx.de>
Date:   Wed Sep 2 12:59:04 2009 +0200

    Define dummy functions to decompile recompiled code on non-x86 architectures
---
 debian/changelog                        |  2 ++
 debian/patches/118-ftbfs-debugger.patch | 39 ++++++++++++++++++++++++++++-----
 2 files changed, 36 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 689ff44..b14777d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,8 @@ mupen64plus (1.5+dfsg1-3) UNRELEASED; urgency=low
   * debian/patches:
     - Add 119-debian-archs.patch, Define wordsize and endianess of
       architectures supported by debian (Closes: #544673)
+    - Update 118-ftbfs-debugger.patch, define dummy functions to decompile
+      recompiled code on non-x86 architectures (Closes: #544662)
 
  -- Sven Eckelmann <sven.eckelmann at gmx.de>  Wed, 02 Sep 2009 10:57:51 +0200
 
diff --git a/debian/patches/118-ftbfs-debugger.patch b/debian/patches/118-ftbfs-debugger.patch
index ee68187..2a13b2b 100644
--- a/debian/patches/118-ftbfs-debugger.patch
+++ b/debian/patches/118-ftbfs-debugger.patch
@@ -1,19 +1,21 @@
-From be17fe56f5f4b713c07daf577169640beef7da6a Mon Sep 17 00:00:00 2001
+From 31b68cb3414b52a3ac9cb75f80784a55cbcadcb2 Mon Sep 17 00:00:00 2001
 From: Sven Eckelmann <sven.eckelmann at gmx.de>
 Date: Tue, 1 Sep 2009 18:05:02 +0200
-Subject: [PATCH] Define CHECK_MEM for non-x86 systems
+Subject: [PATCH] Define dynarec debugger functions for non-x86 systems
 
 The debugger checks for valid memory for dynarec. In case of architectures
 without dynarec support it should skip this check. The needed macro
 is not defined, but can be replaced with an empty check.
+Also functions to decode recompiled code have to be implemented as dummy
+functions.
 
 Signed-off-by: Sven Eckelmann <sven.eckelmann at gmx.de>
 ---
- debugger/memory.c |    2 ++
- 1 files changed, 2 insertions(+), 0 deletions(-)
+ debugger/memory.c |   22 ++++++++++++++++++++++
+ 1 files changed, 22 insertions(+), 0 deletions(-)
 
 diff --git a/debugger/memory.c b/debugger/memory.c
-index d6c049d..b462766 100644
+index d6c049d..7598cc6 100644
 --- a/debugger/memory.c
 +++ b/debugger/memory.c
 @@ -210,6 +210,8 @@ int get_has_recompiled(uint32 addr)
@@ -25,6 +27,33 @@ index d6c049d..b462766 100644
  char* get_recompiled(uint32 addr, int index)
  {
      return NULL;
+@@ -220,6 +222,26 @@ int get_num_recompiled(uint32 addr)
+     return 0;
+ }
+ 
++char* get_recompiled_opcode(uint32 addr, int index)
++{
++    return NULL;
++}
++
++char* get_recompiled_args(uint32 addr, int index)
++{
++    return NULL;
++}
++
++void * get_recompiled_addr(uint32 addr, int index)
++{
++    return 0;
++}
++
++int get_has_recompiled(uint32 addr)
++{
++    return FALSE;
++}
++
+ void init_host_disassembler(void)
+ {
+ 
 -- 
 1.6.3.3
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mupen64plus.git



More information about the Pkg-games-commits mailing list