public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug cli/16863] New: "set history size unlimited" not working
@ 2014-04-21 22:54 Bjoern at Kautler dot net
  2014-04-22  0:41 ` [Bug cli/16863] " sergiodj at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Bjoern at Kautler dot net @ 2014-04-21 22:54 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=16863

            Bug ID: 16863
           Summary: "set history size unlimited" not working
           Product: gdb
           Version: 7.5
            Status: NEW
          Severity: normal
          Priority: P2
         Component: cli
          Assignee: unassigned at sourceware dot org
          Reporter: Bjoern at Kautler dot net

https://sourceware.org/gdb/current/onlinedocs/gdb/Command-History.html#Command-History
mentions that you can increase the history size to being unbound by invoking
"set history size unlimited". This command is not working though.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug cli/16863] "set history size unlimited" not working
  2014-04-21 22:54 [Bug cli/16863] New: "set history size unlimited" not working Bjoern at Kautler dot net
@ 2014-04-22  0:41 ` sergiodj at redhat dot com
  2014-04-22  0:42 ` sergiodj at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: sergiodj at redhat dot com @ 2014-04-22  0:41 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=16863

Sergio Durigan Junior <sergiodj at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |sergiodj at redhat dot com
         Resolution|---                         |WORKSFORME

--- Comment #1 from Sergio Durigan Junior <sergiodj at redhat dot com> ---
This works for me.

Trying with:

  #> (HISTSIZE=2 ./gdb/gdb)

I see that GDB only keeps 2 commands in the history.  However, if I "set
history size unlimited", it starts keeping more and more commands as I type.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug cli/16863] "set history size unlimited" not working
  2014-04-21 22:54 [Bug cli/16863] New: "set history size unlimited" not working Bjoern at Kautler dot net
  2014-04-22  0:41 ` [Bug cli/16863] " sergiodj at redhat dot com
@ 2014-04-22  0:42 ` sergiodj at redhat dot com
  2014-04-22  1:26 ` Bjoern at Kautler dot net
  2014-04-22  1:42 ` sergiodj at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: sergiodj at redhat dot com @ 2014-04-22  0:42 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=16863

--- Comment #2 from Sergio Durigan Junior <sergiodj at redhat dot com> ---
It is worth noting that I tried our git master HEAD.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug cli/16863] "set history size unlimited" not working
  2014-04-21 22:54 [Bug cli/16863] New: "set history size unlimited" not working Bjoern at Kautler dot net
  2014-04-22  0:41 ` [Bug cli/16863] " sergiodj at redhat dot com
  2014-04-22  0:42 ` sergiodj at redhat dot com
@ 2014-04-22  1:26 ` Bjoern at Kautler dot net
  2014-04-22  1:42 ` sergiodj at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: Bjoern at Kautler dot net @ 2014-04-22  1:26 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=16863

--- Comment #3 from Björn Kautler <Bjoern at Kautler dot net> ---
Ah, ok, then it seems to be fixed in the HEAD.
In my 7.5 version it says "No symbol table loaded. Use the >>file<<-command",
or if started with an executable, "No symbol 'unlimited' in current context.".
So it seems GDB tries to resolve "unlimited" as symbol in the debugee here.
I probably should have posted this along with the report.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From gdb-prs-return-15594-listarch-gdb-prs=sources.redhat.com@sourceware.org Tue Apr 22 01:39:48 2014
Return-Path: <gdb-prs-return-15594-listarch-gdb-prs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-gdb-prs@sources.redhat.com
Received: (qmail 24006 invoked by alias); 22 Apr 2014 01:39:48 -0000
Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <gdb-prs.sourceware.org>
List-Subscribe: <mailto:gdb-prs-subscribe@sourceware.org>
List-Archive: <http://sourceware.org/ml/gdb-prs/>
List-Post: <mailto:gdb-prs@sourceware.org>
List-Help: <mailto:gdb-prs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: gdb-prs-owner@sourceware.org
Delivered-To: mailing list gdb-prs@sourceware.org
Received: (qmail 23975 invoked by uid 48); 22 Apr 2014 01:39:47 -0000
From: "sergiodj at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug cli/16862] C-s is not working
Date: Tue, 22 Apr 2014 01:39:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gdb
X-Bugzilla-Component: cli
X-Bugzilla-Version: 7.5
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sergiodj at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-16862-4717-nUsm05TpMe@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16862-4717@http.sourceware.org/bugzilla/>
References: <bug-16862-4717@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-q2/txt/msg00100.txt.bz2
Content-length: 1141

https://sourceware.org/bugzilla/show_bug.cgi?id\x16862

Sergio Durigan Junior <sergiodj at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |sergiodj at redhat dot com
         Resolution|---                         |WORKSFORME

--- Comment #1 from Sergio Durigan Junior <sergiodj at redhat dot com> ---
C-s is shadowed by the terminal's flow control.  Use "stty" to change this
behavior if you want.  You can use "stty -a" to see all keybindings that are
reserved by the terminal.

In order to "fix" this bug, you can either:

(a) Disable the flow control, by using "stty -ixon"

(b) Rebind the STOP flow control, by using "stty stop ^K", where "^K" means C-k
(you can use whatever key you want).

After that, you will be able to use forward-search-history as usual.  As a side
note, this affects readline programs (like bash), and not GDB alone.

--
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug cli/16863] "set history size unlimited" not working
  2014-04-21 22:54 [Bug cli/16863] New: "set history size unlimited" not working Bjoern at Kautler dot net
                   ` (2 preceding siblings ...)
  2014-04-22  1:26 ` Bjoern at Kautler dot net
@ 2014-04-22  1:42 ` sergiodj at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: sergiodj at redhat dot com @ 2014-04-22  1:42 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=16863

--- Comment #4 from Sergio Durigan Junior <sergiodj at redhat dot com> ---
This has been fixed by bug #15294.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-04-22  1:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-21 22:54 [Bug cli/16863] New: "set history size unlimited" not working Bjoern at Kautler dot net
2014-04-22  0:41 ` [Bug cli/16863] " sergiodj at redhat dot com
2014-04-22  0:42 ` sergiodj at redhat dot com
2014-04-22  1:26 ` Bjoern at Kautler dot net
2014-04-22  1:42 ` sergiodj at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).