delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/01/21/11:14:36

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E2E49386191C
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1611245636;
bh=Qpub4bCGY2WANmmZp2DShX4gZHVhaPYyZgrGjRfjg+A=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=mbrRELgM8WKZK20FMggtXvT6cBnUsNnbams/gh5QQA7LjIrb6hnNezFAyczJKyH1n
YaRrjoDbL2XrFtr7ojd2fJN1N+zMoK7yqfKk1Z4B+QyiJHKzyBJH1F4EnON7Slrm6P
iumUX6UCJinUDMnDhfGZvXgM3ZjH/W2P8Oxk8X64=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5502C386191C
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:subject:to:references:cc:from:message-id:date
:user-agent:mime-version:in-reply-to:content-language
:content-transfer-encoding;
bh=NIPSqaaBQFgdNmm9x1cPcGxjtW3gv8bBePbag3lN8fU=;
b=aJhe02X9V/dA/8RfHqkXXstV2Zw1ZDS4zAEnSmfmqzyrWPSHmXcagUT/KJzCVxIDh/
5CAszY1ZTqn2MWJJ5fmQmzoWPvlhjnH4N/aWVHpo2UwdBoKXqxB2mFUUoYik/nx3mkm7
O7kmQEXudxm85z2OJAJ3GMcbGrev7j3DBqW9JJzaWYVR2F8XzTUgDg4niXBZooAWu3am
NmogG/Y32e27bK9tzmOt2Rj5wyMFgyEtGHiWYdkvGevJu9neztjygQtuEsFoIwHI/aqG
yuZqj4xjs/8exrbuIjJiZ5uwVKqN2i73BkfjySIfUQllwsrS6ZbMY2ut4SNiLfHflp01
J8JA==
X-Gm-Message-State: AOAM533IkUkRxHPmxQk1LNS6R1CIw0gJeaQrtC2C5U6l70BVFJzfaOgL
IiJm5EQXz4EFRs7uw34wpT0=
X-Google-Smtp-Source: ABdhPJwFJUNXg+AzVnDiS+Y/pZbxpUqdX6Pbn1/jQ9PpIiJ9gHTzA9D0JCl1849YOvA21WiiZLzA3w==
X-Received: by 2002:adf:fb52:: with SMTP id c18mr216199wrs.186.1611245631508;
Thu, 21 Jan 2021 08:13:51 -0800 (PST)
Subject: Re: gdb dysfuntional: no output in bash window, no echo
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
References: <CAM25FTrf2Cs9MB1Qb-H4LJmsigmiQgEzscyS9hZZBRumBeTmDQ AT mail DOT gmail DOT com>
<2a2c2cf5-b83c-8ec7-0e22-c13d2b8fa8fe AT gmail DOT com>
<CAM25FTpDVuu-R=3rP8hLHM6wYWAwxvhg7=5wxwU04=-uKfXvRA AT mail DOT gmail DOT com>
Message-ID: <ed328128-699d-cd13-f38f-b046de92649c@gmail.com>
Date: Thu, 21 Jan 2021 17:13:50 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.6.1
MIME-Version: 1.0
In-Reply-To: <CAM25FTpDVuu-R=3rP8hLHM6wYWAwxvhg7=5wxwU04=-uKfXvRA@mail.gmail.com>
X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Marco Atzeri via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 10LGELtU016115

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 AT 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
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019