aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-06-12 12:12:52 -0400
committerMike Frysinger <vapier@gentoo.org>2015-06-12 12:12:52 -0400
commitaaa9dc0170d5a2c09712f65f38dd308e7cfd4df0 (patch)
treecdc07a3702a57c2956416d3ade5f011bece38179
parent306f4178efa1851c411438aea39ddc553bc3070d (diff)
downloadgdb-aaa9dc0170d5a2c09712f65f38dd308e7cfd4df0.zip
gdb-aaa9dc0170d5a2c09712f65f38dd308e7cfd4df0.tar.gz
gdb-aaa9dc0170d5a2c09712f65f38dd308e7cfd4df0.tar.bz2
sim: bfin: expand CB_SYS_xxx comment
-rw-r--r--sim/bfin/ChangeLog4
-rw-r--r--sim/bfin/interp.c4
2 files changed, 7 insertions, 1 deletions
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