This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] sim: bfin: expand CB_SYS_xxx comment


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=aaa9dc0170d5a2c09712f65f38dd308e7cfd4df0

commit aaa9dc0170d5a2c09712f65f38dd308e7cfd4df0
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Fri Jun 12 12:12:52 2015 -0400

    sim: bfin: expand CB_SYS_xxx comment

Diff:
---
 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]