tromey at sourceware dot org
2017-11-17 16:13:23 UTC
https://sourceware.org/bugzilla/show_bug.cgi?id=22455
Bug ID: 22455
Summary: blank line repeats commands even when scripting
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: cli
Assignee: unassigned at sourceware dot org
Reporter: tromey at sourceware dot org
Target Milestone: ---
Try this:
gdb -nx << END
print 23
END
I get this in the output:
(gdb) $1 = 23
(gdb) $2 = 23
The reason is that gdb is repeating the command, due to the blank line.
I think instead gdb should only repeat when the commands are coming
from the tty.
Bug ID: 22455
Summary: blank line repeats commands even when scripting
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: cli
Assignee: unassigned at sourceware dot org
Reporter: tromey at sourceware dot org
Target Milestone: ---
Try this:
gdb -nx << END
print 23
END
I get this in the output:
(gdb) $1 = 23
(gdb) $2 = 23
The reason is that gdb is repeating the command, due to the blank line.
I think instead gdb should only repeat when the commands are coming
from the tty.
--
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.