| OLD | NEW |
| 1 /* S-record download support for GDB, the GNU debugger. | 1 /* S-record download support for GDB, the GNU debugger. |
| 2 Copyright (C) 1995-1996, 2000, 2007-2012 Free Software Foundation, | 2 Copyright (C) 1995-2013 Free Software Foundation, Inc. |
| 3 Inc. | |
| 4 | 3 |
| 5 This file is part of GDB. | 4 This file is part of GDB. |
| 6 | 5 |
| 7 This program is free software; you can redistribute it and/or modify | 6 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 | 7 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 | 8 the Free Software Foundation; either version 3 of the License, or |
| 10 (at your option) any later version. | 9 (at your option) any later version. |
| 11 | 10 |
| 12 This program is distributed in the hope that it will be useful, | 11 This program is distributed in the hope that it will be useful, |
| 13 but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 13 matching lines...) Expand all Loading... |
| 27 | 26 |
| 28 /* Which record types are supported */ | 27 /* Which record types are supported */ |
| 29 #define SREC_2_BYTE_ADDR 0x00000001 | 28 #define SREC_2_BYTE_ADDR 0x00000001 |
| 30 #define SREC_3_BYTE_ADDR 0x00000002 | 29 #define SREC_3_BYTE_ADDR 0x00000002 |
| 31 #define SREC_4_BYTE_ADDR 0x00000004 | 30 #define SREC_4_BYTE_ADDR 0x00000004 |
| 32 #define SREC_TERM_SHIFT 3 | 31 #define SREC_TERM_SHIFT 3 |
| 33 | 32 |
| 34 #define SREC_ALL (SREC_2_BYTE_ADDR | SREC_3_BYTE_ADDR | SREC_4_BYTE_ADDR \ | 33 #define SREC_ALL (SREC_2_BYTE_ADDR | SREC_3_BYTE_ADDR | SREC_4_BYTE_ADDR \ |
| 35 | ((SREC_2_BYTE_ADDR | SREC_3_BYTE_ADDR | SREC_4_BYTE_ADDR) \ | 34 | ((SREC_2_BYTE_ADDR | SREC_3_BYTE_ADDR | SREC_4_BYTE_ADDR) \ |
| 36 << SREC_TERM_SHIFT)) | 35 << SREC_TERM_SHIFT)) |
| OLD | NEW |