OLD | NEW |
1 /* Generic serial interface routines | 1 /* Generic serial interface routines |
2 | 2 |
3 Copyright (C) 1992-2002, 2004-2012 Free Software Foundation, Inc. | 3 Copyright (C) 1992-2002, 2004-2012 Free Software Foundation, Inc. |
4 | 4 |
5 This file is part of GDB. | 5 This file is part of GDB. |
6 | 6 |
7 This program is free software; you can redistribute it and/or modify | 7 This program is free software; you can redistribute it and/or modify |
8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
9 the Free Software Foundation; either version 3 of the License, or | 9 the Free Software Foundation; either version 3 of the License, or |
10 (at your option) any later version. | 10 (at your option) any later version. |
(...skipping 15 matching lines...) Expand all Loading... |
26 extern void _initialize_serial (void); | 26 extern void _initialize_serial (void); |
27 | 27 |
28 /* Is serial being debugged? */ | 28 /* Is serial being debugged? */ |
29 | 29 |
30 static int global_serial_debug_p; | 30 static int global_serial_debug_p; |
31 | 31 |
32 /* Linked list of serial I/O handlers. */ | 32 /* Linked list of serial I/O handlers. */ |
33 | 33 |
34 static struct serial_ops *serial_ops_list = NULL; | 34 static struct serial_ops *serial_ops_list = NULL; |
35 | 35 |
36 /* This is the last serial stream opened. Used by connect command. */ | |
37 | |
38 static struct serial *last_serial_opened = NULL; | |
39 | |
40 /* Pointer to list of scb's. */ | 36 /* Pointer to list of scb's. */ |
41 | 37 |
42 static struct serial *scb_base; | 38 static struct serial *scb_base; |
43 | 39 |
44 /* Non-NULL gives filename which contains a recording of the remote session, | 40 /* Non-NULL gives filename which contains a recording of the remote session, |
45 suitable for playback by gdbserver. */ | 41 suitable for playback by gdbserver. */ |
46 | 42 |
47 static char *serial_logfile = NULL; | 43 static char *serial_logfile = NULL; |
48 static struct ui_file *serial_logfp = NULL; | 44 static struct ui_file *serial_logfp = NULL; |
49 | 45 |
50 static struct serial_ops *serial_interface_lookup (const char *); | 46 static struct serial_ops *serial_interface_lookup (const char *); |
51 static void serial_logchar (struct ui_file *stream, | 47 static void serial_logchar (struct ui_file *stream, |
52 int ch_type, int ch, int timeout); | 48 int ch_type, int ch, int timeout); |
error: old chunk mismatch |
None
OLD | NEW |