Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
40e7f7b7
Commit
40e7f7b7
authored
Mar 08, 2013
by
André Hentschel
Committed by
Alexandre Julliard
Mar 11, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Remove SPARC support.
parent
2cca510a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
228 deletions
+0
-228
Makefile.in
programs/winedbg/Makefile.in
+0
-1
be_sparc.c
programs/winedbg/be_sparc.c
+0
-185
gdbproxy.c
programs/winedbg/gdbproxy.c
+0
-36
tgt_active.c
programs/winedbg/tgt_active.c
+0
-2
winedbg.c
programs/winedbg/winedbg.c
+0
-4
No files found.
programs/winedbg/Makefile.in
View file @
40e7f7b7
...
@@ -9,7 +9,6 @@ C_SRCS = \
...
@@ -9,7 +9,6 @@ C_SRCS = \
be_arm64.c
\
be_arm64.c
\
be_i386.c
\
be_i386.c
\
be_ppc.c
\
be_ppc.c
\
be_sparc.c
\
be_x86_64.c
\
be_x86_64.c
\
break.c
\
break.c
\
crashdlg.c
\
crashdlg.c
\
...
...
programs/winedbg/be_sparc.c
deleted
100644 → 0
View file @
2cca510a
/*
* Debugger Sparc specific functions
*
* Copyright 2010 Austin English
*
* 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 "debugger.h"
#if defined(__sparc__)
static
unsigned
be_sparc_get_addr
(
HANDLE
hThread
,
const
CONTEXT
*
ctx
,
enum
be_cpu_addr
bca
,
ADDRESS64
*
addr
)
{
switch
(
bca
)
{
case
be_cpu_addr_pc
:
return
be_cpu_build_addr
(
hThread
,
ctx
,
addr
,
0
,
ctx
->
pc
);
case
be_cpu_addr_stack
:
return
be_cpu_build_addr
(
hThread
,
ctx
,
addr
,
0
,
ctx
->
o6
);
case
be_cpu_addr_frame
:
return
be_cpu_build_addr
(
hThread
,
ctx
,
addr
,
0
,
ctx
->
i6
);
}
return
FALSE
;
}
static
unsigned
be_sparc_get_register_info
(
int
regno
,
enum
be_cpu_addr
*
kind
)
{
dbg_printf
(
"not done for Sparc
\n
"
);
return
FALSE
;
}
static
void
be_sparc_single_step
(
CONTEXT
*
ctx
,
unsigned
enable
)
{
dbg_printf
(
"not done for Sparc
\n
"
);
}
static
void
be_sparc_print_context
(
HANDLE
hThread
,
const
CONTEXT
*
ctx
,
int
all_regs
)
{
dbg_printf
(
"not done for Sparc
\n
"
);
}
static
void
be_sparc_print_segment_info
(
HANDLE
hThread
,
const
CONTEXT
*
ctx
)
{
dbg_printf
(
"not done for Sparc
\n
"
);
}
static
struct
dbg_internal_var
be_sparc_ctx
[]
=
{
{
0
,
NULL
,
0
,
dbg_itype_none
}
};
static
unsigned
be_sparc_is_step_over_insn
(
const
void
*
insn
)
{
dbg_printf
(
"not done for Sparc
\n
"
);
return
FALSE
;
}
static
unsigned
be_sparc_is_function_return
(
const
void
*
insn
)
{
dbg_printf
(
"not done for Sparc
\n
"
);
return
FALSE
;
}
static
unsigned
be_sparc_is_break_insn
(
const
void
*
insn
)
{
dbg_printf
(
"not done for Sparc
\n
"
);
return
FALSE
;
}
static
unsigned
be_sparc_is_func_call
(
const
void
*
insn
,
ADDRESS64
*
callee
)
{
return
FALSE
;
}
static
unsigned
be_sparc_is_jump
(
const
void
*
insn
,
ADDRESS64
*
jumpee
)
{
return
FALSE
;
}
static
void
be_sparc_disasm_one_insn
(
ADDRESS64
*
addr
,
int
display
)
{
dbg_printf
(
"not done for Sparc
\n
"
);
}
static
unsigned
be_sparc_insert_Xpoint
(
HANDLE
hProcess
,
const
struct
be_process_io
*
pio
,
CONTEXT
*
ctx
,
enum
be_xpoint_type
type
,
void
*
addr
,
unsigned
long
*
val
,
unsigned
size
)
{
dbg_printf
(
"not done for Sparc
\n
"
);
return
0
;
}
static
unsigned
be_sparc_remove_Xpoint
(
HANDLE
hProcess
,
const
struct
be_process_io
*
pio
,
CONTEXT
*
ctx
,
enum
be_xpoint_type
type
,
void
*
addr
,
unsigned
long
val
,
unsigned
size
)
{
dbg_printf
(
"not done for Sparc
\n
"
);
return
FALSE
;
}
static
unsigned
be_sparc_is_watchpoint_set
(
const
CONTEXT
*
ctx
,
unsigned
idx
)
{
dbg_printf
(
"not done for Sparc
\n
"
);
return
FALSE
;
}
static
void
be_sparc_clear_watchpoint
(
CONTEXT
*
ctx
,
unsigned
idx
)
{
dbg_printf
(
"not done for Sparc
\n
"
);
}
static
int
be_sparc_adjust_pc_for_break
(
CONTEXT
*
ctx
,
BOOL
way
)
{
if
(
way
)
{
ctx
->
pc
--
;
return
-
1
;
}
ctx
->
pc
++
;
return
1
;
}
static
int
be_sparc_fetch_integer
(
const
struct
dbg_lvalue
*
lvalue
,
unsigned
size
,
unsigned
ext_sign
,
LONGLONG
*
ret
)
{
dbg_printf
(
"not done for Sparc
\n
"
);
return
FALSE
;
}
static
int
be_sparc_fetch_float
(
const
struct
dbg_lvalue
*
lvalue
,
unsigned
size
,
long
double
*
ret
)
{
dbg_printf
(
"not done for Sparc
\n
"
);
return
FALSE
;
}
static
int
be_sparc_store_integer
(
const
struct
dbg_lvalue
*
lvalue
,
unsigned
size
,
unsigned
is_signed
,
LONGLONG
val
)
{
dbg_printf
(
"be_sparc_store_integer: not done
\n
"
);
return
FALSE
;
}
struct
backend_cpu
be_sparc
=
{
IMAGE_FILE_MACHINE_SPARC
,
4
,
be_cpu_linearize
,
be_cpu_build_addr
,
be_sparc_get_addr
,
be_sparc_get_register_info
,
be_sparc_single_step
,
be_sparc_print_context
,
be_sparc_print_segment_info
,
be_sparc_ctx
,
be_sparc_is_step_over_insn
,
be_sparc_is_function_return
,
be_sparc_is_break_insn
,
be_sparc_is_func_call
,
be_sparc_is_jump
,
be_sparc_disasm_one_insn
,
be_sparc_insert_Xpoint
,
be_sparc_remove_Xpoint
,
be_sparc_is_watchpoint_set
,
be_sparc_clear_watchpoint
,
be_sparc_adjust_pc_for_break
,
be_sparc_fetch_integer
,
be_sparc_fetch_float
,
be_sparc_store_integer
,
};
#endif
programs/winedbg/gdbproxy.c
View file @
40e7f7b7
...
@@ -337,42 +337,6 @@ static struct cpu_register cpu_register_map[] = {
...
@@ -337,42 +337,6 @@ static struct cpu_register cpu_register_map[] = {
REG
(
SegFs
,
4
),
REG
(
SegFs
,
4
),
REG
(
SegGs
,
4
),
REG
(
SegGs
,
4
),
};
};
#elif defined(__sparc__)
static
const
char
target_xml
[]
=
""
;
static
struct
cpu_register
cpu_register_map
[]
=
{
REG
(
g0
,
4
),
REG
(
g1
,
4
),
REG
(
g2
,
4
),
REG
(
g3
,
4
),
REG
(
g4
,
4
),
REG
(
g5
,
4
),
REG
(
g6
,
4
),
REG
(
g7
,
4
),
REG
(
o0
,
4
),
REG
(
o1
,
4
),
REG
(
o2
,
4
),
REG
(
o3
,
4
),
REG
(
o4
,
4
),
REG
(
o5
,
4
),
REG
(
o6
,
4
),
REG
(
o7
,
4
),
REG
(
l0
,
4
),
REG
(
l1
,
4
),
REG
(
l2
,
4
),
REG
(
l3
,
4
),
REG
(
l4
,
4
),
REG
(
l5
,
4
),
REG
(
l6
,
4
),
REG
(
l7
,
4
),
REG
(
i0
,
4
),
REG
(
i1
,
4
),
REG
(
i2
,
4
),
REG
(
i3
,
4
),
REG
(
i4
,
4
),
REG
(
i5
,
4
),
REG
(
i6
,
4
),
REG
(
i7
,
4
),
};
#elif defined(__arm__)
#elif defined(__arm__)
static
const
char
target_xml
[]
=
static
const
char
target_xml
[]
=
"l <target><architecture>arm</architecture>
\n
"
"l <target><architecture>arm</architecture>
\n
"
...
...
programs/winedbg/tgt_active.c
View file @
40e7f7b7
...
@@ -684,8 +684,6 @@ static void output_system_info(void)
...
@@ -684,8 +684,6 @@ static void output_system_info(void)
static
const
char
platform
[]
=
"i386"
;
static
const
char
platform
[]
=
"i386"
;
#elif defined(__x86_64__)
#elif defined(__x86_64__)
static
const
char
platform
[]
=
"x86_64"
;
static
const
char
platform
[]
=
"x86_64"
;
#elif defined(__sparc__)
static
const
char
platform
[]
=
"sparc"
;
#elif defined(__powerpc__)
#elif defined(__powerpc__)
static
const
char
platform
[]
=
"powerpc"
;
static
const
char
platform
[]
=
"powerpc"
;
#elif defined(__arm__)
#elif defined(__arm__)
...
...
programs/winedbg/winedbg.c
View file @
40e7f7b7
...
@@ -616,8 +616,6 @@ extern struct backend_cpu be_i386;
...
@@ -616,8 +616,6 @@ extern struct backend_cpu be_i386;
extern
struct
backend_cpu
be_ppc
;
extern
struct
backend_cpu
be_ppc
;
#elif defined(__x86_64__)
#elif defined(__x86_64__)
extern
struct
backend_cpu
be_x86_64
;
extern
struct
backend_cpu
be_x86_64
;
#elif defined(__sparc__)
extern
struct
backend_cpu
be_sparc
;
#elif defined(__arm__) && !defined(__ARMEB__)
#elif defined(__arm__) && !defined(__ARMEB__)
extern
struct
backend_cpu
be_arm
;
extern
struct
backend_cpu
be_arm
;
#elif defined(__aarch64__) && !defined(__AARCH64EB__)
#elif defined(__aarch64__) && !defined(__AARCH64EB__)
...
@@ -638,8 +636,6 @@ int main(int argc, char** argv)
...
@@ -638,8 +636,6 @@ int main(int argc, char** argv)
be_cpu
=
&
be_ppc
;
be_cpu
=
&
be_ppc
;
#elif defined(__x86_64__)
#elif defined(__x86_64__)
be_cpu
=
&
be_x86_64
;
be_cpu
=
&
be_x86_64
;
#elif defined(__sparc__)
be_cpu
=
&
be_sparc
;
#elif defined(__arm__) && !defined(__ARMEB__)
#elif defined(__arm__) && !defined(__ARMEB__)
be_cpu
=
&
be_arm
;
be_cpu
=
&
be_arm
;
#elif defined(__aarch64__) && !defined(__AARCH64EB__)
#elif defined(__aarch64__) && !defined(__AARCH64EB__)
...
...
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