代码拉取完成,页面将自动刷新
* Fix issue #291 - The gdb process can still be running when CGDB exits.
Previously, when CGDB would exit, gdb would not also always exit,
leaving it running in the background. Now gdb exits when CGDB does.
* CGDB now supports syntax highlighting Fotran files.
* CGDB will now display breakpoints with multiple locations properly
(again). GDB creates multiple location breakpoints with C++ constructors,
inside C++ templates and in inlined functions. CGDB supported multiple
location breakpoints with GDB prior to GDB 9.0, when mi2 was the default
mi protocol. GDB 9.0 introduced the mi3 protocol which changed the way
the -break-info command returns breakpoint information.
* CGDB now allows you to execute until the currently selected line.
In cgdb mode, you can navigate to any file/line (or address in assembly
mode) and then type the 'u' key to have the debugger run until it hits
that file/line (or address).
* CGDB now supports the :noh command, which stops the highlighting
of previously matched searches when using the hlsearch option.
This resolves issue #24.
* Several searching improvements have been made
- Searching again with / will repeat the last search
- Searching again with ? will repeat the last search in reverse
- hlsearch no longer highlights old searches when starting a new search
- hlsearch will allow you to backspace out of a search completely now.
Previously it would always highlight the last char of search being
backspaced out of.
- hlsearch will properly highlight the previous search when you
backspace out of a search completely
* Fix issue #345 - cgdb can now be configured to be built without
the need to also build documentation. To disable documentation,
pass --enable-docs=no or --disable-docs to the configure options.
This is useful when building on systems that don't have the
makeinfo executable available.
* Fix issue #352 - gdb target output was not being displayed in cgdb.
CGDB previously ignored target output from GDB. This prevented useful
target output messages from being displayed back to the user in the
gdb console output window. CGDB now correctly displays target output
when remote debugging, including both from gdbserver directly or when
debugging a program through valgrind using the --vgdb-error=0 option.
* When selecting breakpoints with the space bar in the source viewer,
CGDB now selects breakpoints using an absolute path to the file
instead of a relative path. This prevents breakpoints being set on files
with the same base name.
* Fix issue #293 - Random breakpoints are no displayed on file reload
Previously, when running cgdb, if you change a file you are debugging,
recompile the exe, and 'run' again in the gdb window in cgdb, cgdb would
reload the changed file and sometimes display garbage breakpoints.
Now only the correct breakpoints are displayed on reload.
* Fix issue #303 - CGDB crashes while resizing window
Previously if a lot of text existed in the gdb window, then a resize
could trigger a crash. Now no crash will occur.
cgdb-0.8.0 (01/16/2022)
* Fix issue #298 - CGDB now exits when gdb exits
Previously if gdb exited but the inferior, or child of the inferior
was still running, cgdb would possibly continue running in a
non responsive state. Now cgdb exits when gdb does.
* Fix issue #278, Single stepping through disassembly without debug
symbols does not move arrow in source window. Now the arrow moves in
the source window as expected.
* Fix issue #135 CGDB freezes when pressing "o" to open the file dialog
Previously, if you attempted to open the file dialog, cgdb would
sometimes hang, due to a gdbwire parsing bug from the gdb response.
This has been resolved.
* Fix issue #152, breakpoint handling is broken in disasembly view
Previously, if you set a breakpoint in the source view, it would not
be reflected in the disassembly view, and vice versa. Now if you set
a breakpoint in either view, it should be reflected in the other.
* Fix issue #260, CGDB would not process commands after F5, F6, etc
If F5, F6, F7, F8, F10 were hit, CGDB would no longer process GDB
commands, like setting breakpoints, etc. Now CGDB works as expected.
* CGDB implements a virtual terminal in the GDB window
- The GDB scroller is now a virtual terminal (using libvterm)
- The scrollback buffer has been reimplemented using libvterm
The cursor row/col position is now known, rather than just the row
- Searching in the scrollback buffer is improved
- The scrollback buffer size is configurable with a new option,
scrollbackbuffersize (sbbs) and is defaulted to 10000.
- Mark commands in the GDB scroller have been removed
- Unicode is now fully supported in the gdb window
- libvterm does not support reflow yet, so resizing the terminal or
switching the window orientation (winsplitorientation) after startup
may cause the text in the GDB window to not be as expected
- Colors in the GDB window are not fully supported yet.
Ncurses is difficult to work with, considering switching.
RGB vterm colors are unsupported at the moment.
Fix the following github issues
- When I use set wso=vertical, I use the GDB window to print the
variable value, which will overflow the rightboundary #274
- Long lines from GDB output are not wrapped #265
- Some characters in the editor are incorrect #261
- Setting prompt to unicode character doesn't work as expected #257
- cgdb prints '[?2004h' in xfce4 terminal #256
- [regression] prefixing "04h" characters in the gdb prompt since
fixing #255
- GDB console does not display color #251
- gdb ANSI escape codes only in cgdb #189
- Cursor offset gets lost when typing UTF-8 characters in the
gdb window #121
* CGDB implements GDB/MI in favor of GDB/Annotations
- CGDB now communicates with GDB using MI only (instead of Annotations)
using the new-ui GDB command
- CGDB now requires GDB 7.12 or newer
- CGDB now fully supports the GDB console, including readline and
communicating with the inferior (the program being debugged)
- CGDB no longer uses the inferior tty option to talk to the inferior
Fix the following github issues
- Messed up input with latest gdb #247
- press T, it cannot open I/O window #244 (no longer necessary)
- Support disabling the inferior pty #241
- Any plan to add tty window back? #209
- Debugging a forking program fails on first run #204
- Ctrl - T doesn't seem to work (cgdb 0.7.0) #193
- inputrc enable-keypad messing with readline #190
- GDB command-line options not working #160
- Logging output uses machine interface? #158
- Pagination of long output is not properly handled #145
- cgdb stucks on fgets #130
- Autocompletion on directories failes to append '/' #96
- GDB Prompt Hangs after Pressing Tab in a "Command List" #67
* Add the nexti and stepi configuration commands
* Fix issue #239, ANSI escape issues with GDB-9
Color sequences like, [?1l,[?1h,=,>" are now ignored by CGDB rather
than producing garbage looking text in the gdb terminal.
* Fix auto source reload issue, issue #235 and #221
Occasionally, CGDB would not properly reload source files when they
had changed. Now CGDB will reload them on change.
* CGDB works again with newer versions of GDB (gdb 8.3 and above)
CGDB annotation support was broken by the following GDB issue,
https://sourceware.org/bugzilla/show_bug.cgi?id=25190
Changing CGDB from 'set height 0' to 'set pagination off' works
around the issue, even though I thought they were identical commands.
* CGDB now supports a configurable home directory. If the environment
variable 'CGDB_DIR' is set to a directory name, CGDB will use the
specified directory instead of '~/.cgdb/'.
* Fix issue #219 - CGDB users on Gentoo were experiencing segfaults at startup
due to mismatched wide-character support between the ncurses and tinfo
libraries. The build system has been updated to correctly pair the versions
of these libraries.
cgdb-0.7.1 (08/04/2019)
* Status bar messages are now displayed properly in veritical mode.
The message is now truncated according to the status bar width instead
of the width of the terminal.
* Fix spurious error from CGDB on shutdown. You may have seen,
CGDB had unexpected results. Search the logs for more details.
In the log there was a waitpid error. CGDB was using the API wrong.
* Fix issue #161 - CGDB would lock up when doing a regex search from
the status bar if the file was just opened from the file dialog and
the search did not match any text in the file. Now the search fails
to match text as expected.
* Status bar commands and gdb console commands now both show gdb
output in the gdb window (instead of only the gdb console commands).
This fixed issue #154 on github.
* Fixed issue where typing F8 would do a 'next', 'step' and
screen refresh instead of just doing a 'next' command.
* Fix issue #139 - Show appropriate logos when color disabled
Previously, if the user had colors disabled, CGDB would still show
logos that had ansi escape color sequences in them.
* Fixed :highlight regression introduced in 0.7.0.
In 0.6.8, if the user entered a :highlight command from the CGDB
status bar, for instance:
:highlight Comment ctermfg=Blue
CGDB would updated the currently displayed source file
with the requested highlighting changes. In 0.7.0 this would not occur.
Both versions honored :highlight in the .cgdbrc file.
* Fix issue #125 - CGDB can cross compile again.
* The rust syntax highlighter is now case sensitive instead of case
insensitive.
* Fix issue #129. CGDB with old versions of ncurses (5.6 or before)
would not display colors. Now it will display colors, but will
not support ansi colors in the GDB window.
* Fix issue #137. rustlexer.lpp fails to compile with some versions
of GNU autotools.
* Fix issue #135. CGDB would "freeze" when opening the file
dialog if the number of files was very large. Updating the
gdbwire parser resolved the issue.
* Add support for readline's backward-kill-word and kill-word at gdb prompt
cgdb-0.7.0 (03/21/2017)
* Remove help2man dependency. CGDB has a good info page which
should suffice.
* The hlsearch option has been added to CGDB. This improves the
searching and displaying of searching functionality within CGDB.
By default the option is off. When enabled, and there exists a
previous search, CGDB will display the search results using
the Search highlighting group. The IncSearch highlighting group
is used to display the active search. The hlsearch option
highlights previous searches in the source window, the gdb window
when in scroll mode and the file dialog window.
* CGDB now supports showing assembly code! By default, CGDB will
display source code when it is available and assembly code
when no source code is available. The option 'set disasm'
allows you to show mixed source/assembly when both are available.
* Add support to enable/disable showing assembly code in CGDB.
The default is disabled. The 'set disasm' enables showing
mixed assembly mode by default. See the documentation for more
information.
* Add the :logo command to cgdb. This tells CGDB to display a logo
in the source window.
* Add an initial Rust syntax highlighter.
* Support vi type <digit>j and <digit>k motions. Previously only
typing j or k with out a number was supported.
* Add support for marks. m[a-z] will set a local file mark and
m[A-Z] will set a global mark. '[a-z] will jump to the
corresponding local mark and '[A-Z] will jump to the corresponding
global mark. As an added bonus '' will jump to the last jump location
and '. will jump to the last executing line.
The showmarks option was introduced to show the marks in the source
window. It defaults to true. You can disable the viewing of marks
using 'set noshowmarks'.
* Add support to enable or disable color in the source window.
The default is enabled. See the documentation for more information.
* Add support for showing colors in the debug window. If gdb or the
program being debugged output an ansi escape code representing color,
https://en.wikipedia.org/wiki/ANSI_escape_code#Colors
then CGDB will display the corresponding color instead of the escape
code. This option is configurable with the set debugwincolor option.
* Add the winminwidth option to CGDB. It controls the minimum width
that a window can be resized. It corresponds to the winminheight
option. This was introduced now that CGDB can have vertically split
windows.
* Add support for vertical or horizontal splitting of the CGDB/GDB
windows. Thanks to Daniel Cohen for the original implementation
of this idea! You can change the window orientation by using the
command 'set winsplitorientation=horizontal or vertical'.
horizontal is the default orientation. Type Ctrl-w to switch between
vertical and horizontal viewing.
* Remove the TTY mode and TTY window from CGDB. This previously allowed
you to send input to the program being debugged through the TTY
window in CGDB. It is better for the user to run their program in
one terminal and attach to it with CGDB from another terminal in
order to get terminal input and terminal output working correctly.
* Add the -w command line option to CGDB. It directs CGDB to wait
to start until either a debugger is attached to it, or until a key
is written to it's stdin. This helps simplify debugging CGDB itself.
* Added GDB scroll mode in addition to the existing GDB command mode.
To enter scroll mode, type 'page up' when in GDB mode and to exit
type 'q', 'i' or 'Enter'. In scroll mode, you can scroll through
the GDB output. You can also search the GDB output with the /, ?, n
and N keys. Marks are also supported. You can set a mark by typing
m[a-z] and you can jump to a mark by typing '[a-z]. See the
documentation for more details.
* Extended support for the G command when in CGDB mode. The new supported
syntax is [<number>]G, allowing users to jump to a specific line within
the source file, rather than just the end of the source file. This is
identical to the :<number> command.
* Added support for 'executinglinedisplay' and 'selectedlinedisplay'
configuration options. See documentation for full explanation.
This allows you to configure how CGDB displays both the currently
executing line and the currently selected line.
The default for executing line is set to longarrow.
The default for selected line is set to block.
The 'arrowstyle' option has been deprecated (but still supported)
and users should use the 'executinglinedisplay' option instead.
* CGDB now only supports ncurses. Support for curses was removed.
The curses support was previously very out of date and untested.
If curses support is needed, please let us know.
cgdb-0.6.8 (11/13/2014)
* Fix issue #40, the map commands were adding additional new lines
to the mappings. For instance, 'imap a b' in the ~/.cgdb/cgdbrc
file would cause a to map to 'b<cr>' instead of just 'b'.
* Added feature from issue #29, added 'until' command to CGDB.
* Updated autotools configuration files to satisfy warnings and
recommendations produced by autotools when run.
* Fix issue #49, a gcc compiler warning.
* Fixed a hang consuming 100% CPU usage on OS X Mavericks (github #48).
* Fixed a hang when quitting cgdb while inferior is running
(github #1 and #5 and #46). This was believed to be fixed in the last
release but I've finally reproduced the issue and fixed it for good.
cgdb-0.6.7 (01/14/2013)
* Changed documentation license from GFDL to GPL (github #6).
* Fixed a hang on MacOS when quitting cgdb while inferior is running
(github #1 and #5).
* Fixed a crash when pressing 'n' in source window (github #5).
* Fixed a bug opening files (and toggling breakpoints in files) with
special characters (e.g. space) in their names.
cgdb-0.6.6 (09/06/2011)
* Fixed a compile error on Cygwin 1.7 (signature for path conversion
functions changed).
* Fixed a segfault on 64-bit systems in rline.c due to a missing
prototype of cgdb_malloc. Thanks to Pietro Cerutti for reporting
and diagnosing this one!
* Fixed a bug in the file dialog. When searching for a file,
and you hit enter to select it, CGDB would sometimes skip to
the next file that matches and open that file instead.
* CGDB should now build out of the box on Cygwin again.
CGDB used to only support building against curses.h. Now
it also supports building against ncurses/curses.h.
* No longer set the prompt to (gdb) on startup.
cgdb-0.6.5 (01/01/2010)
* Turn autosourcereload to on by default. This matches GDB's behavior.
* CGDB should successfully build on Mac OS X 10.5.
Thanks Kyle McKay for sending in this patch.
* Add support for :up and :down in the cgdb status bar.
Thanks Benoit Pierre for reporting this.
* Enhanced tgdb in a2 mode. It now understands GNAT's
pre-instance-choice, instance-choice, post-instance-choice extension.
* Made searching and :commands a little more vi-like. If you abort a
search, you can still recall the last search with 'n' or 'N'. If you
backspace to the beginning of the line, a :command or /search is
aborted.
* Added some new cgdb commands.
:c is now a synonym for :continue
:f is now a synonym for :finish
:n is now a synonym for :next
:r is not a synonym for :run
:s is now a synonym for :step
:start is a new command that will send "start" to the debugger
:kill is a new command that will send "kill" to the debugger
* Shortcut mode has been removed from cgdb. If you liked it, you can
put these commands in your cgdbrc file,
map r :run<CR>
map c :continue<CR>
map f :finish<CR>
map n :next<CR>
map s :step<CR>
and you will get the same functionality. Do not forget that,
F5 is the same as 'run'.
F6 is the same as 'continue'.
F7 is the same as 'finish'.
F8 is the same as 'next'.
F10 is the same as 'step'.
are always available.
* Added a feature to CGDB which allows it to ask readline what key
sequence it uses for the Home and End keys. That way, if the terminfo
database is wrong, but the OS vendor modified /etc/inputrc, CGDB will
have a working Home and End key.
* CGDB fully supports the use of maps now. The feature is similar in
nature to the vim map feature. It supports map, unmap, imap
and iunmap. The map/unmap work in CGDB mode and the imap/iunmap
work in GDB mode.
* Added the cgdbmodekey configuration option. This allows the user to
change the key that switches them from GDB mode to CGDB mode. The
default value is the Escape key. This is useful for users that want
to use readline in vi-mode.
* Fixed a bug in CGDB where the Insert and Delete keys were not
recognized properly all of the time.
cgdb-0.6.4 (04/28/2007)
* CGDB can now be compiled with -jN option. It would fail previously.
* CGDB should now build on freebsd with out any patches.
* Added a new highlighting group, SelectedLineNr. From the documentation:
This represents the group that is used when CGDB is displaying the
currently selected line. This is the line that the cursor is on.
* CGDB shuts down now when it receives C-d (control d), just like GDB
does.
* Changed the GDB prompt from "(tgdb)" to "(gdb)". I think users
will be more comfortable with "(gdb)".
* Fixed a serious bug in CGDB. After the user entered a command
CGDB would not accept any more commands. This would only
happen sometimes, if at all. This is due to the fact that CGDB
had a bug in it that was sensitive to the amount of data that
the read system call returns to it.
* Fixed a bug in CGDB where it would not show a file in the
source viewer if there was a space in the path.
* Removed the escdelay option. It has been replaced by the
timeout, timeoutlen, ttimeout and ttimeoutlen options. Please
see the CGDB manual for more documentation on these options.
* Fixed a bug in libkui. If the user quickly typed ESC followed
by an 'o' while in the GDB window, the 'o' character would not
get processed by CGDB until another character was hit.
* CGDB has improved it's -d (Set debugger to use) command line
option. CGDB used to force the user to have a space between the
-d and the debugger to use, like "cgdb -d /usr/bin/gdb". Now the
user can also start CGDB like "cgdb -d/usr/bin/gdb".
* CGDB now honor's the '--' command line option, which will allow the
user to explicitly say when they want to end passing arguments to
CGDB and begin passing arguments to the debugger.
* Fixed another bug in the configure script. If the getopt.h header
file is not available on the system, then CGDB will fail to configure.
It should finish, and most likely build successfully.
* Fixed yet another bug in the auto tools scripts. cgdb-0.6.3 would
improperly install gdbmi_driver if make was invoked like
'make DESTDIR=/foo install'.
* Fixed another bug in the configure script. If the curses.h header
file is not available on the system, then CGDB will fail to configure.
It would previously configure and then end up with a compile error.
cgdb-0.6.3 (06/03/2006)
* CGDB will no longer crash if you attempt to do a regular expression
search with / when there is no file in the source viewer.
* CGDB now uses a pseudo terminal (PTY) to start GDB on, instead of
using a pipe. Jens Frederich reported that on a Mac, typing Ctrl-C
while the inferior was running would cause GDB to shut down, thus
causing CGDB to shut down. This patch fixes that problem. At the
same time, this patch caused GDB to ask the user several other
questions regarding shared breakpoints, and quiting while the
inferior is running. Thus, CGDB acts more as if you were just using
GDB.
* CGDB is now maintained in a subversion repository instead of a
CVS repository. Although this might not appear to effect end users,
it is possible that there will be problems associated with this
switch. For this reason, I have documented this here.
* Fixed another bug in the configure script. CGDB should now be able
to configure itself on a Mac. Thanks to Jens Frederich for finding
and reporting this problem.
* CGDB no longer packages the generated auto tool files in CVS. However,
the distributions will have these files. This means you will need
autoconf, autoheader and automake installed to compile CGDB from CVS.
* CGDB now compiles according to the c89 standard. This should help with
porting to older systems.
* The file cgdb.txt is now installed into $PREFIX/share/cgdb/cgdb.txt. This
is the file CGDB will now use to display the manual when :help is typed.
This prevents CGDB from copying the data into the users home directory.
cgdb-0.6.2 (04/09/2006)
* CGDB should run on solaris 2.5 again. I don't think it would since
CGDB .6.0.
* Fixed a bug in the configure script that was probably added in .6.0
when the large readline integration was done. It was possible for
readline to choose the wrong termcap library, because of a bad
autoconf macro that CGDB was using. This could potentially cause the
screen to get corrupted.
* Fixed a bug in the syntax highlighter for C strings. A line like
char *s = "\""; would cause the highlighter to break and most of the
file after that would be displayed in red (string literal color).
* The message 'CGDB had unexpected results, ...' will no longer be
displayed when CGDB can not parse a breakpoint. This message was being
displayed when a watchpoint was issued by the user. It does not fix any
bugs though, just stops the message from being displayed.
cgdb-0.6.1 (03/06/2006)
* An improvement for tab completion support. With certain versions of GDB,
an extra line "server complete ..." would be added to the list of
possible completions. This is no longer added. I believe this would
only happen with really old versions of GDB.
* Improved tab completion support in readline for quoted data. For
instance tab completing C++ member functions like b 'foo::b<tab>
will now produce b 'foo::bar()'.
* Improved tab completion support. This comes in 2 forms. First, CGDB
honors the readline variable rl_completion_query_items. If the number
of completions is greater than this variable, then the user will be
asked if they want the completion to happen. Second, after each page of
completions, the user will be asked if they want more completions to be
displayed or not.
* Thanks to Steve Folta for sending in a patch which added support in CGDB
for configuring the syntax colors. The colors used to be hard coded and
could not be changed. Now just use the ":highlight" command to change
the default colors. There is a new section in the manual called
"CGDB highlighting groups" that describes the new functionality.
* Again, thanks to Steve Folta for getting CGDB to run on terminals with
background colors besides black. CGDB used to paint the terminal
background color black regardless of what it was. Now it respects the
background color. This feature only works when linked to ncurses. If you
have curses, CGDB will force the background black.
* CGDB broke it's terminal resizing functionality in cgdb-0.6.0. This is
now working again. The bug was introduced while bringing readline into
the same address space as CGDB.
* The man page now get's installed when 'make install' is done.
cgdb-0.6.0 (01/30/2006)
* There is a new manual for CGDB. The text version is located in
cgdb/doc/cgdb.txt. The info version is available at cgdb/doc/cgdb.info.
The text, html, pdf, info and possibly other versions are avialable at
http://cgdb.sourceforge.net/documentation.shtml
* There is a new CGDB man page. It is located in cgdb/doc/cgdb.1.
* Fix a crash in CGDB if the user would type ':e' or ':edit' in the
source window, and the source window was empty. This crash is considered
not very significant, since I can't understand why the user would try to
refresh the file, if it didn't exist.
* Removed the :q! and :quit! commands, since they don't do anything
different than :q or :quit.
* Fix a bug regarding the CGDB source viewer displaying breakpoints. If you
used the file dialog to open a file, and the file was an absolute
path, CGDB would display the file. If it was the first time CGDB
encountered this file, then when you set a breakpoint, CGDB would not
display the line as having a breakpoint in the source window, even though
the breakpoint was actually being set. This is now fixed.
* CGDB now supports getting the initial line, as well as the initial
file that GDB is on when it first starts the inferior. It used to only
determine the initial file.
* CGDB now supports when the terminal does not have control flow turned
on. If control flow (XON/XOFF) is off, the ^s and ^q will go directly
to readline instead of freezing and restarting the terminal.
* CGDB now allows the user to use the \ character for line continuation
purposes. GDB handles this and now CGDB also handles this. Before this,
CGDB would break if the user attempted to do line continuation.
* CGDB no longer needs to do a fork to communicate data back and forth to
readline, it runs readline in it's own process context. This is a huge
improvement because it means that when you run CGDB you should only see 1
process executing instead of the usual 2.
* CGDB now supports tab completion. This has been a long awaited missing
feature of CGDB.
* CGDB now depends on readline 5.1.
* Fix a bug in the c/c++ syntax highlighter. If a file had "\\" as a
string literal, the CGDB syntax tokenizer would be built incorrectly
resulting in incorrect file highlighting.
cgdb-0.5.3 (08/08/2005)
* CGDB now can detect the version of readline that it is going to link against.
By doing this, it can alert the user at configure time if the readline version
is OK to build CGDB with. If it is not OK, configure will fail.
* CGDB has changed it's user interface in a way that is not backwards compatible.
The 't' key, now sets a temporary breakpoint. The 't' key used to put CGDB into
insert mode in the TTY window. Now 'I' does that.
* CGDB is now capable of setting a temporary breakpoint thanks to Marcel Lanz.
He sent in a patch with the functionality. Hitting 't' set's a temporary breakpoint.
* It was reported that the "Windows" Key would cause CGDB to shut down.
This has been fixed.
* Added a new 'arrowstyle' option, see README for documentation
* Add the ^l command to the Source window. CGDB will now clear and redraw
the screen when this command is received.
* It is now required to have the GNU history library in order
to configure CGDB successfully. This was always the case, but the
configure checks wouldn't catch it.
* Get readline configure check to only look for libreadline. Not libedit, ...
Future version of CGDB will depend on functionality that only readline will
contains.
cgdb-0.5.2 (05/21/2005)
* Attempt to get autoconf/automake machinery working with command,
make DESTDIR=... install. This should simplify the job of package maintainers.
* Added the --with-readline-prefix autoconf option. This makes configuring CGDB
much easier when readline is in a non standard place.
* Fixed major bug in CGDB-0.5.1 that prevented it from running on Solaris 9,
FreeBSD 5.2.1 and probably many others. CGDB would hang when trying to read
input. This bug made it impossible to use CGDB on those platforms. libkui is
the cause of this problem and was a replacement input library for CGDB in
cgdb-0.5.1. The bug is now fixed.
cgdb-0.5.1 (04/02/2005)
* fixed crash when user tries to set a breakpoint on a file that's not
a source file. This would happen if you typed ':help' to get into the
help, and then tried to set a breakpoint using the spacebar.
* obsolete the b and f commands. These were responsible for moving between
the previous and the next source file. They made CGDB unstable and I don't
think they were in the spirit of a vi/vim clone.
* fixed an annoying bug that appeared while searching for a string. If you
canceled the source view regex search by hitting ESC, 2 bad things would happen.
You would end up on the line that you cancelled at
The currently displayed line would stay the line you can cancelled at, even when
you start moving around again.
* reworked the signal handling code when GDB dies. Now CGDB handles the SIGCHLD
and passes the signal notification to TGDB. This fixes a race condition that
occurred, even though the race condition appeared to be harmless.
* Several memory runtime fixes found thanks to valgrind. This could potentially
fix crash's that I just never ran into.
* Fix a bug in the c/c++ syntax highlighter. If a file had a dos file format
and the C++ style comment // was used, then the file displayed would be
completely unreadable. This is because the trailing '\r' would get grouped with
the comment.
* Fix CGDB command line interface. If the user invoked CGDB like this,
'cgdb --args ./main one two three', then CGDB would hang or crash. This
was because it use to add extra command line options to GDB on the end.
Now it prepends the options to GDB, so that the --args command line
can still be honored.
* Added new logger interface. This traps all errors to a file or
a file descriptor. There is now a mechanism to write warnings and
errors to a file for inspection by the user.
* Removed deprecated libinput from the various subdirectory. It has been
replaced by libkui.
* Added 'set asr' or autosourcereload option to CGDB. It is off by default.
It is capable of reloading a source file when CGDB detects that a file has
been modified. To turn this feature on do ':set asr'.
* The :edit [:e] colon command has been implemented. It forces CGDB to
reload the current file in the source viewer.
cgdb-0.5.0 (07/14/2004)
* "progs" directory is no longer installed in a potentially
read-only directory. It is installed now in top_builddir, instead of
top_srcdir.
* Added libkui into CGDB. This is the fisrt of the 4 new libraries
designed to make CGDB flexible and modular. Because of this, the version
number has been bumped up to .5.0.
* Fixed crash in TGDB when buffering commands. If the user hit
'n' <Enter> <Enter> ... fast, while GDB was not responding, or working
on a command, the buffering code in TGDB would enter a bad command into
a queue, causing it to crash when it tries to execute the command.
* Fix crash in CGDB when parsing command line parameters. I think this crash
showed up when I starting compiling CGDB with 3.3 instead of 2.95. It would
crash when trying to pass the --pid argument to GDB through CGDB.
cgdb-0.4.2 (05/10/2004)
* CGDB now compiles again on AIX 4.3. Fixed Makefile.am in various/util/src
to not have a space between the -L and the path.
cgdb-0.4.1 (04/26/2004)
* Removed a memory leak from CGDB. When debugging applications that output
a lot of text, CGDB would reportedly grow well over 400MB. Thanks to the
sender of this patch, who decided to keep themselves anonymous.
* Removed all instances of PATH_MAX and replaced with FSUTIL_PATH_MAX.
PATH_MAX is not defined on HURD, and thus CGDB wouldn't compile in that
environment.
* Fixed TGDB bug. Tab completion was broken during cgdb-0.4.0 release.
cgdb-0.4.0 (10/28/2003)
* Added 'wrapscan' option (abbreviated 'ws'). Note that this means that
'ws' no longer means winsplit, since this isn't the standard vi meaning.
Fixed bug where 'n' jumps to the top of file when no search was previously
done.
* Fixed bug in TGDB. It would not return TGDB_ABSOLUTE_SOURCE_DENIED if
TGDB called 'info source' and there was no line that returned the absolute
source path.
* Fixed bug in TGDB. TGDB would not query GDB for breakpoints on startup.
However, the user can set breakpoints in there .gdbinit. TGDB now gets all
breakpoints on startup. This fixes a bug in CGDB. The breakpoint will now
be highlighted.
* Fixed CGDB bug. When searching for text, CGDB would search for the next
occurrence of the string from where it last found an occurrence, rather than
where the users cursor is.
* Fixed crash in TGDB. It would try to parse watchpoints.
It will no longer do this.
* Added new feature. CGDB added the 'set showtgdbcommands' option.
If this is set, CGDB will show all the commands that it is sending
to GDB to get work done. Otherwise, if its not set, CGDB will not show
the user the commands. The default value is off. Although, I currently
have mine set :). After all, you never can be to sure what this
program is doing ...
* Fixed bug in TGDB. TGDB used to return a newline for the front end to
print when a GUI command was issued. This made sure the output of the
command happened on a different line than the prompt. If the user ran
many commands in a row through CGDB, you would see an extra new line
appear. Now TGDB returns a new line when the command is actually given
to GDB, not when the command is issued.
* Fixed bug in TGDB. TGDB would not return the correct file:line if the
user ran a command file through gdb on init and the file instructed gdb
to set a breakpoint and run. CGDB would display line 1 of the correct
file instead of the correct line.
* Fixed bug in TGDB/CGDB. TGDB would return TGDB_UPDATE_SOURCE_FILES when
there was no source files in the list ( ex. if the inferior was compiled
without debug). This would cause CGDB to act buggy when the user tried to
open the filedlg on a program that was not compiled with debug. The first
time you would open the file dialog it would display a blank screen. The
second time it would give you an error but it would put you in the file
dialog mode, even though it displayed the CGDB source window. Both of these
bugs should be fixed.
* Fixed bug in TGDB/CGDB. It was not properly parsing the breakpoint information
out of GDB. When using C++, GDB would output data that TGDB did not expect.
TGDB can now parse the data properly. The result is that CGDB now displays
all of the breakpoints in the source window. It used to not display them all.
cgdb-0.3.4
* Fixed bug in cgdb. If the user hit 'o' in cgdb, then got out of the
file dialog, the next time ^c was typed in the gdb window, the prompt
would not refresh itself properly.
* Fixed ada highlighting bug. String literals were not being highlighted.
* Temporarily fixed the ^c bug. The data at the console is now cleared when
the user hits ^c. A better fix will be arranged for when full signal handling
support is integrated.
* Fixed libinput bug. If the user held down '\n' for a long time, and then
hit any other key, an extra '\n' would come out and then the other key.
This was *very* annoying when holding down the '\n' key to continue nexting.
* Fixed highlighting bug. This ( '\"' ) would start a string literal
in C/C++.
cgdb-0.3.3b
* Fixed string literal bug where files don't highlight properly in C/C++.
cgdb-0.3.3a
* Fixed bug in the file dialog window. It would not accept the enter
key, so the user could never select a file.
cgdb-0.3.3
* Fixed tab bug, where tab spaces were being displayed incorrectly in
the source window. Now cgdb can handle tabs in a file properly.
* Added VI-style page up/page down commands. Deprecated old Shift-J
and Shift-K page up/page down style commands.
* Fixed bug in ada highlighter. The file would not be displayed correctly
when trying to highlight an ada source file.
cgdb-0.3.2
* Fast tokenizer replaces older hand written one. CGDB now can syntax
highlight a 15000+ line ada or c file in fractions of a second compared
to the second it used to take. Believe me, 1 second to load a file
can get frustrating when you wait enough times. :)
* CGDB now reads $HOME/.cgdb/cgdbrc, this is useful for automating
any commands the user would normally type into the status bar.
This is a *great* first attempt at making cgdb configurable.
* There are *many* new options to type into the status bar,
they are all listed in the README file, or from :help, check it out.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。