| Summary: | Remote debugging via gdbserver not working | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Massimo Burcheri <burcheri.massimo+bugs-kde> |
| Component: | CPP Debugger | Assignee: | kdevelop-bugs-null |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | niko.sams, pavel, pfyu817 |
| Priority: | NOR | ||
| Version First Reported In: | 5.0.80 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Massimo Burcheri
2017-03-15 09:09:45 UTC
>Then it seems that KDevelop is parsing the gdb STDOUT but fails with >You need gdb 7.0.0 or higher >You are using: Reading symbols from foo... Similar experience with arm-none-eabi-gdb (version 7.6.2) or msp430-elf-gdb (version 7.2). .gdbinit target remote localhost:3333 - for using with openocd or mspdebug in case of msp430 (In reply to Pavel Vymetalek from comment #1) > >Then it seems that KDevelop is parsing the gdb STDOUT but fails with > > >You need gdb 7.0.0 or higher > >You are using: Reading symbols from foo... > > Similar experience with arm-none-eabi-gdb (version 7.6.2) or msp430-elf-gdb > (version 7.2). > > .gdbinit > target remote localhost:3333 > - for using with openocd or mspdebug in case of msp430 I use workaround by this patch --- debuggers/gdb/debugsession.cpp 2017-05-13 12:13:46.000000003 +0200 +++ debuggers/gdb/debugsession.cpp 2017-09-08 14:10:20.847162202 +0200 @@ -289,12 +289,12 @@ qFatal("You need a graphical application."); } - KMessageBox::error( - qApp->activeWindow(), - i18n("<b>You need gdb 7.0.0 or higher.</b><br />" - "You are using: %1", s.first()), - i18n("gdb error")); - stopDebugger(); +// KMessageBox::error( +// qApp->activeWindow(), +// i18n("<b>You need gdb 7.0.0 or higher.</b><br />" +// "You are using: %1", s.first()), +// i18n("gdb error")); +// stopDebugger(); } } Pavel Vymetalek: Want to check whether there's a cleaner approach? Helping hands with KDevelop's GDB support are always needed. Get in touch with us if you like, best to join our IRC channel. https://www.kdevelop.org/contribute-kdevelop |