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

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

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

cbiesinger at google 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

cbiesinger at google 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

cbiesinger at google dot com
In reply to this post by cbiesinger at google 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.
Reply | Threaded
Open this post in threaded view
|

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

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
Thanks.

*** This bug has been marked as a duplicate of bug 17669 ***

--
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

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

jiangshuaili <lijiang1489 at 163 dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #3 from jiangshuaili <lijiang1489 at 163 dot com> ---
OK, but this may still cause a little trouble for users who used gdb7.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

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

--- Comment #4 from Tom Tromey <tromey at sourceware dot org> ---
To be clear, this was just a duplicate of another bug.
It doesn't mean the bug is really closed, just that the two have
been consolidated.

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