lijiang1489 at 163 dot com
2018-06-25 12:17:54 UTC
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"。
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.
You are receiving this mail because:
You are on the CC list for the bug.