This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] sim: bfin: expand CB_SYS_xxx comment
- From: Mike Frysinger <vapier at gentoo dot org>
- To: gdb-patches at sourceware dot org
- Date: Fri, 12 Jun 2015 12:13:24 -0400
- Subject: [PATCH] sim: bfin: expand CB_SYS_xxx comment
- Authentication-results: sourceware.org; auth=none
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