[Bug cli/23337] New: “edit“ is not accurate

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug cli/23337] New: “edit“ is not accurate

agentzh at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23337

            Bug ID: 23337
           Summary: “edit“ is not accurate
           Product: gdb
           Version: 8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: cli
          Assignee: unassigned at sourceware dot org
          Reporter: lijiang1489 at 163 dot com
  Target Milestone: ---

When i debugging a elf that the PC is at main.c:44, i tried to open the origin
source file using "edit", it return to main.c:49 for current line, not
main.c:44。

I have checked gdb8.1, the function "set_current_sal_from_frame" is diff from
gdb7.2。
Funtion "edit_command" is not changed when arg is NULL, still add
"get_lines_to_list () / 2"。

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug cli/23337] “edit“ is not accurate

agentzh at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23337

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at sourceware dot org

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug cli/23337] “edit“ is not accurate

agentzh at gmail dot com
In reply to this post by agentzh at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23337

Demi-Lune <jeandidier.garaud at free dot fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jeandidier.garaud at free dot fr

--- Comment #1 from Demi-Lune <jeandidier.garaud at free dot fr> ---
This is a duplicate of
https://sourceware.org/bugzilla/show_bug.cgi?id=17669
(where there's a solution)

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