gdb dysfuntional: no output in bash window, no echo

Marco Atzeri marco.atzeri@gmail.com
Thu Jan 21 16:13:50 GMT 2021


please reply to the mailing list

On 21.01.2021 15:39, Tord Andreasson wrote:
> Hi Marco,
> 
> I did not think about that, and I really wonder if that is the root 
> cause behind the issue since the content of bash window remains the 
> same, without any blank lines (or lines using e.g. black text on a black 
> background) added as I type commands, except from when I type quit, then 
> the window returns to the bash prompt.
> 
> Let me try to describe the behavior I experience. The last 3 lines in 
> the bash windows are as follows:
> torda@Tord-desktop/
> $ gdb
> <upon the gdb command gdb starts and at the bottom of the window I get a 
> new blank line. Whatever command I type in gdb, this line remains blank 
> until I type quit, then the window returns to the prompt.>
> torda@ Tord-desktop/
> $
> 
> To change the color settings and have them I guess that I should create 
> a .gdbinit file in the root directory?
> Is there a way to have gdb print the current settings and save on file?
> 
> Cheers
> Tord

also trim and bottom posting are traditional here, please.


the .gdbinit should be under

$HOME/.config/gdb/gdbinit
$HOME/.gdbinit


https://sourceware.org/gdb/current/onlinedocs/gdb/Initialization-Files.html#System-Wide-Init-Files


More information about the Cygwin mailing list