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
58f25b7b
Commit
58f25b7b
authored
Jul 16, 2004
by
Pierre d'Herbemont
Committed by
Alexandre Julliard
Jul 16, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Define the backend_cpu regarding the host processor.
parent
3f7749a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
winedbg.c
programs/winedbg/winedbg.c
+12
-1
No files found.
programs/winedbg/winedbg.c
View file @
58f25b7b
...
...
@@ -1083,15 +1083,26 @@ static int dbg_winedbg_usage(void)
}
struct
backend_cpu
*
be_cpu
;
#ifdef __i386__
extern
struct
backend_cpu
be_i386
;
#elif __powerpc__
extern
struct
backend_cpu
be_ppc
;
#else
# error CPU unknown
#endif
int
main
(
int
argc
,
char
**
argv
)
{
DWORD
retv
=
0
;
unsigned
gdb_flags
=
0
;
/* FIXME: correctly setup the CPU backend */
#ifdef __i386__
be_cpu
=
&
be_i386
;
#elif __powerpc__
be_cpu
=
&
be_ppc
;
#else
# error CPU unknown
#endif
/* Initialize the output */
dbg_houtput
=
GetStdHandle
(
STD_OUTPUT_HANDLE
);
...
...
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