summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c
AgeCommit message (Collapse)Author
2020-10-12Add `const` before `struct mrb_irep` in `mruby-bin-debugger` gem.Yukihiro "Matz" Matsumoto
2020-10-12Add `const` modifier to `mrb_irep` for `code_fetch_hook`.Yukihiro "Matz" Matsumoto
2020-03-08Remove unnecessary 'stdio.h'; ref #4947dearblue
'stdio.h' is included in 'mruby.h' ('mrbconf.h'). However, keep 'stdio.h' used by mruby-test.
2019-08-18Prohibit changes to iseq in principledearblue
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.
2019-02-19Add "info locals" command to mrdbkimu_shu
2018-07-31Bytecode support for `mrdb`.Yukihiro "Matz" Matsumoto
2018-07-30New bytecode implementation of mruby VM.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-12Reduce integer type mismatch warnings in VC.Yukihiro "Matz" Matsumoto
2017-04-03Remove spaces around parensYukihiro "Matz" Matsumoto
2016-09-28Removed trailing spacesNobuyoshi Nakada
2016-07-31intptr_t should be used instead of uint32_t to hold a pointer.Guo Xiao
Fix warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
2015-12-26remove execute bit from mrbgems/mruby-bin-debugger filesYukihiro "Matz" Matsumoto
2015-12-23fix bug that doesn't stop program when execute next command.Yuhei Okazaki
2015-12-23fixed next command's comment.Yuhei Okazaki
2015-12-23add next command to mrdb.Yuhei Okazaki
2015-11-27include changed from by quotes ("") to by brackets (<>); close #3032Yukihiro "Matz" Matsumoto
2015-07-02Fix incorrect memory allocation of mrdb_state_new.Blaž Hrastnik
As detected in a Coverity scan. https://scan8.coverity.com/reports.htm#v26153/p11375/fileInstanceId=6844472&defectInstanceId=2516000&mergedDefectId=75866
2015-01-19Merge pull request #2680 from sdottaka/add-fflushYukihiro "Matz" Matsumoto
mrdb, mirb: Add fflush() so that a external program can read output imme...
2015-01-18mrdb: fix crash when stepping into Proc.callsdottaka
How to reproduce: ``` cat a.rb Proc.new { 1 }.call echo step | mrdb a.rb ```
2015-01-10Merge pull request #2697 from cubicdaiya/use-sizeofYukihiro "Matz" Matsumoto
Use sizeof() instead of strlen().
2015-01-03Removed duplicated declarations.Tatsuhiko Kubo
* `mrb_show_version()` * `mrb_show_copyright()`
2015-01-03Use sizeof() instead of strlen().Tatsuhiko Kubo
2015-01-03fixed error-handling for mrb_open().Tatsuhiko Kubo
When mrb_open() is called again, it is not checked.
2014-12-19mrdb, mirb: Add fflush() so that a external program can read output immediately.sdottaka
2014-11-26free memory used by breakpointscremno
2014-11-20remove const type qualifiercremno
clang 3.5.0 with -Wextra produces a -Wignored-qualifiers diagnostic.
2014-11-18Add mruby debugger (mrdb)mimaki