public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "rainarchitect at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug breakpoints/14951] New: Once set point appears again in the new session
Date: Thu, 13 Dec 2012 02:32:00 -0000	[thread overview]
Message-ID: <bug-14951-4717@http.sourceware.org/bugzilla/> (raw)

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

             Bug #: 14951
           Summary: Once set point appears again in the new session
           Product: gdb
           Version: 7.5
            Status: NEW
          Severity: minor
          Priority: P2
         Component: breakpoints
        AssignedTo: unassigned@sourceware.org
        ReportedBy: rainarchitect@gmail.com
    Classification: Unclassified


I'm not sure that this is a bug, but please explain the following behavior. I
add a point anywhere and phantom point (added earlier, in another session) hit,
and in each new session. And the hit point have a wrong name.Phantom point
remains even after a reboot. I do not know how there appears such a point, but
I know that it is present in the system now. Slightly more detailed description
of the behavior is on the CodeBlocks forum, where I came from
(http://forums.codeblocks.org/index.php/topic,1823.msg118089.html#msg118089).
Please check first with the log below.

I add a point for the line 47, but hit phantom point at 146. Point at 146 hit
always and does not depend on the number of line in which I add a my real
point.

HSLab Linux64_Debug # /usr/bin/gdb -nx -fullname  -args
/main/rain/dev/RAIN/Platforms/Linux64_Debug/ClientLauncher
GNU gdb (Gentoo 7.5 p1) 7.5
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from
/main/rain/dev/RAIN/Platforms/Linux64_Debug/ClientLauncher...done.
(gdb) break
"/main/rain/dev/src/include/RainCore/Containers/DynamicArray.hpp:47"
No source file named
/main/rain/dev/src/include/RainCore/Containers/DynamicArray.hpp.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1
("/main/rain/dev/src/include/RainCore/Containers/DynamicArray.hpp:47") pending.
(gdb) run
Starting program: /main/rain/dev/RAIN/Platforms/Linux64_Debug/ClientLauncher 
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

2012.12.13 06:05:02.468173 : Запуск ядра
2012.12.13 06:05:02.470649 : Multithread mode: 8/8/8[New Thread 0x7ffff6d61700
(LWP 6532)]
[New Thread 0x7fffeffff700 (LWP 6533)]
[New Thread 0x7ffff645f700 (LWP 6534)]
[New Thread 0x7ffff5c5e700 (LWP 6535)]
[New Thread 0x7ffff545d700 (LWP 6536)]
[New Thread 0x7ffff4c5c700 (LWP 6537)]
[New Thread 0x7fffef7fe700 (LWP 6538)]

2012.12.13 06:05:02.473839 : Launched MasterCore
2012.12.13 06:05:02.475385 : Intercore initialization complete
2012.12.13 06:05:02.540758 : ++ClientGate
2012.12.13 06:05:02.571394 : ++AccountsDatabase
2012.12.13 06:05:02.712264 : ++WorldsServer
2012.12.13 06:05:03.441712 : ++Client[Switching to Thread 0x7ffff4c5c700 (LWP
6537)]

Breakpoint 1, Rain::DynamicArrayImplStack<Rain::Handler*,
Rain::DynamicArrayDefaultBufferStrategy>::end (this=0x7ffff7764fc8) at
../include/RainCore/Containers/DynamicArray.hpp:146
▒▒/main/rain/dev/src/include/RainCore/Containers/DynamicArray.hpp:146:6204:beg:0x7ffff7d2a5ba
(gdb) info breakpoints
Num     Type           Disp Enb Address            What
1       breakpoint     keep y   0x00007ffff7d2a5ba in
Rain::DynamicArrayImplStack<Rain::Handler*,
Rain::DynamicArrayDefaultBufferStrategy>::end() at
../include/RainCore/Containers/DynamicArray.hpp:47
        breakpoint already hit 1 time

-- 
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.


             reply	other threads:[~2012-12-13  2:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-13  2:32 rainarchitect at gmail dot com [this message]
2012-12-13  2:38 ` [Bug breakpoints/14951] " rainarchitect at gmail dot com
2012-12-13  2:38 ` rainarchitect at gmail dot com
2012-12-13  6:15 ` rainarchitect at gmail dot com
2012-12-23 19:57 ` rainarchitect at gmail dot com
2013-04-17 20:27 ` rainarchitect at gmail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-14951-4717@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).