aboutsummaryrefslogtreecommitdiff
path: root/elfcpp/mips.h
diff options
context:
space:
mode:
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>2018-08-02 23:13:22 +0200
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>2018-08-28 22:40:59 +0200
commit999700cd99a227bd6848e95cdc99117b2185e84c (patch)
treeafd748493f4e381cef66407523550d782bfa458a /elfcpp/mips.h
parent5fe3f3e4633df1ea76ff24a2732d7c73dc983b90 (diff)
downloadbinutils-999700cd99a227bd6848e95cdc99117b2185e84c.zip
binutils-999700cd99a227bd6848e95cdc99117b2185e84c.tar.gz
binutils-999700cd99a227bd6848e95cdc99117b2185e84c.tar.bz2
Fix regression for multi breakpoints command line clearing.
breakpoint.c is modified to fix the regression introduced when clearing the commands of several breakpoints by giving an empty list of commands, by just typing "end". GDB should read an empty list of command once, but it reads it for each breakpoint, as an empty list of command is NULL, and NULL is interpreted as 'not having read the command list yet'. The fix consists in having a boolean set to true once the command list has been read. gdb/ChangeLog 2018-08-26 Philippe Waroquiers <philippe.waroquiers@skynet.be> * breakpoint.c (commands_command_1): New boolean cmd_read to detect cmd was already read.
Diffstat (limited to 'elfcpp/mips.h')
0 files changed, 0 insertions, 0 deletions