projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Automatic date update in version.in
[deliverable/binutils-gdb.git]
/
gdb
/
ser-mingw.c
diff --git
a/gdb/ser-mingw.c
b/gdb/ser-mingw.c
index 605a071770ace76a059e8b749df2a481e3319236..0bf791bb3ec85378322e741fac947a90b3ea1e18 100644
(file)
--- a/
gdb/ser-mingw.c
+++ b/
gdb/ser-mingw.c
@@
-1,6
+1,6
@@
/* Serial interface for local (hardwired) serial ports on Windows systems
/* Serial interface for local (hardwired) serial ports on Windows systems
- Copyright (C) 2006-201
8
Free Software Foundation, Inc.
+ Copyright (C) 2006-201
9
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-321,9
+321,8
@@
ser_windows_read_prim (struct serial *scb, size_t count)
{
struct ser_windows_state *state;
OVERLAPPED ov;
{
struct ser_windows_state *state;
OVERLAPPED ov;
- DWORD bytes_read
, bytes_read_tmp
;
+ DWORD bytes_read;
HANDLE h;
HANDLE h;
- gdb_byte *p;
state = (struct ser_windows_state *) scb->state;
if (state->in_progress)
state = (struct ser_windows_state *) scb->state;
if (state->in_progress)
@@
-351,7
+350,6
@@
ser_windows_read_prim (struct serial *scb, size_t count)
static int
ser_windows_write_prim (struct serial *scb, const void *buf, size_t len)
{
static int
ser_windows_write_prim (struct serial *scb, const void *buf, size_t len)
{
- struct ser_windows_state *state;
OVERLAPPED ov;
DWORD bytes_written;
HANDLE h;
OVERLAPPED ov;
DWORD bytes_written;
HANDLE h;
@@
-634,7
+632,6
@@
pipe_select_thread (void *arg)
{
struct serial *scb = (struct serial *) arg;
struct ser_console_state *state;
{
struct serial *scb = (struct serial *) arg;
struct ser_console_state *state;
- int event_index;
HANDLE h;
state = (struct ser_console_state *) scb->state;
HANDLE h;
state = (struct ser_console_state *) scb->state;
@@
-677,7
+674,6
@@
file_select_thread (void *arg)
{
struct serial *scb = (struct serial *) arg;
struct ser_console_state *state;
{
struct serial *scb = (struct serial *) arg;
struct ser_console_state *state;
- int event_index;
HANDLE h;
state = (struct ser_console_state *) scb->state;
HANDLE h;
state = (struct ser_console_state *) scb->state;
@@
-1188,7
+1184,6
@@
net_windows_open (struct serial *scb, const char *name)
{
struct net_windows_state *state;
int ret;
{
struct net_windows_state *state;
int ret;
- DWORD threadId;
ret = net_open (scb, name);
if (ret != 0)
ret = net_open (scb, name);
if (ret != 0)
@@
-1347,7
+1342,6
@@
void
_initialize_ser_windows (void)
{
WSADATA wsa_data;
_initialize_ser_windows (void)
{
WSADATA wsa_data;
- struct serial_ops *ops;
HMODULE hm = NULL;
HMODULE hm = NULL;
This page took
0.02506 seconds
and
4
git commands to generate.