2010-05-19 21:30 set * change.log: * Modified: [connect.c] To ignore \r characters from gdb. Markus Huebenthal saw them using gdb 6.8. * Modified: [prg_control.c] -readnow vs file name order. Don't remmember who pointed-out it. 2010-05-19 21:29 set * src/prg_control.c: * Modified: -readnow vs file name order. Don't remmember who pointed-out it. 2010-05-19 21:29 set * src/connect.c: * Modified: To ignore \r characters from gdb. Markus Huebenthal saw them using gdb 6.8. 2010-02-18 14:24 set * files: * Added: cmds.txt example. 2010-02-18 14:18 set * .cvsignore, change.log, examples/.cvsignore, examples/Makefile, examples/cmds.txt, examples/ticepic.c, examples/x11_cpp_test.cc, src/connect.c, src/mi_gdb.h, src/target_man.c: * Added: [ticepic.c examples/Makefile] Example of how to use something different than gdb. * Added: [x11_cpp_test.cc cmds.txt] Example of how to specify an starting commands file. * Added: [connect.c mi_gdb.h] Functionality to indicate a file containing commands to be executed at start-up and after connection. * Modified: [mi_gdb.h] Version to 0.8.12. * Fixed: [target_man.c] Return value for gmi_target_select. * Added: [.cvsignore] version executable exclusion. * Added: [examples/.cvsignore] ticepic binary exclusion. 2007-06-13 14:26 set * change.log, compress.sh, files, version.c, src/alloc.c, src/mi_gdb.h, src/parse.c: * Added: "from" field to the mi_frames structure. Suggested by Val Greene (vgreene/SF). 2007-05-11 16:16 set * change.log, src/cpp_int.cc, src/mi_gdb.h, src/parse.c, src/target_man.c: * Added: Implementation of the -target-download command, used to download a binary to the remote target. * Added: An option to MIDebugger::SelectTargetRemote used to load the binary to the remote target. Useful for embedded systems, tested with avr-gdb. 2007-05-10 18:49 set * change.log, src/cpp_int.cc, src/mi_gdb.h, src/misc.c: * Added: AVR architecture. * Added: Workaround for bugs in -gdb-show architecture. Seen on gdb 6.4.x. 2007-05-03 13:51 set * change.log, src/cpp_int.cc, src/mi_gdb.h: * Added: pic14 architecture. That's for an in-circuit emulator that I'm developing. 2007-04-30 18:43 set * change.log, src/parse.c: * Fixed: When parsing an address from gdb strtol isn't suitable, strtoul is better. 2005-09-26 20:38 set * change.log, src/parse.c: * Fixed: Apple seem to have changed the output type for stack frames to be a tuple of tuples rather than a list of tuples. Patch from Greg. 2005-06-03 15:04 set * doc/reference.html: * Updated: Version to 0.8.10. 2005-06-03 15:03 set * change.log, compress.sh, doc/html.frt, src/mi_gdb.h, src/parse.c: * Fixed: Breakpoint parser filled the "type" field instead of the "disp" field. Patch by Max Kovalenko (madmax/botik/ru). * Modified: Version to 0.8.10. 2005-05-13 21:29 set * change.log, examples/pty_test.c: * Fixed: pty_test.c to also exit when read returns 0 (Linux case). Patch from Greg. 2005-05-12 22:23 set * change.log, doc/html.frt, doc/reference.html: * Modified: Regenerated the docs to include the new documentation about ptys. Also changed the docs to name version 0.8.9. 2005-05-12 22:18 set * change.log, compress.sh, examples/.cvsignore, examples/Makefile, examples/pty_test.c, src/Makefile, src/get_free_pty.c, src/get_free_vt.c, src/mi_gdb.h: * Applied patches from Greg Watson (gwatson/lanl/gov): * Removes apple code from src/get_free_vt.c * Adds a new file src/get_free_pty.c This is a new functionality to communicate with the debuggie using a pseudo terminal. * Adds new mi_pty structure to src/mi_gdb.h * Modifies src/Makefile to build get_free_pty.o * Adds new file examples/pty_test.c * Modifies examples/Makefile to build pty_test 2005-04-29 22:11 set * change.log, src/get_free_vt.c, src/mi_gdb.h, src/parse.c, src/prg_control.c: * Applied patches from Greg Watson (gwatson/lanl/gov): * Add pty support for Darwin, including extending the mi_aux_term structure to include a file descriptor for the master side of the pty. This allows the code to prevent a race condition between checking for a free pty and opening it. * Rename mi_get_sttoped() to mi_get_stopped() and expose the interface in mi_gdb.h. * Added new gmi_exec_next_cnt() and gmi_exec_stop_cnt() commands. * Add support for the broken Darwin version of gdb (tuples can contain values as well as results). * Fix the 'signal-name' and 'signal-meaning' variable names (were 'signal_name' and 'signal_meaning'). * Allow a 'count' argument to be supplied to mi_exec_step() and mi_exec_next(). 2004-12-06 16:51 set * change.log, compress.sh, src/connect.c, src/mi_gdb.h: * Fixed: Compilations problems for SuSE 5.2. Reported by J.B. Lethbridge. 2004-10-19 18:21 set * change.log, src/cpp_int.cc: * Fixed: FinishFun member must set the state to running if the command succeed. 2004-10-18 21:39 set * change.log, compress.sh, src/mi_gdb.h: * Modified: Version to 0.8.7. 2004-10-18 21:35 set * change.log, examples/x11_cpp_test.cc, examples/x11_fr_test.c, examples/x11_wp_test.c, src/connect.c, src/mi_gdb.h: * Fixed: Various examples to compile with current code. * Fixed: Some missing headers. Needed to compile on BSD systems. 2004-10-16 01:50 set * change.log, src/cpp_int.cc: * Added: [Cygwin] Some minimal support. Now when the target is selected we tell gdb to use a new window. It seems to work but the new window have some serious problems. 2004-10-07 23:09 set * Makefile: * Fixed: [Makefile] .PHONY is needed to avoid problems. 2004-09-17 01:18 set * change.log, src/connect.c, src/get_free_vt.c: * Modified: To compile with Cygwin. It doesn't mean it works, just compiles. 2004-09-13 22:39 set * src/data_man.c: * Added: Comment about which CVS version of gdb fixes the mi/1770 bug. 2004-09-10 21:10 set * Makefile, change.log, compress.sh, files, src/Makefile, src/mi_gdb.h: * Added: A top level makefile, is just a wrapper for the src/Makefile. * Modified: Version to 0.8.6. 2004-09-08 20:09 set * change.log, src/cpp_int.cc, src/mi_gdb.h: * Added: C++ member to find and cache the architecture. Currently supported architectures are IA32 (x86) and SPARC. They are the only archs I have at hand. 2004-09-07 21:56 set * change.log, src/connect.c, src/error.c, src/mi_gdb.h: * Fixed: Lack of error report when we failed to create the temporal files to spawn an X terminal. * Fixed: Now we test if the X terminal and gdb binary are there and report proper errors if they are missing. 2004-09-06 19:13 set * change.log, src/data_man.c, src/mi_gdb.h, src/parse.c: * Added: Functions to workaround another bug in gdb. I reported it and it was named "mi/1770". Affects gdb 6.x. 2004-08-28 06:15 set * src/connect.c: * Fixed: Oops! 2004-08-25 22:49 set * change.log, src/connect.c, src/cpp_int.cc, src/mi_gdb.h, src/prg_control.c: * Modified: mi_error reset to MI_OK when connecting. * Modified: MIDebugger::TargetUnselect() to detach only if remote/pid is stopped. * Added: execute until address is reached (we had file:line only). 2004-08-24 23:10 set * change.log, src/cpp_int.cc: * Modified: PID targets starts stopped. * Fixed: When debugging an attached process if gdb dies we failed to go to disconnected. 2004-08-24 01:45 set * change.log, compress.sh, src/connect.c, src/data_man.c, src/mi_gdb.h, src/prg_control.c, src/var_obj.c: * Added: Mechanism to disable psym workarounds. The mechanism allows to enable/disable workarounds in a simple and compatible way. * Added: Mechanism to force MI version. * Added: Enabled a couple of MI v2 things when the version is forced to 2+. * Added: BreakAfter(mi_bkpt *b) C++ wrapper. 2004-08-17 22:40 set * change.log, compress.sh, src/alloc.c, src/cpp_int.cc, src/data_man.c, src/mi_gdb.h, src/parse.c: * Added: Disassembler functionality. 2004-08-13 22:36 set * change.log, src/connect.c, src/cpp_int.cc, src/error.c, src/mi_gdb.h, src/parse.c: * Modified: The mechanism to set gdb and xterm binaries. Now you can get the actual default (it searches in PATH) and set a new value that's copied. * Added: Functions to set the "main" function. * Added: Time out callback to catch time-outs in gdb response. * Added: Mechanism to detect gdb died and go to disconnected state. We already found an operation that makes gdb die. 2004-08-12 23:21 set * change.log, src/mi_gdb.h, src/parse.c, src/thread.c: * Added: Command to get info about the threads. It uses a partially implemented gdb functionality. 2004-08-09 14:58 set * change.log, compress.sh, doc/reference.html: * Updated: version and reference to release 0.8.3. 2004-08-09 01:07 set * change.log, doc/reference.html, src/connect.c, src/cpp_int.cc, src/mi_gdb.h: * Added: A function to know the endian of the target. * Added: A workaround to another bug in gdb: responses like the endian and architecture are sent to the console and not to the result record. So now the -gdb-show command traps the console (a copy) and if the RR have no info and we got something in the console that's returned. 2004-08-06 22:59 set * change.log, src/connect.c, src/cpp_int.cc, src/data_man.c, src/mi_gdb.h, src/parse.c: * Fixed: The gdb dialog was amazingly slow. It was just the fact that I trusted in the non-blocking flag and sleep, but this annoys the scheduler and the solution is to just use select, which is the Right Thing To Do (TM) ;-) * Modified: MIDebugger::EvalExpression now takes a const char * and cleans the error number before executing. * Added: Some very restricted function to read memory content. 2004-08-04 22:07 set * change.log, compress.sh, src/alloc.c, src/connect.c, src/cpp_int.cc, src/mi_gdb.h, src/parse.c, src/var_obj.c: * Modified: The mi_gvar structure to be able to hold a tree of variables. * Fixed: mi_error_from_gdb not released at exit. * Fixed: leak in Kill() * Fixed/Added: Various details of the GNU vars code. 2004-08-01 02:16 set * change.log, doc/reference.html, src/alloc.c, src/breakpoint.c, src/cpp_int.cc, src/mi_gdb.h, src/parse.c: * Added: More fields to the mi_wp structure, useful for the frontend. * Fixed: Watchpoint expressions must be enclosed using "" to avoid problems. * Fixed: wp_mode name to mi_wp_mode. * Added: int MIDebugger::WatchDelete(mi_wp *w). * Fixed: sr_wp_scope doesn't report a full wp, just the number. 2004-07-30 23:17 set * change.log, src/connect.c, src/cpp_int.cc: * Added: More workarounds to gdb bugs. I fille the cli/1725, gdb/1726 and gdb/1727 bug reports. I hope they get fixed :-( 2004-07-28 23:09 set * change.log, src/alloc.c, src/breakpoint.c, src/cpp_int.cc, src/mi_gdb.h, src/parse.c: * Fixed: Some mess in the bkpts structure. The "times" field is how many times we hit a breakpoint, just information. The real value is "ignore". * Fixed: Missing parse of the "cond" field for breakpoints. * Added: A C++ function to set a breakpoint from a mi_bkpt structure. It supports the four modes to specify a location. 2004-07-26 00:58 set * change.log, src/alloc.c, src/mi_gdb.h: * Added: More fields to the mi_bkpt structure. 2004-07-21 21:43 set * change.log, src/prg_control.c, doc/html.frt, doc/reference.html, examples/target_frames.cc: * Added: A workaround to a bug in gdb: the two stages load of symtabs (using partial ones) is not reliable (fails to find the symtab in some cases). So now we force the load with "readnow". * Fixed: Lack of string.h in examples/target_frames.cc. Reported by Thiago. 2004-07-21 01:42 set * change.log, compress.sh, files: * Fixed: directory in compressed sources. 2004-07-20 22:38 set * .cvsignore, change.log, compress.sh, files, examples/.cvsignore, src/.cvsignore, src/cpp_int.cc, src/mi_gdb.h, src/target_man.c: * Added: C++ wrapper to attach to a running process. Also modified the low level function to return the current frame. * Modified: Now if we get an error while the state is running we assume the previous "running" was wrong and we are in fact stopped. Until now I saw two cases where gdb says we are running and then shows an error. 2004-07-20 15:31 set * DJGPP.why, GPL-license, README, compress.sh, files, doc/html.frt, doc/reference.html, examples/Makefile, examples/linux_test.c, examples/remote_test.c, examples/target_frames.cc, examples/test_target.cc, examples/x11_cpp_test.cc, examples/x11_fr_test.c, examples/x11_test.c, examples/x11_wp_test.c, src/Makefile, src/alloc.c, src/breakpoint.c, src/connect.c, src/cpp_int.cc, src/data_man.c, src/error.c, src/get_free_vt.c, src/mi_gdb.h, src/misc.c, src/parse.c, src/prg_control.c, src/stack_man.c, src/symbol_query.c, src/target_man.c, src/thread.c, src/var_obj.c: Imported sources, current version is 0.8.0 2004-07-20 15:31 set * DJGPP.why, GPL-license, README, compress.sh, files, doc/html.frt, doc/reference.html, examples/Makefile, examples/linux_test.c, examples/remote_test.c, examples/target_frames.cc, examples/test_target.cc, examples/x11_cpp_test.cc, examples/x11_fr_test.c, examples/x11_test.c, examples/x11_wp_test.c, src/Makefile, src/alloc.c, src/breakpoint.c, src/connect.c, src/cpp_int.cc, src/data_man.c, src/error.c, src/get_free_vt.c, src/mi_gdb.h, src/misc.c, src/parse.c, src/prg_control.c, src/stack_man.c, src/symbol_query.c, src/target_man.c, src/thread.c, src/var_obj.c: Initial revision