diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-12-26 13:24:06 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-12-26 13:24:06 -0600 |
commit | 349f642f056d059b72dbfa3cba3763964b15d876 (patch) | |
tree | a3f309e659b0a3754499e71ff558aee3c2ecb10f /misc/buildroot/toolchain/gdb/7.4.1/xtensa-gdb-regsize.patch | |
parent | 528a08e265854a95976a5d77e91bdb934482a278 (diff) | |
download | nuttx-349f642f056d059b72dbfa3cba3763964b15d876.tar.gz nuttx-349f642f056d059b72dbfa3cba3763964b15d876.tar.bz2 nuttx-349f642f056d059b72dbfa3cba3763964b15d876.zip |
Add GCc 4.8.2 support for buildroot
Diffstat (limited to 'misc/buildroot/toolchain/gdb/7.4.1/xtensa-gdb-regsize.patch')
-rw-r--r-- | misc/buildroot/toolchain/gdb/7.4.1/xtensa-gdb-regsize.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/misc/buildroot/toolchain/gdb/7.4.1/xtensa-gdb-regsize.patch b/misc/buildroot/toolchain/gdb/7.4.1/xtensa-gdb-regsize.patch new file mode 100644 index 000000000..e10bb8f3e --- /dev/null +++ b/misc/buildroot/toolchain/gdb/7.4.1/xtensa-gdb-regsize.patch @@ -0,0 +1,19 @@ +--- gdb-7.4.1/gdb/xtensa-tdep.h.orig 2012-10-30 11:40:23.546448594 -0700 ++++ gdb-7.4.1/gdb/xtensa-tdep.h 2012-10-30 11:41:43.078445337 -0700 +@@ -17,6 +17,7 @@ + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. */ + ++#include <stdint.h> + + /* XTENSA_TDEP_VERSION can/should be changed along with XTENSA_CONFIG_VERSION + whenever the "tdep" structure changes in an incompatible way. */ +@@ -84,7 +85,7 @@ + /* Xtensa ELF core file register set representation ('.reg' section). + Copied from target-side ELF header <xtensa/elf.h>. */ + +-typedef unsigned long xtensa_elf_greg_t; ++typedef uint32_t xtensa_elf_greg_t; + + typedef struct + { |