Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(393)

Side by Side Diff: gdb/serial.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gdb/serial.h ('k') | gdb/sh-linux-tdep.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
None
OLDNEW
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
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

OLDNEW
« no previous file with comments | « gdb/serial.h ('k') | gdb/sh-linux-tdep.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698