Discussion:
[Bug cli/23337] New: “edit“ is not accurate
lijiang1489 at 163 dot com
2018-06-25 12:17:54 UTC
Permalink
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.
tromey at sourceware dot org
2018-07-27 09:04:00 UTC
Permalink
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.
jeandidier.garaud at free dot fr
2018-10-30 07:57:23 UTC
Permalink
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.
tromey at sourceware dot org
2018-11-15 10:56:35 UTC
Permalink
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.
Loading...