[kdevelop] [Bug 409702] Invalid gdb version check

2023-07-25 Thread Igor Kushnir
https://bugs.kde.org/show_bug.cgi?id=409702

Igor Kushnir  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/kdev
   ||elop/kdevelop/-/commit/a974
   ||c3c66130f9e454de1006a7894e4
   ||002541dd0
 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED
   Version Fixed In||5.12.230800

--- Comment #6 from Igor Kushnir  ---
Git commit a974c3c66130f9e454de1006a7894e4002541dd0 by Igor Kushnir, on behalf
of Denis Biryukov.
Committed on 25/07/2023 at 19:22.
Pushed by igorkushnir into branch 'release/23.08'.

gdb: skip to GDB version string

This change allows to use ~/.gdbinit file with constructions like
`skip -gfi /usr/include/c++/*`.
Problem with current implementation is that when .gdbinit contains such
strings GDB output produced is following:
```
File(s) /usr/include/c++/* will be skipped when stepping.
GNU gdb (Ubuntu 8.2.91.20190405-0ubuntu3) 8.2.91.20190405-git
```
And current implementation expects version on the first output from GDB.

This change fixes it by adding skip functionality during GDB session
initialization.
Related: bug 428688, bug 446786
FIXED-IN: 5.12.230800

M  +29   -15   plugins/gdb/debugsession.cpp

https://invent.kde.org/kdevelop/kdevelop/-/commit/a974c3c66130f9e454de1006a7894e4002541dd0

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdevelop] [Bug 409702] Invalid gdb version check

2023-07-22 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=409702

Bug Janitor Service  changed:

   What|Removed |Added

 Status|REPORTED|ASSIGNED
 Ever confirmed|0   |1

--- Comment #5 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/kdevelop/kdevelop/-/merge_requests/468

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdevelop] [Bug 409702] Invalid gdb version check

2020-11-20 Thread Freddie Witherden
https://bugs.kde.org/show_bug.cgi?id=409702

Freddie Witherden  changed:

   What|Removed |Added

 CC||fred...@witherden.org

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdevelop] [Bug 409702] Invalid gdb version check

2020-01-23 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=409702

--- Comment #4 from pej...@gmail.com ---
(In reply to peje66 from comment #3)
> (In reply to peje66 from comment #2)
> > I also encountered this when adding:
> > skip -gfi /usr/include/*
> > skip -gfi /usr/include/*/*
> > skip -gfi /usr/include/*/*/*
> > skip -gfi /usr/include/*/*/*/*
> > 
> > to .gdbinit. Seems that anything making output in .gdbinit makes this test
> > fail which is annoying.
> 
> Running latest master

A workaround is to put:
show version

as the first line in .gdbinit

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdevelop] [Bug 409702] Invalid gdb version check

2020-01-22 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=409702

--- Comment #3 from pej...@gmail.com ---
(In reply to peje66 from comment #2)
> I also encountered this when adding:
> skip -gfi /usr/include/*
> skip -gfi /usr/include/*/*
> skip -gfi /usr/include/*/*/*
> skip -gfi /usr/include/*/*/*/*
> 
> to .gdbinit. Seems that anything making output in .gdbinit makes this test
> fail which is annoying.

Running latest master

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdevelop] [Bug 409702] Invalid gdb version check

2020-01-22 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=409702

pej...@gmail.com changed:

   What|Removed |Added

 CC||pej...@gmail.com

--- Comment #2 from pej...@gmail.com ---
I also encountered this when adding:
skip -gfi /usr/include/*
skip -gfi /usr/include/*/*
skip -gfi /usr/include/*/*/*
skip -gfi /usr/include/*/*/*/*

to .gdbinit. Seems that anything making output in .gdbinit makes this test fail
which is annoying.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdevelop] [Bug 409702] Invalid gdb version check

2019-07-11 Thread Ivan Stepanov
https://bugs.kde.org/show_bug.cgi?id=409702

--- Comment #1 from Ivan Stepanov  ---
[user@pc ~]$ cat .gdbinit
python 
import sys

sys.path.append('/home/user/.config/Epic/GDBPrinters/')

from UE4Printers import register_ue4_printers
register_ue4_printers(None)
print("Registered pretty printers for UE4 classes")

end

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdevelop] [Bug 409702] Invalid gdb version check

2019-07-10 Thread Ivan Stepanov
https://bugs.kde.org/show_bug.cgi?id=409702

Ivan Stepanov  changed:

   What|Removed |Added

 CC||ivanstepanov...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.