public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/18363] New: source line echoing on "next" mysteriously turned off
@ 2015-05-01 12:16 jason.vas.dias at gmail dot com
  2015-05-01 20:35 ` [Bug gdb/18363] " sergiodj at redhat dot com
  2015-05-01 20:36 ` sergiodj at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: jason.vas.dias at gmail dot com @ 2015-05-01 12:16 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 18363
           Summary: source line echoing on "next" mysteriously turned off
           Product: gdb
           Version: 7.7
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: jason.vas.dias at gmail dot com
  Target Milestone: ---

With fully up-to-date Ubuntu 14.04.2 LTS @2015-05-01 's GDB 
7.7.1-0ubuntu5~14.04.2 , this sequence of input somehow turned
off echoing of input source lines, and I cannot understand why:

At this point, gdb is still echoing source lines with the 'n' / 'next' command: 
    (gdb) n
    233         if( i == Q_MSG_DURATION )
    (gdb) p (p - &buf[0])
    $20 = 140
    (gdb) p *((char[140]*)buf)
    $21 = "INSERT INTO quantiles VALUES( 1, 2, 0, 3, 2, 18, 419.362526251996 ,
15 , 1 , 469.946678558381 , 1 , 0 , 678.247236170935 , 7.73105044050213 "

But now it isn't - what did I do to turn it off ? Now only the source line
numbers are echoed on 'next' ( there were no intervening input lines between 
the last one shown above and this 'next'):

    (gdb) n
    290
    (gdb) 
    301
    (gdb) 
    293
    (gdb) n
    300
    (gdb) 
    293
    (gdb) 
    299
    (gdb) 
    293

I can't find any setting documented that turns echoing of source lines on or
off on 'next' .

I had previously done :
  (gdb) set print elements 0
to print whole arrays ( I now know I should have used 'set print null-stop
on').
But I can't understand how these settings would have effected source line
echoing or how a few print commands could turn off source line echoing .

Is there a setting that turns source line echoing on 'next' on or off that
I might have inadvertently set ?

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


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

* [Bug gdb/18363] source line echoing on "next" mysteriously turned off
  2015-05-01 12:16 [Bug gdb/18363] New: source line echoing on "next" mysteriously turned off jason.vas.dias at gmail dot com
@ 2015-05-01 20:35 ` sergiodj at redhat dot com
  2015-05-01 20:36 ` sergiodj at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: sergiodj at redhat dot com @ 2015-05-01 20:35 UTC (permalink / raw)
  To: gdb-prs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sergiodj at redhat dot com

--- Comment #1 from Sergio Durigan Junior <sergiodj at redhat dot com> ---
Hi Jason,

A few questions.

1) Does this happen every time you issue the 'set print elements 0' command?

2) Also, what happens when you ask GDB to print the current region, using the
'list' command?

3) Do you have other commands in your $HOME/.gdbinit file?

4) Does this happen with every binary you try to debug?  Are they optimized? 
Do they have debuginfo?

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


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

* [Bug gdb/18363] source line echoing on "next" mysteriously turned off
  2015-05-01 12:16 [Bug gdb/18363] New: source line echoing on "next" mysteriously turned off jason.vas.dias at gmail dot com
  2015-05-01 20:35 ` [Bug gdb/18363] " sergiodj at redhat dot com
@ 2015-05-01 20:36 ` sergiodj at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: sergiodj at redhat dot com @ 2015-05-01 20:36 UTC (permalink / raw)
  To: gdb-prs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

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


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

end of thread, other threads:[~2015-05-01 20:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-01 12:16 [Bug gdb/18363] New: source line echoing on "next" mysteriously turned off jason.vas.dias at gmail dot com
2015-05-01 20:35 ` [Bug gdb/18363] " sergiodj at redhat dot com
2015-05-01 20:36 ` 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).