aboutsummaryrefslogtreecommitdiff
path: root/include/coff
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2013-12-04 14:53:12 +0100
committerTristan Gingold <gingold@adacore.com>2013-12-06 11:54:31 +0100
commit2b597f540fd53fa5a8ade24e32b4c86c274fccae (patch)
tree2d76debd156abf4c60a0c6825ee57ad506aa85f7 /include/coff
parentf84bc21877ea3a58cd77929d9b365fd156df1b33 (diff)
downloadgdb-2b597f540fd53fa5a8ade24e32b4c86c274fccae.zip
gdb-2b597f540fd53fa5a8ade24e32b4c86c274fccae.tar.gz
gdb-2b597f540fd53fa5a8ade24e32b4c86c274fccae.tar.bz2
Add epilog unwind for x86_64 pe/coff
include/coff/ 2013-12-06 Tristan Gingold <gingold@adacore.com> * pe.h (UWOP_EPILOG, UWOP_PARE): Define. bfd/ 2013-12-06 Tristan Gingold <gingold@adacore.com> * pei-x86_64.c (pex64_xdata_print_uwd_codes): Add argument rf. Display epilog opcode. (pex64_dump_xdata): Add argument rf; make addr a local variable. Adjust call to pex64_xdata_print_uwd_codes. (pex64_bfd_print_pdata): Display code range, adjust call to pex64_dump_xdata.
Diffstat (limited to 'include/coff')
-rw-r--r--include/coff/ChangeLog4
-rw-r--r--include/coff/pe.h6
2 files changed, 8 insertions, 2 deletions
diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog
index 2a9c0ab..639fb66 100644
--- a/include/coff/ChangeLog
+++ b/include/coff/ChangeLog
@@ -1,3 +1,7 @@
+2013-12-06 Tristan Gingold <gingold@adacore.com>
+
+ * pe.h (UWOP_EPILOG, UWOP_PARE): Define.
+
2013-07-10 Tristan Gingold <gingold@adacore.com>
* rs6000.h (external_core_dumpx): New structure.
diff --git a/include/coff/pe.h b/include/coff/pe.h
index 3b37276..5e2b37e 100644
--- a/include/coff/pe.h
+++ b/include/coff/pe.h
@@ -392,8 +392,10 @@ struct external_pex64_runtime_function
#define UWOP_SET_FPREG 3
#define UWOP_SAVE_NONVOL 4
#define UWOP_SAVE_NONVOL_FAR 5
-#define UWOP_SAVE_XMM 6 /* Deprecated, redefined in version 2. */
-#define UWOP_SAVE_XMM_FAR 7 /* Deprecated. */
+#define UWOP_SAVE_XMM 6 /* For version 1. */
+#define UWOP_EPILOG 6 /* For version 2. */
+#define UWOP_SAVE_XMM_FAR 7 /* For version 1 (deprecated). */
+#define UWOP_SPARE 7 /* For version 2. */
#define UWOP_SAVE_XMM128 8
#define UWOP_SAVE_XMM128_FAR 9
#define UWOP_PUSH_MACHFRAME 10