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
edb38d15
Commit
edb38d15
authored
Dec 20, 2023
by
Eric Pouech
Committed by
Alexandre Julliard
Jan 17, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Make some internal data 'static const'.
Signed-off-by:
Eric Pouech
<
epouech@codeweavers.com
>
parent
a8f5b292
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gdbproxy.c
programs/winedbg/gdbproxy.c
+4
-4
No files found.
programs/winedbg/gdbproxy.c
View file @
edb38d15
...
@@ -1639,7 +1639,7 @@ static void packet_query_monitor_mem(struct gdb_context* gdbctx, int len, const
...
@@ -1639,7 +1639,7 @@ static void packet_query_monitor_mem(struct gdb_context* gdbctx, int len, const
packet_reply
(
gdbctx
,
"OK"
);
packet_reply
(
gdbctx
,
"OK"
);
}
}
struct
query_detail
st
atic
const
st
ruct
query_detail
{
{
int
with_arg
;
int
with_arg
;
const
char
*
name
;
const
char
*
name
;
...
@@ -1659,7 +1659,7 @@ static enum packet_return packet_query_remote_command(struct gdb_context* gdbctx
...
@@ -1659,7 +1659,7 @@ static enum packet_return packet_query_remote_command(struct gdb_context* gdbctx
const
char
*
hxcmd
,
size_t
len
)
const
char
*
hxcmd
,
size_t
len
)
{
{
char
buffer
[
128
];
char
buffer
[
128
];
struct
query_detail
*
qd
;
const
struct
query_detail
*
qd
;
assert
((
len
&
1
)
==
0
&&
len
<
2
*
sizeof
(
buffer
));
assert
((
len
&
1
)
==
0
&&
len
<
2
*
sizeof
(
buffer
));
len
/=
2
;
len
/=
2
;
...
@@ -1986,7 +1986,7 @@ static enum packet_return packet_query_exec_file(struct gdb_context* gdbctx)
...
@@ -1986,7 +1986,7 @@ static enum packet_return packet_query_exec_file(struct gdb_context* gdbctx)
return
packet_send_buffer
;
return
packet_send_buffer
;
}
}
struct
qxfer
st
atic
const
st
ruct
qxfer
{
{
const
char
*
name
;
const
char
*
name
;
enum
packet_return
(
*
handler
)(
struct
gdb_context
*
gdbctx
);
enum
packet_return
(
*
handler
)(
struct
gdb_context
*
gdbctx
);
...
@@ -2260,7 +2260,7 @@ struct packet_entry
...
@@ -2260,7 +2260,7 @@ struct packet_entry
enum
packet_return
(
*
handler
)(
struct
gdb_context
*
gdbctx
);
enum
packet_return
(
*
handler
)(
struct
gdb_context
*
gdbctx
);
};
};
static
struct
packet_entry
packet_entries
[]
=
static
const
struct
packet_entry
packet_entries
[]
=
{
{
{
'?'
,
packet_last_signal
},
{
'?'
,
packet_last_signal
},
{
'c'
,
packet_continue
},
{
'c'
,
packet_continue
},
...
...
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