Bug 27045 - disas namespace::ClassName::~ClassName() name of destructor must equal name of class
Summary: disas namespace::ClassName::~ClassName() name of destructor must equal name o...
Status: UNCONFIRMED
Alias: None
Product: gdb
Classification: Unclassified
Component: c++ (show other bugs)
Version: 10.1
: P2 minor
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-10 10:44 UTC by rafal.grasman
Modified: 2020-12-10 10:56 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
cmake project configuration ONLY where this occurs (48.09 KB, application/x-zip-compressed)
2020-12-10 10:47 UTC, rafal.grasman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rafal.grasman 2020-12-10 10:44:41 UTC
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.
Comment 1 rafal.grasman 2020-12-10 10:47:44 UTC
Created attachment 13034 [details]
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).