public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/27045] New: disas namespace::ClassName::~ClassName() name of destructor must equal name of class
@ 2020-12-10 10:44 rafal.grasman at ict dot nl
  2020-12-10 10:47 ` [Bug c++/27045] " rafal.grasman at ict dot nl
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: rafal.grasman at ict dot nl @ 2020-12-10 10:44 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 27045
           Summary: disas namespace::ClassName::~ClassName() name of
                    destructor must equal name of class
           Product: gdb
           Version: 10.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
          Assignee: unassigned at sourceware dot org
          Reporter: rafal.grasman at ict dot nl
  Target Milestone: ---

Whenever I try to execute the following command:

    disas pbamq::SendQueue::~SendQueue()

The message I get:

    name of destructor must equal name of class

The code:


    // send_queue.cxx
    #include "send_queue.hxx"

    // ... other includes

    using namespace pbamq;
    // other using statements

    SendQueue::SendQueue(...) {
      // ...
    }

    SendQueue::~SendQueue() {
      // ...
    }

    // send_queue.hxx
    #pragma once
    // #include's


    namespace pbamq
    {
    class SendQueue : public pbamq::Queue_if, pbamq::messaging_handler
    {
    public:
      SendQueue(...);
      SendQueue() = delete;
      virtual ~SendQueue();
    };
    }

When disassembling the address of the destructor, disassembly works as
expected.

-- 
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 c++/27045] disas namespace::ClassName::~ClassName() name of destructor must equal name of class
  2020-12-10 10:44 [Bug c++/27045] New: disas namespace::ClassName::~ClassName() name of destructor must equal name of class rafal.grasman at ict dot nl
@ 2020-12-10 10:47 ` rafal.grasman at ict dot nl
  2020-12-10 10:53 ` rafal.grasman at ict dot nl
  2020-12-10 10:56 ` rafal.grasman at ict dot nl
  2 siblings, 0 replies; 4+ messages in thread
From: rafal.grasman at ict dot nl @ 2020-12-10 10:47 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from rafal.grasman at ict dot nl ---
Created attachment 13034
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13034&action=edit
cmake project configuration ONLY where this occurs

these are only the settings used to in our project (originally 100k+ files,
vastly reduced and created a minimal setup to test any code bugs we encounter).

-- 
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 c++/27045] disas namespace::ClassName::~ClassName() name of destructor must equal name of class
  2020-12-10 10:44 [Bug c++/27045] New: disas namespace::ClassName::~ClassName() name of destructor must equal name of class rafal.grasman at ict dot nl
  2020-12-10 10:47 ` [Bug c++/27045] " rafal.grasman at ict dot nl
@ 2020-12-10 10:53 ` rafal.grasman at ict dot nl
  2020-12-10 10:56 ` rafal.grasman at ict dot nl
  2 siblings, 0 replies; 4+ messages in thread
From: rafal.grasman at ict dot nl @ 2020-12-10 10:53 UTC (permalink / raw)
  To: gdb-prs

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

rafal.grasman at ict dot nl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rafal.grasman at ict dot nl

-- 
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 c++/27045] disas namespace::ClassName::~ClassName() name of destructor must equal name of class
  2020-12-10 10:44 [Bug c++/27045] New: disas namespace::ClassName::~ClassName() name of destructor must equal name of class rafal.grasman at ict dot nl
  2020-12-10 10:47 ` [Bug c++/27045] " rafal.grasman at ict dot nl
  2020-12-10 10:53 ` rafal.grasman at ict dot nl
@ 2020-12-10 10:56 ` rafal.grasman at ict dot nl
  2 siblings, 0 replies; 4+ messages in thread
From: rafal.grasman at ict dot nl @ 2020-12-10 10:56 UTC (permalink / raw)
  To: gdb-prs

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

rafal.grasman at ict dot nl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor

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

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

end of thread, other threads:[~2020-12-10 10:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-10 10:44 [Bug c++/27045] New: disas namespace::ClassName::~ClassName() name of destructor must equal name of class rafal.grasman at ict dot nl
2020-12-10 10:47 ` [Bug c++/27045] " rafal.grasman at ict dot nl
2020-12-10 10:53 ` rafal.grasman at ict dot nl
2020-12-10 10:56 ` rafal.grasman at ict dot nl

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