[PATCH] sim: bfin: expand CB_SYS_xxx comment

Mike Frysinger vapier@gentoo.org
Fri Jun 12 16:13:00 GMT 2015


Committed.
---
 sim/bfin/ChangeLog | 4 ++++
 sim/bfin/interp.c  | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog
index 1967251..5393138 100644
--- a/sim/bfin/ChangeLog
+++ b/sim/bfin/ChangeLog
@@ -1,5 +1,9 @@
 2015-06-12  Mike Frysinger  <vapier@gentoo.org>
 
+	* interp.c: Expand comment on CB_SYS_xxx defines.
+
+2015-06-12  Mike Frysinger  <vapier@gentoo.org>
+
 	* configure: Regenerate.
 
 2015-06-12  Mike Frysinger  <vapier@gentoo.org>
diff --git a/sim/bfin/interp.c b/sim/bfin/interp.c
index bed7564..69b5e96 100644
--- a/sim/bfin/interp.c
+++ b/sim/bfin/interp.c
@@ -36,7 +36,9 @@
 
 #include "targ-vals.h"
 
-/* The numbers here do not matter.  They just need to be unique.  */
+/* The numbers here do not matter.  They just need to be unique.  They also
+   need not be static across releases -- they're used internally only.  The
+   mapping from the Linux ABI to the CB values is in linux-targ-map.h.  */
 #define CB_SYS_ioctl        201
 #define CB_SYS_mmap2        202
 #define CB_SYS_munmap       203
-- 
2.4.1



More information about the Gdb-patches mailing list