Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Splitting debugger in two - specific debugger and common GUI

<< < (130/136) > >>

tomjnx:

--- Quote from: oBFusCATed on January 30, 2012, 06:07:58 pm ---No, I've switched all my energy to gdb/mi plugin. The current plugin is lost battle. It works, but it will never be stable and fast.

--- End quote ---

Where is the gdb/mi plugin, then?

oBFusCATed:
tomjnx: here: svn://smrt.is-a-geek.org/cb_gdb_mi/debbugger_gdbmi

Morten: autotools is the only sensible way to distribute open source software.

About the warning:
Looking at your logs, I can conclude that filtering the warnings is the only way forward. Even if "set debugevents off" was working. If would have been executed at the first breakpoint hit, which may be too late and it could cause the log to be filled with garbage.

Fill free to test the filtering and then post a patch, so I can test it, too.

Edit: I've talked to the gdb people and they suggested filing a bug report in the gdb's bugzilla. Can you do it?

MortenMacFly:

--- Quote from: oBFusCATed on January 30, 2012, 10:33:19 pm ---Morten: autotools is the only sensible way to distribute open source software.

--- End quote ---

--- Quote from: tomjnx on January 30, 2012, 10:24:59 pm ---If you tell me how to compile using C::B without X11 on Linux... Distribution buildservers usually have no X11 8-)

--- End quote ---
Guys, didn't you see the smiley? I know this is not an option. However, it's hard to believe that automake is still an elegant way in the 21st century. But I also don't know a better solution as I am not into Unix/Linux that much.


--- Quote from: oBFusCATed on January 30, 2012, 10:33:19 pm ---Edit: I've talked to the gdb people and they suggested filing a bug report in the gdb's bugzilla. Can you do it?

--- End quote ---
Done, see/subscribe here:
http://sourceware.org/bugzilla/show_bug.cgi?id=13635

MortenMacFly:

--- Quote from: oBFusCATed on January 30, 2012, 10:33:19 pm ---Fill free to test the filtering and then post a patch, so I can test it, too.

--- End quote ---
I looked into it (GDB_driver::ParseOutput) a little and I see this:
   if (!want_debug_events &&
        (output.StartsWith(_T("gdb: ")) ||
        output.StartsWith(_T("Warning: ")) ||
        output.StartsWith(_T("ContinueDebugEvent "))))
    {
        return;
    }

Notice the capital "W" in "Warning: ". Maybe it is as easy as adding another "|| output.StartsWith(_T("warning: "))"... ;-)

oBFusCATed:
Yes, do it test and report if it is working:)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version