xtensa-gdb-regsize.patch 731 B

12345678910111213141516171819
  1. --- gdb-7.4.1/gdb/xtensa-tdep.h.orig 2012-10-30 11:40:23.546448594 -0700
  2. +++ gdb-7.4.1/gdb/xtensa-tdep.h 2012-10-30 11:41:43.078445337 -0700
  3. @@ -17,6 +17,7 @@
  4. You should have received a copy of the GNU General Public License
  5. along with this program. If not, see <http://www.gnu.org/licenses/>. */
  6. +#include <stdint.h>
  7. /* XTENSA_TDEP_VERSION can/should be changed along with XTENSA_CONFIG_VERSION
  8. whenever the "tdep" structure changes in an incompatible way. */
  9. @@ -84,7 +85,7 @@
  10. /* Xtensa ELF core file register set representation ('.reg' section).
  11. Copied from target-side ELF header <xtensa/elf.h>. */
  12. -typedef unsigned long xtensa_elf_greg_t;
  13. +typedef uint32_t xtensa_elf_greg_t;
  14. typedef struct
  15. {