public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/9307] display command does not work under certain condition.
       [not found] <bug-9307-4717@http.sourceware.org/bugzilla/>
@ 2012-02-02 14:31 ` tromey at redhat dot com
  2012-02-02 14:59 ` cvs-commit at gcc dot gnu.org
  2012-02-02 15:07 ` tromey at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2012-02-02 14:31 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=9307

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at sourceware    |tromey at redhat dot com
                   |dot org                     |

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug gdb/9307] display command does not work under certain condition.
       [not found] <bug-9307-4717@http.sourceware.org/bugzilla/>
  2012-02-02 14:31 ` [Bug gdb/9307] display command does not work under certain condition tromey at redhat dot com
@ 2012-02-02 14:59 ` cvs-commit at gcc dot gnu.org
  2012-02-02 15:07 ` tromey at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2012-02-02 14:59 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=9307

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2012-02-02 14:58:42 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    tromey@sourceware.org    2012-02-02 14:58:33

Modified files:
    gdb            : ChangeLog symtab.c 
    gdb/testsuite  : ChangeLog 
Added files:
    gdb/testsuite/gdb.cp: dispcxx.cc dispcxx.exp 

Log message:
    PR gdb/9307:
    * symtab.c (lookup_language_this): Set block_found.
    gdb/testsuite
    * gdb.cp/dispcxx.exp: New file.
    * gdb.cp/dispcxx.cc: New file.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13800&r2=1.13801
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/symtab.c.diff?cvsroot=src&r1=1.295&r2=1.296
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3054&r2=1.3055
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/dispcxx.cc.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/dispcxx.exp.diff?cvsroot=src&r1=NONE&r2=1.1

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug gdb/9307] display command does not work under certain condition.
       [not found] <bug-9307-4717@http.sourceware.org/bugzilla/>
  2012-02-02 14:31 ` [Bug gdb/9307] display command does not work under certain condition tromey at redhat dot com
  2012-02-02 14:59 ` cvs-commit at gcc dot gnu.org
@ 2012-02-02 15:07 ` tromey at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2012-02-02 15:07 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=9307

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |7.5

--- Comment #3 from Tom Tromey <tromey at redhat dot com> 2012-02-02 15:07:14 UTC ---
Fixed.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug gdb/9307] display command does not work under certain condition.
       [not found] <20061118001801.9307.ching@coware.com>
@ 2010-02-17 19:41 ` tromey at redhat dot com
  0 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2010-02-17 19:41 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From tromey at redhat dot com  2010-02-17 19:41 -------
Still a bug.
I reproduced it with this program:

struct K {
  void method () { }

  int k;

  K() : k(23) { }

  int m2 ()
  {
    k += 7;
    return k;
  }
};

int main() {
  K k;

  k.method();
  return k.m2();
}

I break in m2, then display k.
Then print method()
Then another display k -- this does nothing.

I am not sure about this proposed patch, however.
I don't think block_found should show up in value code, only in symtab code.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at redhat dot com
   Last reconfirmed|0000-00-00 00:00:00         |2010-02-17 19:41:47
               date|                            |


http://sourceware.org/bugzilla/show_bug.cgi?id=9307

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

end of thread, other threads:[~2012-02-02 15:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-9307-4717@http.sourceware.org/bugzilla/>
2012-02-02 14:31 ` [Bug gdb/9307] display command does not work under certain condition tromey at redhat dot com
2012-02-02 14:59 ` cvs-commit at gcc dot gnu.org
2012-02-02 15:07 ` tromey at redhat dot com
     [not found] <20061118001801.9307.ching@coware.com>
2010-02-17 19:41 ` tromey 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).