summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c
AgeCommit message (Collapse)Author
2021-07-25Remove redundant include headers.Yukihiro "Matz" Matsumoto
- stdlib.h - stddef.h - stdint.h - stdarg.h - limits.h - float.h
2021-07-08mruby-bin-debugger: remove unused local variables.Yukihiro "Matz" Matsumoto
2021-07-08mruby-bin-debugger: rename prefix 'mrb_debug_' to `mrdb_`.Yukihiro "Matz" Matsumoto
2021-07-06Merge branch 'mrb_debug_strdup-and-strndup' of ↵Yukihiro "Matz" Matsumoto
https://github.com/cremno/mruby into cremno-mrb_debug_strdup-and-strndup
2019-04-01Avoid keeping pointers from `mrb_sym2name_len()`; fix #4342Yukihiro "Matz" Matsumoto
The addresses for packed inline symbols reference `mrb->symbuf` that could be overridden by the later call of `mrb_sym2name_len`. Since file names in call stack information are kept as symbols, keeping the address in the C structures could cause problems like #4342. This changes small incompatible changes in function prototypes: * `mrb_parser_get_filename`: return value changed to `mrb_sym`. * `mrb_debug_get_filename`: add `mrb_state*` as a first argument. * `mrb_debug_get_line`: ditto. I believe above functions are almost internal, and no third-party mrbgem use them.
2017-12-23Do not initialize a local variable soon to be assigned.Yukihiro "Matz" Matsumoto
2017-12-23Make source compilable with C++17Lothar Scholz
Changes applied: - Removing "register" keyword - Fixing const pointer to pointer assignments - Adding type casts to rb_malloc calls
2017-08-04Fixed a invalid source path name on mruby debugger.Hiroshi Mimaki
2017-02-08Fixed mixture of signed/unsigned integersYukihiro "Matz" Matsumoto
in mrbgems/mruby-bin-debugger.
2015-12-26remove execute bit from mrbgems/mruby-bin-debugger filesYukihiro "Matz" Matsumoto
2015-11-27include changed from by quotes ("") to by brackets (<>); close #3032Yukihiro "Matz" Matsumoto
2015-01-03Use sizeof() instead of strlen().Tatsuhiko Kubo
2015-01-01Remove redundant NULL checks for mrb_malloc().Tatsuhiko Kubo
2014-12-02use mrb_debug_strdup() and mrb_debug_strndup()cremno
As they are safer to use than mrb_malloc()+strlen()+strncpy() (see #2652).
2014-11-26Merge pull request #2652 from cremno/mrdb-add-missing-null-terminationYukihiro "Matz" Matsumoto
mrdb: add missing null-termination
2014-11-26free return value of dirname()cremno
2014-11-25add missing null-terminationcremno
2014-11-20remove castcremno
C99+TC3, 7.19.7.1p2: [...] the fgetc function obtains that character as an unsigned char converted to an int [...]
2014-11-18Add mruby debugger (mrdb)mimaki