diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-06-15 19:17:16 +0545 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-06-17 13:19:51 -0400 |
commit | 6362a3f8757bfce133b724df2077573433823ad4 (patch) | |
tree | 681f10063e77d5ed43b862eb7be12d4c860e790e /sim/bfin/ChangeLog | |
parent | 920467912a594a3e5af1d779487ffe3e5c550aef (diff) | |
download | gdb-6362a3f8757bfce133b724df2077573433823ad4.zip gdb-6362a3f8757bfce133b724df2077573433823ad4.tar.gz gdb-6362a3f8757bfce133b724df2077573433823ad4.tar.bz2 |
sim: callback: add human readable strings for debugging to maps
When tracing, we often want to display the human readable name for the
various syscall/errno values. Rather than make each target duplicate
the lookup, extend the existing maps to include the string directly,
and add helper functions to look up the constants.
While most targets are autogenerated (from libgloss), the bfin/cris
targets have custom maps for the Linux ABI which need to be updated
by hand.
Diffstat (limited to 'sim/bfin/ChangeLog')
-rw-r--r-- | sim/bfin/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog index 5393138..eac7b33 100644 --- a/sim/bfin/ChangeLog +++ b/sim/bfin/ChangeLog @@ -1,3 +1,10 @@ +2015-06-17 Mike Frysinger <vapier@gentoo.org> + + * linux-targ-map.h: Update example comments. + (cb_linux_syscall_map): Fill out name field. + (cb_linux_errno_map, cb_linux_open_map, cb_linux_signal_map): + Likewise. + 2015-06-12 Mike Frysinger <vapier@gentoo.org> * interp.c: Expand comment on CB_SYS_xxx defines. |