Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
30f17bef
Commit
30f17bef
authored
Jun 17, 2020
by
André Hentschel
Committed by
Alexandre Julliard
Jun 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Remove support for PPC32.
Signed-off-by:
André Hentschel
<
nerv@dawncrow.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e7017c4a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
105 deletions
+2
-105
Makefile.in
dlls/dbghelp/Makefile.in
+0
-1
cpu_ppc.c
dlls/dbghelp/cpu_ppc.c
+0
-100
dbghelp.c
dlls/dbghelp/dbghelp.c
+2
-4
No files found.
dlls/dbghelp/Makefile.in
View file @
30f17bef
...
@@ -10,7 +10,6 @@ C_SRCS = \
...
@@ -10,7 +10,6 @@ C_SRCS = \
cpu_arm.c
\
cpu_arm.c
\
cpu_arm64.c
\
cpu_arm64.c
\
cpu_i386.c
\
cpu_i386.c
\
cpu_ppc.c
\
cpu_x86_64.c
\
cpu_x86_64.c
\
dbghelp.c
\
dbghelp.c
\
dwarf.c
\
dwarf.c
\
...
...
dlls/dbghelp/cpu_ppc.c
deleted
100644 → 0
View file @
e7017c4a
/*
* File cpu_ppc.c
*
* Copyright (C) 2009-2009, Eric Pouech.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <assert.h>
#include "ntstatus.h"
#define WIN32_NO_STATUS
#include "dbghelp_private.h"
#include "winternl.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dbghelp
);
static
BOOL
ppc_get_addr
(
HANDLE
hThread
,
const
CONTEXT
*
ctx
,
enum
cpu_addr
ca
,
ADDRESS64
*
addr
)
{
switch
(
ca
)
{
#if defined(__powerpc__)
case
cpu_addr_pc
:
addr
->
Mode
=
AddrModeFlat
;
addr
->
Segment
=
0
;
/* don't need segment */
addr
->
Offset
=
ctx
->
Iar
;
return
TRUE
;
#endif
default:
case
cpu_addr_stack
:
case
cpu_addr_frame
:
FIXME
(
"not done
\n
"
);
}
return
FALSE
;
}
static
BOOL
ppc_stack_walk
(
struct
cpu_stack_walk
*
csw
,
STACKFRAME64
*
frame
,
union
ctx
*
ctx
)
{
FIXME
(
"not done
\n
"
);
return
FALSE
;
}
static
unsigned
ppc_map_dwarf_register
(
unsigned
regno
,
const
struct
module
*
module
,
BOOL
eh_frame
)
{
FIXME
(
"not done
\n
"
);
return
0
;
}
static
void
*
ppc_fetch_context_reg
(
union
ctx
*
ctx
,
unsigned
regno
,
unsigned
*
size
)
{
FIXME
(
"NIY
\n
"
);
return
NULL
;
}
static
const
char
*
ppc_fetch_regname
(
unsigned
regno
)
{
FIXME
(
"Unknown register %x
\n
"
,
regno
);
return
NULL
;
}
static
BOOL
ppc_fetch_minidump_thread
(
struct
dump_context
*
dc
,
unsigned
index
,
unsigned
flags
,
const
CONTEXT
*
ctx
)
{
FIXME
(
"NIY
\n
"
);
return
FALSE
;
}
static
BOOL
ppc_fetch_minidump_module
(
struct
dump_context
*
dc
,
unsigned
index
,
unsigned
flags
)
{
FIXME
(
"NIY
\n
"
);
return
FALSE
;
}
DECLSPEC_HIDDEN
struct
cpu
cpu_ppc
=
{
IMAGE_FILE_MACHINE_POWERPC
,
4
,
CV_REG_NONE
,
/* FIXME */
ppc_get_addr
,
ppc_stack_walk
,
NULL
,
ppc_map_dwarf_register
,
ppc_fetch_context_reg
,
ppc_fetch_regname
,
ppc_fetch_minidump_thread
,
ppc_fetch_minidump_module
,
};
dlls/dbghelp/dbghelp.c
View file @
30f17bef
...
@@ -147,16 +147,14 @@ const char* wine_dbgstr_addr(const ADDRESS64* addr)
...
@@ -147,16 +147,14 @@ const char* wine_dbgstr_addr(const ADDRESS64* addr)
}
}
}
}
extern
struct
cpu
cpu_i386
,
cpu_x86_64
,
cpu_
ppc
,
cpu_
arm
,
cpu_arm64
;
extern
struct
cpu
cpu_i386
,
cpu_x86_64
,
cpu_arm
,
cpu_arm64
;
static
struct
cpu
*
dbghelp_cpus
[]
=
{
&
cpu_i386
,
&
cpu_x86_64
,
&
cpu_
ppc
,
&
cpu_
arm
,
&
cpu_arm64
,
NULL
};
static
struct
cpu
*
dbghelp_cpus
[]
=
{
&
cpu_i386
,
&
cpu_x86_64
,
&
cpu_arm
,
&
cpu_arm64
,
NULL
};
struct
cpu
*
dbghelp_current_cpu
=
struct
cpu
*
dbghelp_current_cpu
=
#if defined(__i386__)
#if defined(__i386__)
&
cpu_i386
&
cpu_i386
#elif defined(__x86_64__)
#elif defined(__x86_64__)
&
cpu_x86_64
&
cpu_x86_64
#elif defined(__powerpc__)
&
cpu_ppc
#elif defined(__arm__)
#elif defined(__arm__)
&
cpu_arm
&
cpu_arm
#elif defined(__aarch64__)
#elif defined(__aarch64__)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment